Realtime visitors (Plausible)
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.
Request
Query parameters
site_idstringrequired1–253 characters
Headers
AuthorizationstringrequiredBearer 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": {}
}