# YouTube Channel Info

Get channel information including subscriber count, video count, and description.

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

## 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?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA"
```

## Example response

```json
{
    "id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
    "name": "MrBeast",
    "description": "SUBSCRIBE FOR A COOKIE!",
    "subscriberCount": "467M subscribers 948 videos",
    "videoCount": "Unavailable",
    "viewCount": "Unavailable",
    "thumbnail": "https://yt3.googleusercontent.com/...",
    "banner": "https://yt3.googleusercontent.com/...",
    "country": "US",
    "verified": 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)
