# YouTube Channel Community

Get community posts from a YouTube channel.

- **Documentation:** [https://scrappa.co/docs/youtube-api/youtube_channel_community](https://scrappa.co/docs/youtube-api/youtube_channel_community)
- **API group:** YouTube API
- **Endpoint:** `GET https://scrappa.co/api/youtube/channel-community`

## 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 |
| --- | --- | --- | --- |
| `channel_id` | string | Yes | YouTube channel ID (alias: channelId) |
| `channelId` | string | Yes | YouTube channel ID (alias: channel_id) |
| `continuation` | string | No | Token for pagination from previous response |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/youtube/channel-community?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA"
```

## Example response

```json
{
    "channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA",
    "posts": [
        {
            "id": "post123",
            "text": "Community post content...",
            "publishedTime": "2 days ago",
            "likeCount": 5000
        }
    ],
    "pagination": {
        "continuationToken": "eyJ...",
        "hasMore": true
    }
}
```

## 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)
