All integrations
Get an API key
Plausible
Privacy-friendly site analytics, aggregates and breakdowns.
Analytics
How an agent reaches it
MCPREST APICLI
How you authenticate
API key
Connection details
- Base URL
- https://plausible.io/api/v1/stats
- Pagination
- none
Common endpoints
| aggregate metrics | GET /aggregate?site_id={domain}&period=30d&metrics=visitors,pageviews |
| breakdown by page | GET /breakdown?site_id={domain}&property=event:page |
| timeseries | GET /timeseries?site_id={domain}&period=30d |
Worth knowing
- Every call needs `site_id` set to the exact domain you registered.
- Self-hosted instances use their own host.