# Statable Stats API Sites API

**Canonical:** https://apis.io/apis/statable-stats-api/statable-stats-api-sites-api/  
**Provider:** Statable Stats API — https://apis.io/providers/statable-stats-api/  
**Base URL:** https://statable.com/api/v1  
**Documentation:** https://statable.com/docs/developers/stats-api/overview/

Statable Stats API Sites API is one of 4 APIs that [Statable Stats API](https://apis.io/providers/statable-stats-api/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Sites. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

Create, change and delete sites (write surface). Requires the `sites:write` scope and the server-side `API_WRITE_ENABLED` flag; the snippet route needs only `read`. See docs/api-v1-write-surface.md §5.

## Operations (21)

| Method | Path | Summary |
|---|---|---|
| POST | `/sites` | Create a site and get its install snippet |
| PATCH | `/sites/{id}` | Change a site's url, timezone or week start |
| DELETE | `/sites/{id}` | Delete a site |
| GET | `/sites/{id}/snippet` | The install tag for a site |
| GET | `/sites/{id}/goals` | The site's goals |
| POST | `/sites/{id}/goals` | Create a goal |
| PUT | `/sites/{id}/goals/{goalId}` | Replace a goal |
| DELETE | `/sites/{id}/goals/{goalId}` | Delete a goal |
| POST | `/sites/{id}/funnels` | Create a funnel |
| PUT | `/sites/{id}/funnels/{funnelId}` | Replace a funnel |
| DELETE | `/sites/{id}/funnels/{funnelId}` | Delete a funnel |
| GET | `/sites/{id}/settings/tracking` | What the installed script collects |
| PUT | `/sites/{id}/settings/tracking` | Set the tracking feature list |
| GET | `/sites/{id}/settings/hostnames` | Hostname allow/block list |
| PUT | `/sites/{id}/settings/hostnames` | Replace the hostname lists |
| GET | `/sites/{id}/settings/blocked-ips` | IP blocklist |
| PUT | `/sites/{id}/settings/blocked-ips` | Replace the IP blocklist |
| GET | `/sites/{id}/settings/countries` | Country allow/block list |
| PUT | `/sites/{id}/settings/countries` | Replace the country lists |
| GET | `/sites/{id}/settings/public-dashboard` | Whether the site's stats are world-readable |
| PUT | `/sites/{id}/settings/public-dashboard` | Publish or unpublish the site's stats |

## Machine-readable artifacts (6)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/statable-stats-api/refs/heads/main/openapi/statable-stats-api-sites-api-openapi.yml
- **ToolCrosswalk** — https://raw.githubusercontent.com/api-evangelist/statable-stats-api/refs/heads/main/mcp/statable-stats-api-tool-crosswalk.yml
- **LLMsTxt** — https://statable.com/llms.txt
- **LLMsTxt** — https://raw.githubusercontent.com/api-evangelist/statable-stats-api/refs/heads/main/llms/statable-stats-api-llms.txt
- **Documentation** — https://statable.com/docs/developers/
- **APIReference** — https://statable.com/docs/developers/stats-api/endpoints/

## Other Statable Stats API APIs (3)

- [Statable Stats API Bootstrap API](https://apis.io/apis/statable-stats-api/statable-stats-api-bootstrap-api/)
- [Statable Stats API Keys API](https://apis.io/apis/statable-stats-api/statable-stats-api-keys-api/)
- [Statable Stats API Stats API](https://apis.io/apis/statable-stats-api/statable-stats-api-stats-api/)

## Tags

Sites

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/statable-stats-api/statable-stats-api-sites-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/statable-stats-api/.
