Skip to content
Website API / Realtime

Visitors online now

GEThttps://<your Reveata origin>/api/v1/websites/{website}/realtime

People active in the last few minutes, with the top pages, countries, referrers, channels and devices. Counts only: no visitor ids or names.

Related: Online count in Realtime.

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

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

Realtime snapshot.

{
  "status": "string",
  "data": {
    "online": 0,
    "windowMinutes": 0,
    "generatedAt": "2026-01-01T00:00:00.000Z",
    "pages": [
      {
        "value": "string",
        "visitors": 0
      }
    ],
    "countries": [
      {
        "value": "string",
        "visitors": 0
      }
    ],
    "referrers": [
      {
        "value": "string",
        "visitors": 0
      }
    ],
    "channels": [
      {
        "value": "direct",
        "visitors": 0
      }
    ],
    "devices": [
      {
        "value": "desktop",
        "visitors": 0
      }
    ]
  }
}

Response fields

FieldTypeDescription
status"ok"
dataobject
data.onlineinteger
data.windowMinutesinteger
data.generatedAtstring (date-time)
data.pagesobject[]
data.pages[].valuestring
data.pages[].visitorsinteger
data.countriesobject[]
data.countries[].valuestring
data.countries[].visitorsinteger
data.referrersobject[]
data.referrers[].valuestring
data.referrers[].visitorsinteger
data.channelsobject[]
data.channels[].valuestring
data.channels[].visitorsinteger
data.devicesobject[]
data.devices[].valuestring
data.devices[].visitorsinteger