# Get Channel

Fetch metadata for a YouTube channel.

- Platform: [YouTube](https://docs.upscrape.com/docs/platforms/youtube)
- Capability ID: `youtube.channel.get`
- Cost: 1 credit per request
- Maximum runtime: 60 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "url": "https://www.youtube.com/@MrBeast"
  },
  "capability": "youtube.channel.get"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string` | Yes | YouTube channel URL, handle, or channel ID |

### Example input

```json
{
  "url": "https://www.youtube.com/@MrBeast"
}
```

## Response

Successful output is returned in `results[0].data`. Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This redacted fixture is an example, not a fixed response schema.

```json
{
  "available_countries": [
    "RU",
    "TJ",
    "AT"
  ],
  "available_tabs": [
    "Home",
    "Videos",
    "Shorts"
  ],
  "avatar": [
    {
      "height": 900,
      "url": "https://yt3.googleusercontent.com/[redacted:token]=s900-c-k-c0x00ffffff-no-rj",
      "width": 900
    }
  ],
  "channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
  "description": "SUBSCRIBE FOR A COOKIE!\nNew MrBeast or MrBeast Gaming video every single Saturday at noon eastern time!\nAccomplishments:\n- Raised $20,000,000 To Plant 20,000,000 Trees\n- Removed 30,000,000 pounds of trash from the ocean\n- Helped 2,000 people walk again\n- Helped 1,000 blind people see\n- Helped 1,000 deaf people hear\n- Built wells in Africa\n- Built and gave away 100 houses\n- Adopted every dog in a s…",
  "external_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
  "is_family_safe": true,
  "keywords": "mrbeast6000 beast mrbeast Mr.Beast mr",
  "rss_url": "https://www.youtube.com/feeds/videos.xml?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA",
  "title": "MrBeast",
  "url": "https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA",
  "vanity_url": "http://www.youtube.com/@MrBeast"
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `available_countries` | `array` | 3 items |
| `available_countries` | `array` | 3 items |
| `available_tabs` | `array` | 3 items |
| `available_tabs` | `array` | 3 items |
| `avatar` | `array` | 1 items |
| `avatar` | `array` | 1 items |
| `channel_id` | `string` | UCX6OQ3DkcsbYNE6H8uQQuVA |
| `description` | `string` | SUBSCRIBE FOR A COOKIE! New MrBeast or MrBeast Gaming video every singl… |
| `external_id` | `string` | UCX6OQ3DkcsbYNE6H8uQQuVA |
| `is_family_safe` | `boolean` | true |
| `keywords` | `string` | mrbeast6000 beast mrbeast Mr.Beast mr |
| `rss_url` | `string` | https://www.youtube.com/feeds/videos.xml?channel_id=UCX6OQ3DkcsbYNE6H8u… |
| `title` | `string` | MrBeast |
| `url` | `string` | https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA |
| `vanity_url` | `string` | http://www.youtube.com/@MrBeast |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
