fastmon Docs
Analytics

List the visitors of the window, 5 minutes by default

Fehler melden

The visitors seen in the window, 5 minutes by default, each by their newest pageview.

Read from live_beacons, every beacon of the last three hours ordered by time, so a poll reads the window and not the site's day. A snapshot with no cursor: each response stands alone. meta.next_poll_ms sets the cadence.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <token>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

Pfad-Parameter

org_id*Org Id
Formatuuid

Request-Body

application/json
  1. body

The scope and the window of the live view.

filters?

Optional filters

window_seconds?LiveWindow

Length of the window, which ends now

Default300
Value in30090018003600
limit?Limit

Most visitors returned, the ones seen last are kept

Range1 <= value <= 2000
Default500

Response-Body

Successful Response

application/json
  1. response

The visitors on the floor, newest first, with the count behind them.

meta*

Facts about the result

request*

The request as the server resolved it

data*array<>

One row per visitor, by last_seen_at descending, at most meta.limit

visitor_count*Visitor Count

Distinct visitors in the window, every one counted at any sampling rate. The same number as meta.total, and above meta.limit the list is cut

POST
/organizations/{org_id}/analytics/live
curl -X POST 'https://api.fastmon.eu/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics/live' \  -H 'Content-Type: application/json' \  -d '{}'
{  "meta": {    "execution_time_ms": 0,    "total": 0,    "limit": 0,    "offset": 0,    "has_more": true,    "next_cursor": "string",    "sampling": {      "sampling_rate": 0,      "is_sampled": true,      "estimated_metrics": [        "string"      ]    },    "is_identity_mixed": true,    "next_poll_ms": 0,    "bot_visitors": 0,    "stitchless_site_ids": [      "69469e5a-8ce7-4bbc-8031-8525fff71fc6"    ]  },  "request": {    "time_range": {      "from": "2019-08-24T14:15:22Z",      "to": "2019-08-24T14:15:22Z"    },    "comparison_time_range": {      "from": "2019-08-24T14:15:22Z",      "to": "2019-08-24T14:15:22Z"    },    "granularity": "minute",    "identity": "stitch",    "window_seconds": 0,    "filters": {}  },  "data": [    {      "visitor_id": "string",      "page_type": "string",      "checkout_stage": "cart",      "device_type": "desktop",      "country": "string",      "asn": 0,      "isp": "string",      "started_at": "2019-08-24T14:15:22Z",      "last_seen_at": "2019-08-24T14:15:22Z",      "status": "active",      "bot_class": "bot",      "lcp": 0,      "referrer_source": "string"    }  ],  "visitor_count": 0}