RUM

Get a realtime snapshot for a site

Plausible-style snapshot evaluated against now() — current visitors (last 5 min), uniques + pageviews (30 min), a per-minute visitor timeseries, and top pages/sources/breakdowns.

get/rum/sites/{rumSiteId}/realtime

Request

  • Base URL: https://api.pulsetic.com/api/public
  • URL: https://api.pulsetic.com/api/public/rum/sites/{rumSiteId}/realtime
  • Auth: API key in header Authorization

Path parameters

rumSiteIdinteger required
Example:5

Response

successful operation

current_visitorsinteger
visitors_30minteger
pageviews_30minteger

Example response

{
  "current_visitors": 4,
  "visitors_30m": 52,
  "pageviews_30m": 71,
  "timeseries": [
    {
      "date": 1723190400,
      "visitors": 2
    }
  ],
  "top_pages": [
    {
      "page": "/",
      "visitors": 3
    }
  ],
  "top_sources": [
    {
      "source": "google.com",
      "visitors": 2
    }
  ],
  "breakdown": {
    "country": [
      {
        "label": "US",
        "visitors": 2
      }
    ],
    "browser": [
      {
        "label": "Chrome",
        "visitors": 3
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.