Request
Use thepage query parameter to navigate through pages:
Response format
Paginated responses includedata, links, and meta fields:
Fields
| Field | Description |
|---|---|
data | Array of resources for the current page |
links.first | URL to the first page |
links.last | URL to the last page (may be null) |
links.prev | URL to the previous page, or null if on the first page |
links.next | URL to the next page, or null if on the last page |
meta.current_page | Current page number |
meta.from | Index of the first item on this page |
meta.to | Index of the last item on this page |
meta.per_page | Number of items per page |
Iterating through pages
To fetch all results, follow thelinks.next URL until it returns null: