Skip to content
Website API / Plausible compatibility

Timeseries (Plausible)

GEThttps://<your Reveata origin>/api/v1/stats/timeseries

Plausible's GET /api/v1/stats/timeseries: one row per date (or hour, week, month) in the website's timezone.

Related: Aggregate (Plausible) and Breakdown (Plausible) in Plausible compatibility.

Try in playground

Request

Query parameters

site_idstringrequired

1–253 characters

periodstringoptional

Up to 16 characters

datestringoptional

Up to 32 characters

fromstringoptional

Up to 10 characters

tostringoptional

Up to 10 characters

metricsstringoptional

Up to 512 characters

filtersstringoptional

Up to 4096 characters

intervalstringoptional

Up to 16 characters

Headers

Authorizationstringrequired

Bearer followed by a site key, an account token or an OAuth access token with the analytics:read scope.

Response

`{ results: [{ date, <metric>… }] }` (no envelope).

{
  "openapi": "3.1.0",
  "info": {},
  "paths": {}
}

Response fields

FieldTypeDescription
results(object<string, string | number>)[]