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

# Pagination

> Cursor-based pagination for list endpoints.

## How it works

All list endpoints return paginated results using cursor-based pagination.

### Query parameters

| Parameter | Type    | Default | Description                                      |
| --------- | ------- | ------- | ------------------------------------------------ |
| `limit`   | integer | 50      | Number of items per page (max 200)               |
| `cursor`  | string  | —       | Cursor from the previous response's `nextCursor` |

### Response format

```json theme={null}
{
  "ok": true,
  "data": {
    "items": [...],
    "nextCursor": "eyJ..."
  }
}
```

When `nextCursor` is `null`, there are no more pages.

### Example

```bash theme={null}
# First page
curl -sS "https://api.ledger.so/v1/transactions?limit=10" \
  -H "Authorization: Bearer $LEDGER_API_KEY"

# Next page
curl -sS "https://api.ledger.so/v1/transactions?limit=10&cursor=eyJ..." \
  -H "Authorization: Bearer $LEDGER_API_KEY"
```
