Status API › Analytics
Get a page's visitor analytics
Views, visitors, feed reads and AI requests per day, and the top routes,
products, referrers, countries, devices, feeds and AI agents. Counts are
cookieless and first-party. The range is whole UTC days, from and to
inclusive, by default the last 30 days, at most 366.
Permission (API-key scope): status:page:read.
Authorization
bearerAuth(status:page:read)apiKeyHeader(status:page:read)
Parameters
Path parameters
pageIDstring (uuid) requiredThe status page's id (a UUID).
Query parameters
fromstring (date)First UTC day (YYYY-MM-DD).tostring (date)Last UTC day (YYYY-MM-DD), inclusive. Default today.
Responses
200
The analytics.
dataPageAnalytics requiredShow PageAnalytics properties
fromstring (date)tostring (date)enabledbooleanWhether the page collects analytics now.totalsobjectviewsintegervisitorsintegerfeed_readsintegerai_requestsintegersubscribers_confirmedinteger
seriesarray of objectdaystring (date)viewsintegervisitorsinteger
routesarray of objectroutestringviewsinteger
productsarray of objectproductstringviewsinteger
referrersarray of objecthoststringviewsinteger
countriesarray of objectcodestringviewsinteger
devicesarray of objectdevicestringviewsinteger
feedsarray of objectkindstringcountinteger
aiarray of objectkindstringcountinteger
ai_agentsarray of objectagentstringcountinteger
successboolean required
400
from/to is not a date, from is after to, or the range is longer than 366 days (VALIDATION_ERROR).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
404
No such item, or one the caller cannot see (NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
Example request
curl -X GET 'https://evohub.io/api/v1/pages/3f6c2a1e-8b4d-4f7a-9c21-5d0e7a9b1c42/analytics' \
-H 'Authorization: Bearer <TOKEN>'