# Collection Posts

Fetch TikTok posts from a collection.

- **Documentation:** [https://scrappa.co/docs/tiktok/tiktok_collections_posts](https://scrappa.co/docs/tiktok/tiktok_collections_posts)
- **API group:** TikTok API
- **Endpoint:** `GET https://scrappa.co/api/tiktok/collections/posts`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `collection_id` | string | Yes | TikTok collection identifier. |
| `count` | integer | No | Number of videos to return. |
| `cursor` | string | No | Pagination cursor from a previous response. Omit for the first page. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/tiktok/collections/posts?collection_id=7394627756635573022&count=10&cursor=0"
```

## Example response

```json
{
    "code": 0,
    "msg": "success",
    "data": []
}
```

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
