Skip to content

CSV export

GET /api/export/:siteId

Everything the current view is showing, under the same filters: the summary, the time series, then every breakdown at up to 500 rows each.

GET /api/export/6f2b1e7c-…?range=30d&country=DE
acme.com-30d-2026-09-16.csv
# acme.com — Last 30 days (Europe/Berlin)
# filters: country=DE
Section,Name,Value
Summary,Unique visitors,4812
Summary,Pageviews,11934
Summary,Visits,6201
Summary,Bounces,3477
Summary,Bounce rate %,56.07
Summary,Avg visit seconds,84
Summary,Views per visit,1.92
Summary,Revenue EUR,1894.00
Series,2026-08-18T00:00:00,412
Series pageviews,2026-08-18T00:00:00,1021
Page,/,3190
Page,/pricing,884
Entry page,/,2904
Referrer,Direct / none,2841

Two comment lines carry the site, the range label, the timezone and the active filters. Then one flat Section,Name,Value table.

The sixteen sections, in order:

Page Entry page Exit page Referrer UTM source UTM medium Campaign
Country Region City Language Browser OS Device Screen Event

Filename: <domain>-<range>-<YYYY-MM-DD>.csv.

GET /api/export/6f2b1e7c-…?mode=sessions&range=7d&converted=1&sort=revenue&dir=desc

One row per visit, up to 5000, under the same slice the Sessions screen is showing — including its quick chips and its search box, which the breakdown export knows nothing about.

23 columns:

acme.com-visits-7d-2026-09-16.csv
Started,Ended,Visitor,Identified,Entry,Exit,Referrer,UTM source,Campaign,Country,Region,City,Language,Browser,OS,Device,Screen,Pageviews,Events,Bounce,Seconds,Revenue,Session id
2026-09-16T17:02:11Z,2026-09-16T17:09:44Z,3f9a17c2d84b0e65,ada@acme.com,/pricing,/checkout/success,google.com,google,launch,DE,Berlin,Berlin,de-DE,Chrome,macOS,desktop,1512x842,4,2,no,453,49.00,7b1e…
Column Notes
Started, Ended ISO 8601 with Z
Visitor The daily hash
Identified A trait value, when the visitor left one
Events Non-pageview hits
Bounce yes / no
Seconds Session duration, rounded
Revenue What the visit’s revenue events reported in the site currency, in major units

Filename: <domain>-visits-<range>-<YYYY-MM-DD>.csv.

Parameter Mode Values
range both the nine range keys
any filter key both
mode sessions for visits mode
sort sessions started, duration, pageviews, events, revenue
dir sessions asc, desc
q sessions search term
converted, bounced, paid, returning sessions 1

Both responses are text/csv; charset=utf-8 with content-disposition: attachment and cache-control: no-store. Values containing ", , or a newline are quoted, with " doubled.

The download icon in the topbar exports whatever you are looking at. On any Sessions URL it adds mode=sessions for you and drops the open drawer.

Export is hidden on Realtime, Ask, Journeys, Goals, Funnels, Retention and the single-session page.