Run a report for a public page or share token
POST/ v1/ public/ {share}/ query
No sign-in. The body of F1, limited to what the share allows; answers may be a minute old, and each viewer is counted once a month.
Path parameters
share
A page's subdomain, id (
shr_…) or active custom domain, or a share token (st_…).Body
measures
Measure names from the schema: visitors, visits, pageviews, bounce_rate, …
breakdown
filters
A dimension matching any of up to 20 values, or
or, a list of such filters (not nested). Filters in a list are ANDed; up to 20 in all. goal matches the names of the project's saved goals an event reaches (is_not: none of them); page_group matches the name of the first of the project's saved page groups whose pattern the event's path matches (empty when none does); new_returning is New or Returning.Show 4 fieldsHide fields
dimension
A dimension's name; keyed ones take a key:
props.plan.operator
isis_notcontainsnot_containsstarts_withregexvalues
or
date_range
A preset, or
from and to as dates (2026-11-01, whole days in the project's time zone, to included) or RFC 3339 times (to excluded). Empty means the last 30 days. A range starting before the first day the plan keeps (retention_days of F47: the last N days, today included, in the project's time zone) starts on that day instead: the answer's date_range shows where it starts, and F1, F2 and the public queries add a range_clamped warning. A range wholly before it is empty.Show 3 fieldsHide fields
preset
todayyesterday7d30d90dthis_monthlast_monththis_yearallfrom
to
granularity
A time step;
auto picks it from the range's length.hourdayweekmonthautocompare
previous_period, previous_year, or from and to.Show 3 fieldsHide fields
preset
previous_periodprevious_yearfrom
to
compare_filters
A second segment beside the first: the comparison (
compare rows) runs these filters instead of filters, over the same range, or over compare's range when both are given. An empty list is every visitor.Show 4 fieldsHide fields
dimension
A dimension's name; keyed ones take a key:
props.plan.operator
isis_notcontainsnot_containsstarts_withregexvalues
or
goal
What counts as a conversion, a page or an event with optional property conditions; any custom event when left out. With a goal,
revenue and average_order_value count only the goal's events.Show 3 fieldsHide fields
type
pageeventvalue
A path (with * for any part) or an event name.
conditions
With type event, property tests the event must pass, all of them (
plan is pro).Show 3 fieldsHide fields
property
operator
isis_notcontainsstarts_withvalue
attribution
Which visit's source, channel and campaign a visitor's events count for.
last_touch (the default): the visit each event happened in. first_touch: the visitor's first visit in the range. A visitor id lasts one day, so attribution stays within the day.last_touchfirst_touchlimit
100 rows by default, 10,000 with a time step.
Responses
The report.
data
One result row:
time (an ISO time in UTC) when there is a time step, each breakdown dimension by name (text), and each measure by name (a number).compare
One result row:
time (an ISO time in UTC) when there is a time step, each breakdown dimension by name (text), and each measure by name (a number).date_range
A resolved range [from, to) in UTC.
Show 2 fieldsHide fields
from
A time in UTC, ISO 8601.
to
A time in UTC, ISO 8601.
compare_range
A resolved range [from, to) in UTC.
Show 2 fieldsHide fields
from
A time in UTC, ISO 8601.
to
A time in UTC, ISO 8601.
granularity
The time step used, when there is one.
hourdayweekmonthwarnings
What the numbers leave out. Only present when there is something to say.
Show 4 fieldsHide fields
code
missing_exchange_raterange_clampedmessage
currencies
retention_days
With
range_clamped: the days the plan keeps.Example response
1{2"data": [3{4"key": "string"5}6],7"compare": [8{9"key": "string"10}11],12"date_range": {13"from": "2026-11-21T09:30:00Z",14"to": "2026-11-21T09:30:00Z"15},16"compare_range": {17"from": "2026-11-21T09:30:00Z",18"to": "2026-11-21T09:30:00Z"19},20"granularity": "hour",21"warnings": [22{23"code": "missing_exchange_rate",24"message": "Revenue in AED is left out: there is no exchange rate to INR for it.",25"currencies": [26"AED"27],28"retention_days": 3029}30]31}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
password_required | |
not_shared | |
stats_paused | |
validation_error | |
not_found | |
share_expired | |
share_disabled |