> For the complete documentation index, see [llms.txt](https://docs.dexpal.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dexpal.io/for-partners/schemas/pagination.md).

# Pagination

All paginated endpoints return a `pagination` object at the top level of the response alongside `data`.

## Schema

| Field     | Type    | Description                                         |
| --------- | ------- | --------------------------------------------------- |
| `limit`   | integer | Number of items requested per page.                 |
| `offset`  | integer | Number of items skipped from the start.             |
| `total`   | integer | Total number of items available.                    |
| `hasMore` | boolean | `true` if more items exist beyond the current page. |

## Example

```json
{
  "pagination": {
    "limit": 100,
    "offset": 0,
    "total": 432,
    "hasMore": true
  }
}
```

## Query Parameters

Paginated endpoints accept the following query parameters:

| Param    | Type    | Default | Description                         |
| -------- | ------- | ------- | ----------------------------------- |
| `limit`  | integer | 100     | Max items to return. Capped at 500. |
| `offset` | integer | 0       | Number of items to skip.            |

## Example Request

```
GET /dexpal/v1/rewards?from=2026-02-01T00:00:00Z&to=2026-02-01T23:59:59Z&limit=500&offset=0
```
