Breakdown (Plausible)
Plausible's GET /api/v1/stats/breakdown: the metrics per value of property (event:page, visit:source, visit:country, event:goal, event:props:<name>…), with limit and page.
Related: Aggregate (Plausible) and Timeseries (Plausible) in Plausible compatibility.
Request
Query parameters
site_idstringrequired1–253 characters
periodstringoptionalUp to 16 characters
datestringoptionalUp to 32 characters
fromstringoptionalUp to 10 characters
tostringoptionalUp to 10 characters
metricsstringoptionalUp to 512 characters
filtersstringoptionalUp to 4096 characters
propertystringrequired1–200 characters
limitintegeroptional1 to 1000 · Default: 100
pageintegeroptional1 to 10000 · Default: 1
Headers
AuthorizationstringrequiredBearer followed by a site key, an account token or an OAuth access token with the analytics:read scope.
Response
`{ results: [{ <property>, <metric>… }] }` (no envelope).
{
"openapi": "3.1.0",
"info": {},
"paths": {}
}Response fields
| Field | Type | Description |
|---|---|---|
| results | (object<string, string | number>)[] |