Skip to main content
V2 Preview — This pagination model is part of the V2 API preview. Breaking changes may occur.

Overview

The V2 API uses cursor-based pagination (Relay-style) instead of offset-based pagination. Cursors provide stable, consistent results even when data is being added or removed between requests.

Pagination Parameters

Default page size is 20 items. Maximum is 100.
You cannot combine first with last, or after with before, in the same request.

Response Format

All paginated endpoints return a pageInfo object alongside the data:

Forward Pagination

Fetch the first page, then use endCursor to get the next:

Backward Pagination

Use last and before to paginate backwards:

Full Iteration Example

Python Example