Skip to Content
fastmon Docs
Visitors

List visitors

Report an issue

List visitors with summary stats, grouped by the resolved identity (stitch - preferred - or session).

Each row is one visitor: page count, duration, device info, average performance, the visit's pageviews as journey and its outcome. Cursor paginated, ordered by (start_time DESC, id DESC). The full pageview record of one visitor is /visitors/detail.

Requires: analytics:read, held by every role.

Authorization

headerAuthorizationBearer <fm_… / fmo_…>

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.

Path Parameters

org_id*Org Id

An ID, a UUID in lowercase with hyphens.

Formatuuid

Request Body

application/json
  1. body

Request for the visitors list.

Cursor-paginated; always ordered by (start_time DESC, id DESC). Clients that want to re-sort do so over the loaded rows client-side.

time_range*

Time range for the query

filters?

Optional filters

timezone?|

IANA time zone the local hours of filters.hour_of_day are read in, such as Europe/Berlin. The filter requires it. This route buckets nothing, so the zone changes nothing else

sparse_buckets?|

The sparse threshold of the page, the number POST /analytics/sparse-hours derives. With exclude the rows of the thin hours are left out. Without it the route only echoes the number in meta.sparse_buckets

identity?|

Identifier to group visitors by: 'stitch' or 'session'. Null → the application's default (stitch preferred).

visitor_filters?

Post-aggregation filters (page count, duration, errors, avg LCP)

search?|

Search by visitor ID

limit?Limit

Max visitors to return

Range1 <= value <= 100
Default50
cursor?|

Opaque pagination cursor

Response Body

Successful Response

application/json
  1. response
meta*

Facts about the result

request*

The request as the server resolved it

data*array<>
POST
/organizations/{org_id}/analytics/visitors
Example Request
curl -X POST 'https://api.fastmon.eu/organizations/019d8b65-a109-76c7-9f4a-bda57a7ab21d/analytics/visitors' \  -H 'Content-Type: application/json' \  -d '{  "time_range": {    "from": "2026-04-14T09:50:01Z",    "to": "2026-04-14T09:50:01Z"  }}'
Example Response
{  "meta": {    "execution_time_ms": 0,    "limit": 0,    "has_more": true,    "next_cursor": "string",    "sampling": {      "rate": 0,      "is_sampled": true,      "estimated_metrics": [        "string"      ]    },    "is_identity_mixed": true,    "complete_until": "2026-04-14T09:50:01Z",    "sparse_buckets": {      "min_pageviews": 0,      "excluded_hour_count": 0    }  },  "request": {    "time_range": {      "from": "2026-04-14T09:50:01Z",      "to": "2026-04-14T09:50:01Z"    },    "comparison_time_range": {      "from": "2026-04-14T09:50:01Z",      "to": "2026-04-14T09:50:01Z"    },    "granularity": "minute",    "identity": "stitch",    "window_seconds": 0,    "filters": {},    "url_param_key": "string"  },  "data": [    {      "visitor_id": "string",      "identity": "stitch",      "started_at": "2026-04-14T09:50:01Z",      "ended_at": "2026-04-14T09:50:01Z",      "duration_ms": 0,      "page_count": 0,      "country": "string",      "asn": 0,      "isp": "string",      "browser": "string",      "browser_version": "string",      "device_type": "desktop",      "os": "string",      "avg_lcp": 0,      "avg_fcp": 0,      "error_count": 0,      "journey": [        {          "page_type": "string",          "checkout_stage": "cart",          "duration_ms": 0,          "error_count": 0,          "arrival": {            "arrival_type": "string",            "traffic_source": "string",            "traffic_medium": "string",            "utm_campaign": "string"          }        }      ],      "is_journey_truncated": false,      "outcome": "string",      "order_revenue": [        {          "currency": "string",          "value": 0,          "order_count": 0,          "average_order_value": 0        }      ]    }  ]}