Skip to content
Website API / Plausible compatibility

Realtime visitors (Plausible)

GEThttps://<your Reveata origin>/api/v1/stats/realtime/visitors

Plausible's GET /api/v1/stats/realtime/visitors: the number of visitors on the website right now, as a bare number.

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

Try in playground

Request

Query parameters

site_idstringrequired

1–253 characters

Headers

Authorizationstringrequired

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

Response

A number (no envelope).

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