Statable Stats API Sites API

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

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 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/statable-stats-api:statable-stats-api-sites-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

statable-stats-api-sites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Statable Stats Sites API
  version: 1.0.0
  description: Read-only public analytics API for Statable.
servers:
- url: https://statable.com/api/v1
  description: Production
- url: https://dev.statable.com/api/v1
  description: Development
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/statable-stats-api/refs/heads/main/openapi/statable-stats-api-sites-api-openapi.yml