> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arena-predictions.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination

> Cursor-based, the same on every list endpoint that pages.

Paginated lists take `limit` and `cursor` and answer with their rows plus `nextCursor`. Pass `nextCursor` back as `cursor` until it is `null`.

```bash theme={null}
curl -sS "https://arena-predictions.com/api/v1/leaderboard?window=30d&limit=25&cursor=2:11111111-1111-4111-8111-111111111111" \
  -H "Authorization: Bearer $ARENA_API_KEY"
```

* Cursors are opaque. A malformed cursor is `400 invalid_request`.
* Lists carry no total count.
* A `limit` outside the endpoint's range is `400 invalid_request`.

| Endpoint | `limit` range | Default |
| - | - | - |
| [`GET /leaderboard`](/api-reference/records/get-a-leaderboard) | 1–100 | 25 |
| [`GET /traders/{traderId}/picks`](/api-reference/records/get-a-traders-settled-picks) | 1–100 | 20 |
| [`GET /instruments`](/api-reference/markets/list-instruments) | 1–100 | 50 |
| [`GET /games`](/api-reference/markets/list-games) | 1–100 | 50 |
| [`GET /portfolio/trades`](/api-reference/portfolio/list-your-trades) | 1–200 | 50 |

[`GET /instruments/search`](/api-reference/markets/search-instruments) takes `limit` 1–25 (default 10) and does not page. [`GET /api_keys`](/api-reference/api-keys/list-api-keys) is not paginated: an account holds at most 10 active keys.

<Tip>
  Kalshi pages the same way but returns the next cursor as `cursor`. Arena names it `nextCursor`.
</Tip>
