REST API
The REST API gives you the same data as the MCP server, as JSON over HTTPS, for scripts, dashboards and your own tools. It's read only.
Authentication
Create an API key under Settings → API & MCP (see Create an API key) and send it in the Authorization header of every request:
curl -H "Authorization: Bearer YOUR_API_KEY" https://app.strabber.com/api/v1/sites
All addresses start with https://app.strabber.com/api/v1.
Responses and errors
A successful response has status 200 and the result under data:
{
"data": { ... }
}
When something goes wrong, the response has an error status and an error with a code and a message:
{
"error": {
"code": "invalid_arguments",
"message": "Some arguments are not valid",
"fields": { "date_from": ["The date from field is required."] }
}
}
| Status | Code | Meaning |
|---|---|---|
| 401 | unauthenticated |
The key is missing, wrong or deleted. |
| 404 | site_not_found, recording_not_found, issue_not_found, funnel_not_found, not_found |
It doesn't exist, or the key can't read it. |
| 422 | invalid_arguments and others |
A parameter is missing or not valid. fields says which. |
| 429 | too_many_requests |
Over the rate limit. Wait the number of seconds in the Retry-After header. |
| 500 | server_error |
Something went wrong on our side. Try again later. |
Dates and limits
- Most endpoints need a period:
date_fromanddate_to, bothYYYY-MM-DD, withdate_toincluded. A period can be at most 366 days. - Dates are in UTC. Add
timezone, such asEurope/Berlin, to use another timezone. - Each key can make up to 60 requests a minute and 10,000 a day, shared with the MCP server.
- IDs of sites, recordings, events, funnels and trends are strings such as
pvn7LjJaqk. Issues use their ID, such asIS-2026-001. - Recordings and issues include a
urlthat opens them in Strabber.
Endpoints
List sites
GET /sites
The sites the key can read, with their id, name, domain and project.
Statistics
GET /sites/{site}/statistics?date_from=&date_to=
The totals of the period (visits, page views, recordings, bounce rate, script errors, rage clicks, dead clicks, U-turns, events and averages), the same totals for the period of the same length before it, visits per day, and the top pages, countries, devices, browsers and the pages with the most errors and frustration.
Recordings
GET /sites/{site}/recordings?date_from=&date_to=
Recordings of the period, newest first, with the total that match. Optional parameters:
search: text found in the URLs, browser, country or AI summary titlefilters: conditions that must all match, as a JSON array such as[{"name":"device","condition":"equal","input":"smartphone"}]name:aiOutcome(completed,abandonedorunclear),aiTitle,duration(seconds),pagesCount,rageClicks,deadClicks,uTurns,scriptErrors,consoleErrors,frustrationScore,activityScore(0 to 10),device(desktop,tabletorsmartphone),browserName,osName,country(ISO code),landingPageURL,exitPageURL,pageURL,sourceURL,utmSource,utmCampaign,utmMediumorevent(an event ID)condition:equal,notEqual,contains,notContains,startsWith,endsWith,greaterThan,lessThan,emptyornotEmpty
sort: sorts from the highest byid,duration,pagesCount,rageClicks,deadClicks,uTurns,scriptErrors,frustrationScoreoractivityScorelimit: 1 to 20, 10 by defaultpage: the page of results, from 1
GET /sites/{site}/recordings/{recording}/summary
The recording and its AI summary in report, or null when it doesn't have one yet.
Events
GET /sites/{site}/events
Your events with their id, name, nature and how many times each was called.
Trends
GET /sites/{site}/trends
Your saved trends.
POST /sites/{site}/trends/run
Counts events or page views over time without saving anything. Send a JSON body:
{
"date_from": "2026-11-01",
"date_to": "2026-11-30",
"series": [
{ "type": "event", "event": "EoPy3zNLlw" },
{ "type": "page", "url_condition": "contains", "url": "/pricing" }
],
"metric": "total",
"interval": "week"
}
series: 1 to 5. Aneventseries takes the event's ID and optionalpropertiesconditions; apageseries takesurl_condition(equal,notEqual,contains,notContains,startsWith,notStartsWith,endsWithornotEndsWith) andurl.metric:total(calls or views),visitorsorsessionsinterval:day,weekormonthbreakdown: a property of the event to split a single event series by
Funnels
GET /sites/{site}/funnels
Your saved funnels with their steps.
POST /sites/{site}/funnels/run
Runs a funnel without saving it. Send funnel_id to run a saved funnel, or 2 to 10 steps:
{
"date_from": "2026-11-01",
"date_to": "2026-11-30",
"steps": [
{ "type": "page", "url_condition": "contains", "url": "/product" },
{ "type": "event", "event_id": "EoPy3zNLlw" },
{ "type": "page", "url_condition": "contains", "url": "/checkout" }
],
"count_by": "sessions",
"device": "all"
}
count_by:sessionsorvisitorsdevice:all,desktop,tabletorsmartphone
The result has how many sessions or visitors reached each step and stopped there, with a few of their recordings.
Issues
GET /sites/{site}/issues?date_from=&date_to=
Issues that happened in the period, with how often and to how many visitors, their priority and AI triage. Optional parameters:
status:open(default),resolvedorignoredsort:count(default),last_seen,priorityorvisitorssearch: text in the message or script, or an issue IDlimit: 1 to 25, 10 by defaultpage: the page of results, from 1
GET /sites/{site}/issues/{issue}?date_from=&date_to=
One issue in detail: its counts in the period, occurrences per day, the pages, browsers, devices and countries where it happens most, its latest occurrences, and its AI analysis in ai_explanation if it has one.