Skip to main content
Every Data API collection returns its rows a page at a time. Each response carries a cursor for the next page, and you send it back as page to read on.

The page parameter

The cursor is opaque. Send it back exactly as you received it. It isn’t an offset or a row number, so you can’t build one yourself. All forty-seven collections accept page. One answers 501 today, so its response has no page object: GET /ledger-entries. To read on, send the cursor as ?page=<next>, using the value of page.next from the last response.

The page object

When next is absent, you have read the whole collection.

Freshness of a page

Every page carries its own as_of and computed_at, as described on the API reference. Where a collection’s as_of comes from a declared anchor, as_of_anchor says how the page’s timestamp was set. rows_stamped gives how many rows the page’s date was worked out over. It is 0 only when basis is empty_collection. The contract sets no page size or row order. A page today holds up to: These sizes may change. Read on until page.next is absent rather than counting rows. Each page you read counts against your key’s limits.

Example

A request for the next page of segments, and its response. Example data, with most columns left out.

API reference

The forty-seven collections and their shared rules.

Versions

How the Data API version moves.

Segment object

The segment values and their meanings.