Principles
Pagination
Best practices on handling pagination in the API.
Many of the API endpoints support cursor-based pagination. When a page is requested, the response will include cursors for the next and previous page of results.
Using cursors
If present, the next_cursor
and previous_cursor
values can be used to
request the next and previous page of results by passing the cursor
query
parameter with the value of either cursor.
Page limits
Any of the APIs that support cursor pagination also support the limit
query
parameter to control the number of items returned. Check the reference
documentation for each endpoint for the range of limit values allowed.
Was this page helpful?