GET under https://crispstats.com/api/v1, authenticated with a secret API key, and every response is JSON. To send events from your server instead, see server-side events.
You can try it right now without a key: the public demo site, demo, answers anonymous requests.
Make your first request
1
Call the demo site
Ask for the last seven days of key metrics. No key is needed for The response states the period it covers, the metrics, and a one-sentence
demo:summary with the headline figures already formatted. The demo numbers change every day; the shape stays the same:2
Create an API key
In the dashboard, open the workspace page (Workspace in the account menu, or Team and API keys below a site’s settings tabs), and under API keys select Create key. Keep the Read scope. The key starts with
cs_sk_ and is shown once, so store it in a secret manager or an environment variable. Owners and admins can create keys. See authentication.3
List your sites
Send the key as a bearer token. The site id is also the segment after
GET /sites returns every site the key can read, with the id you use in every other path:/app/ in your dashboard URL. imported describes history the site imported from Plausible, or is null.4
Read your own site
Replace
demo with your site id and keep the header:Base URL and scope
The API is read-only. It cannot create sites, goals, funnels or keys, and it cannot send events. To send events from a server, use the collector with a key that has the Events scope.
A
GET to a path under /api/v1 that is not an endpoint answers 404 not_found in the same JSON envelope.
Units and conventions
Every endpoint follows the same rules, so you can parse responses without special cases:
Metrics that support comparison come as
{ "value", "previous", "change" }. Lists are capped in rows: each endpoint’s limits are in query parameters.
Endpoints
Every path below is relative tohttps://crispstats.com/api/v1. Each one has its own page with parameters and a live playground in the Endpoints group of this tab.
The demo site
demo is a public site with generated data. Without a key you can call GET /sites (which lists only demo) and every /sites/demo/… endpoint, up to 500 requests a day and 10 every 10 seconds. Any other site id without a key returns 401 unauthorized. The demo exists so the examples in these docs run as written; build on your own site with a key.
Other interfaces
The REST API is one of three ways to read or send data:- The MCP server at
https://crispstats.com/api/mcpexposes the same reports as read-only tools for AI assistants. - The collector at
https://in.crispstats.comreceives events from the script and from your server. The REST API cannot write data: to send custom events, revenue oridentifycalls from your backend, use server-side events, aPOSTto the collector with a secret key that has the Events scope. - Alert webhooks push signed JSON to your endpoint when an alert fires.
Next steps
Authentication
Create a key, send it as a bearer token and understand 401, 403 and 404.
Query parameters
Date ranges, comparison, filters, granularity and pagination.
Rate limits
Daily allowance per plan, burst limit and the headers to watch.