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

# Pagination and querying

> Paginate, sort, and expand list responses.

## Offset pagination

Most collection endpoints accept `limit` and `offset`:

| Parameter | Default | Notes |
| - | - | - |
| `limit` | `50` | Usually capped at `200`. Each endpoint's reference page shows its own limits. |
| `offset` | `0` | Number of rows to skip |

```bash theme={null}
curl "https://beta.creatorcore.co/api/v2/creators?limit=100&offset=200" \
  -H "Authorization: Bearer $CREATORCORE_API_KEY"
```

Many list endpoints return a `total`. On some, such as `GET /api/v2/creators`, you have to ask for it with `include_total=true`, because counting large rosters is expensive.

> [!NOTE]
>
> Discovery endpoints and some Collect and Stories feeds use **cursor pagination** instead. Pass the cursor from each response to get the next page. The endpoint's reference page shows the parameter names.

## Sorting

Pass `sort` with a field name. Prefix it with `-` for descending order. Repeat `sort` to sort by more than one field:

```
GET /api/v2/creators?sort=-tiktok_followers&sort=name
```

## Expanding fields with `include`

To keep list responses small, some fields are left out by default. Ask for them with `include`, either repeated or comma-separated:

```
GET /api/v2/creators?include=rating,birthday,location
GET /api/v2/creators?include=detail
```

Each endpoint's reference page lists its `include` values.

## Multi-value filters

ID filters such as `ids`, `tag_ids`, and `exclude_tag_ids` take a comma-separated list:

```
GET /api/v2/creators?tag_ids=8b1e…,c42d…
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.