API · YouTube
GET /youtube/channels/{channel}
A YouTube channel: about, subscriber, video and view counts, country, links, join date.
| |
|---|
| Request | GET /v1/youtube/channels/{channel} |
| Operation id | youtube.channel.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A YouTube channel: about, subscriber, video and view counts, country, links, join date.
| Name | Type | Required | Description |
|---|
channel | string | yes | A channel id (UC…), a handle with or without the @, or any channel URL (/@handle, /channel/UC…, /c/name, /user/name). Example: @MrBeast. |
| Name | Type | Required | Description |
|---|
language | string | no | ISO 639-1 language code (en, es, pt-BR). Example: en. |
| Status | Meaning | Schema |
|---|
200 | The channel. | YouTubeChannel |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The video, channel, playlist or post does not exist, was removed, or has nothing there. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | YouTube is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
kind | "youtube#channel" | |
id | string | |
snippet | object | |
statistics | object | |
brandingSettings | object | |
contentDetails | object | |
status | object | |
isVerified | boolean | |
links | YouTubeChannelLink[] | The links on the channel’s about panel. |
emails | string[] | Addresses written in the channel description. The address behind “View email address” needs a signed-in visitor and is never read. |
tabs | string[] | The tabs the channel shows: Videos, Shorts, Live, Playlists, Posts, Podcasts… |
Errors use one shape everywhere; see Errors for every code and what to do.