# YouTube Channel Playlists

Get playlists created by a YouTube channel.

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

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

## Example request

```bash
#!/bin/bash

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

## Example response

```json
{
    "channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA",
    "playlists": [
        {
            "id": "PLplaylist123",
            "title": "Playlist Title",
            "videoCount": 25,
            "thumbnail": "https://i.ytimg.com/..."
        }
    ],
    "pagination": {
        "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)
