Analytics API
Overview Stats
Section titled “Overview Stats”Get high-level metrics for your workspace.
Endpoint
Section titled “Endpoint”GET /api/v1/analytics/overviewParameters
Section titled “Parameters”| Param | Type | Default |
|---|---|---|
| period | string | 7d |
| start_date | date | - |
| end_date | date | - |
Response
Section titled “Response”{ "success": true, "data": { "visitors": 12500, "pageviews": 45000, "sessions": 18000, "bounce_rate": 42.5, "avg_session_duration": 185 }}Time Series
Section titled “Time Series”GET /api/v1/analytics/timeseriesTop Pages
Section titled “Top Pages”GET /api/v1/analytics/pagesTraffic Sources
Section titled “Traffic Sources”GET /api/v1/analytics/sourcesGeography
Section titled “Geography”GET /api/v1/analytics/geo