api-referenceGET
GEThttps://analytics.flowsery.com/api/v1/realtime

Fetch the number of currently active visitors on your site (those with activity within the last 5 minutes).

Bearer Token (API key)

Notes

Realtime data reflects visitors who have been active within the past 5 minutes. This endpoint is optimized for frequent polling and uses shorter cache durations. Date range filters are not supported -- it always returns current activity.
Example request (curl)
curl --request GET \
  --url https://analytics.flowsery.com/api/v1/realtime \
  --header 'Authorization: Bearer <api-key>'
200
{
  "status": "success",
  "data": [
    {
      "visitors": 42
    }
  ]
}