Pagination
The Capital Check In API uses cursor-based pagination for endpoints that return lists of resources.Pagination Parameters
When making requests to endpoints that support pagination, you can use the following query parameters:| Parameter | Type | Description |
|---|---|---|
limit | integer | Number of items to return (default: 20, max: 100) |
cursor | string | Cursor for pagination (returned in previous response) |
Example Request
Response Format
Paginated responses include pagination metadata:Pagination Metadata
| Field | Type | Description |
|---|---|---|
hasMore | boolean | Whether there are more items available |
nextCursor | string | Cursor for the next page (null if no more pages) |
total | integer | Total number of items (if available) |
Best Practices
- Use appropriate
limitvalues based on your needs - Always check
hasMorebefore making additional requests - Store the
nextCursorfor subsequent requests - Handle cases where
nextCursoris null (end of results)