Pagination Parameters
Maximum number of items per page (read-only, varies by operation)
Page number to retrieve (defaults to 1)
Pagination Headers
Each response includes headers to help you navigate:URL for the next page — follow this exactly
URL for the previous page — follow this exactly
How to iterate pages
- Use
page
parameter to navigate (e.g.,?page=1
,?page=2
) X-Pagination-Previous
header is available for backward navigation- You can jump to specific page numbers directly
Best practice: Always follow the
X-Pagination-Next
header as-is and stop when it’s no longer present: you reached the last page!Pagination Example
1
1. Make the initial request
Use the
page
parameter to start fetching the first page of results (this is the default).2
2. Check the response headers
Examine the response headers to find pagination info:
X-Pagination-Previous
:null
(first page) or URL for previous pageX-Pagination-Next
: URL for next page ornull
if last page
3
3. Fetch the next page
Use the URL from
X-Pagination-Next
or manually increment the page:4
4. Continue until done
Repeat until the
X-Pagination-Next
header is no longer present, meaning you’ve reached the last page.