Pagination
The Caesar API uses page-based pagination to handle large result sets efficiently. All list endpoints follow a consistent pagination pattern that makes it easy to retrieve results page by page.
How it works
When requesting data from list endpoints, you can control the amount of data returned using two simple parameters:
page
: Which page of results to retrieve (starts at 1)limit
: How many items per page (1-200, default is 10)
Supported endpoints
Pagination is available on the following endpoints:
Request parameters
The page number to retrieve (1-based indexing).
- Default: 1
- Minimum: 1
- Example:
page=3
retrieves the third page of results
The number of items to return per page.
- Default: 10
- Range: 1–200
- Example:
limit=25
returns 25 items per page
Tip: Start with the default values and adjust based on your needs. Larger page sizes mean fewer API calls but larger response payloads.
Response format
All paginated responses return your data wrapped in a consistent structure:
Understanding the response
The data
field
Contains an array of the items for the current page. If you request a page beyond the available data, this returns an empty array.
The pagination
field
Provides context about where you are in the result set: