# Pagination

URL: https://www.agencytitan.com/docs/tag/pagination

List endpoints use offset pagination via the `limit` (1-200, default 50) and `offset` (default 0) query parameters, alongside `sort` and `order`. Request the next page by advancing `offset` by `limit`.

```bash
curl "https://api.agencytitan.com/v1/clients?limit=50&offset=0" \
  -H "Authorization: Bearer at_your_api_key_here"
```

```javascript
const res = await fetch(
  "https://api.agencytitan.com/v1/clients?limit=50&offset=0",
  { headers: { Authorization: "Bearer at_your_api_key_here" } },
);
const data = await res.json();
```

```python
import requests

res = requests.get(
    "https://api.agencytitan.com/v1/clients",
    params={"limit": 50, "offset": 0},
    headers={"Authorization": "Bearer at_your_api_key_here"},
)
data = res.json()
```

A list response carries the `data` array plus a `pagination` object with the `total` count. Single-item endpoints return `{ "data": { ... } }` with no `pagination`.

**Pagination response**

```json
{
  "data": [ ... ],
  "pagination": {
    "total": 120,
    "limit": 50,
    "offset": 0
  }
}
```

## Operations

_This tag has no REST operations (guide / concept page)._

## Useful links

- Interactive page: https://www.agencytitan.com/docs/tag/pagination
- API reference home: https://www.agencytitan.com/docs/
- This page as Markdown: https://www.agencytitan.com/docs/tag/pagination.md
- Full API Markdown: https://api.agencytitan.com/v1/llms.txt
