Skip to content

Pagination

The report lists (pages, entry and exit pages, landing pages, referrers, countries, devices…) are read page by page, over the whole period, with an exact total. The dashboard, the API and the MCP server use the same contract.

Add them to GET /v1/reports/content, GET /v1/reports/acquisition or GET /v1/metrics/breakdown. Without list, the response is the report as before.

Parameter Meaning
list The list to read. Content: pages, entry_pages, exit_pages. Acquisition: landing_pages, referrers, and the Campagnes lists.
limit Page size, 1 to 2,000 (25 when absent). list_limit sets the page size alone when limit also sizes the head of the report.
offset Rank of the first row, from 0. offset + page size is at most 10,000.
sort A measure of the list, or value (alphabetical). Default: the main measure of the list, descending, ties broken by the value.
order asc or desc.
search 2 to 100 characters contained in the value or the title, case-insensitive, accents significant.
Terminal window
curl -H "Authorization: Bearer $POMELO_TOKEN" \
"https://api.pomeloanalytics.com/v1/reports/content?site_id=SITE&from=2026-11-01&to=2026-11-30&list=pages&limit=25&offset=25"

The page is in current.lists.<list>, next to the arrays of the report:

{
"current": {
"lists": {
"pages": {
"rows": [
{
"value": "/pricing",
"title": "Pricing",
"measures": {
"pageviews": 412,
"page_visits": 380,
"entries": 120,
"exits": 90
}
}
],
"next_offset": 50,
"total_rows": 183,
"totals": {
"pageviews": 5120,
"page_visits": 4210,
"entries": 2100,
"exits": 1900
},
"other": {
"pageviews": 3300,
"page_visits": 2700,
"entries": 1500,
"exits": 1100
}
}
}
}
}
  • next_offset is the offset of the next page, null on the last one.
  • total_rows is the exact number of rows after masking and search; null when the ranking is proven by the head and the rest is not counted.
  • totals is the total of the whole list. other is totals minus the rows of ranks 1 to offset + page size; it is null with a search.
  • With compare=prev_period, each row carries previous: the same value in the previous period. The current period decides the ranking and the page.
  • Pages whose list needs the full report (include=full, the default when list is given) are not served with a client space (tenant_id).

GET /v1/metrics/breakdown accepts list for the list of its dimension: device → devices, referrer → referrers, page → pages, browser → browsers, os → systems, country → countries. It is read on the whole site: filters and tenant_id are refused. rows[].value is the main measure of the list (pageviews for pages, visits for the others, metric must then be absent, pageviews for pages or sessions for the others) and page carries next_offset, total_rows, totals and other.

The masking rules of the reports apply to every row, to totals and to other. A count from 1 to 9 is null, read « < 10 », never zero. The lists that keep the threshold of ten (cities, raw referring domains, Campagnes) never return, count or find a value under ten visits; when the hidden part is not empty and under ten, other is null (« < 10 »), not 0. The lists of the whole site without filter (pages, countries, devices…) are exact from 1.

Code Status Cause
INVALID_PARAMS 422 Unknown list for this route, sort outside the list, offset + page size above 10,000.
LIST_TOO_LARGE 422 The list is too long to be sorted or searched over this period: reduce the period.
LIST_UNAVAILABLE 409 The list is not served for this request (client space, filtered view, Campagnes option missing).

get_report and get_breakdown take list, offset, sort, order and search. A page holds 50 rows at most (limit, 20 by default); read the next one with next_offset.