Skip to main content

Visitor Timeseries

Daily visitor timeseries for your handle page. Historical days cached 24h; today refreshed every 60s. Premium only.

GET
/visitors/timeseries
x-api-key<token>

API key used for authentication

In: header

Query Parameters

period?string

Time window. Presets: today, yesterday, last24h, last7d, last30d, last90d, wtd, month. Custom: custom:YYYY-MM-DD:YYYY-MM-DD

Default"last30d"

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/visitors/timeseries"
{
  "points": [
    {
      "date": "2024-01-14",
      "visitors": 120,
      "pageviews": 340,
      "visits": 150
    },
    {
      "date": "2024-01-15",
      "visitors": 145,
      "pageviews": 410,
      "visits": 180
    }
  ]
}
{
  "error": "string",
  "code": "string",
  "details": {}
}