Pagination
Learn how to page through lists of data returned by the API.
Cursor & Offset Pagination
hexCore primarily uses offset-based pagination via limit and page query parameters. When fetching large lists of data (like transaction histories or customer lists), you should leverage these parameters to control response size.
| Parameter | Default | Description |
|---|---|---|
page | 1 | The page number to retrieve. |
limit | 20 | The number of items to return per page. Max 100. |
Paginated Response
JSON
{
"status": true,
"data": [ ... ],
"meta": {
"total_items": 142,
"total_pages": 8,
"current_page": 1,
"limit": 20
}
}