# YouTube: Get a channel

`youtube/channels/get` · version 1.0.0 · pilot · 1 credits a call

A YouTube channel and its About: subscribers, views, videos, the day it joined, its country, its links, its description, avatar and banner.

Categories: Social media

## When to use

You need what a YouTube channel says of itself and how big it is: its subscribers, total views and number of videos, the day it joined, its country, the links it lists (website, socials), its description and keywords, whether it is verified and has a business email, its avatar, banner, tabs and featured video. Name the channel as you have it: its id (UC...), its handle (@name) or the address of any of its pages. For its videos, use youtube/videos/list; to find channels by words, youtube/channels/search.

## Call

```bash
curl https://api.lobstr.io/v2/run \
  -H "Authorization: Bearer $LOBSTR_API_KEY" \
  -H "content-type: application/json" \
  -d '{"source": "youtube", "operation": "channels/get", "options": {"channel": "@MrBeast"}}'
```

It answers:

```json
{"object": "run", "status": "succeeded", "count": 1, "has_more": false, "next": null,
 "cost": {"credits": 1}, "balance": {"credits": 9990}, "results": [...]}
```

`cost` and `balance` are objects: a call's credits are `cost.credits`. `results` holds the records (below).

Beside `options`, the call takes:

| Parameter | Type | Description |
|---|---|---|
| `fields` | array of string | The record fields to keep, by path: inside an object with a dot (`featured_video.id`), in each item of a list with `[]` (`links[].title`, or with a dot: `links.title`); `object`, `id` and `position` always come. Left out: every field. |

## Options

| Option | Type | Required | Default | Description |
|---|---|---|---|---|
| `channel` | string | yes |  | The channel: its id (UC followed by 22 letters, digits, - or _), its handle (@name) or the address of any of its pages (https://www.youtube.com/@name, /channel/UC..., /c/name, /user/name, or a tab's address). A handle or an address is first resolved to the channel's id, as YouTube's app follows a link: no extra credit. |

## Record

Each item of `results`. Every field is always present, `null` when the site gives nothing.

| Field | Type | Description |
|---|---|---|
| `object` | `"channel"` |  |
| `id` | string | The channel's id on YouTube (UC...), which never changes: youtube/videos/list takes it. |
| `url` | string | The channel's page, by its id. |
| `handle` | string | null | The channel's handle (@name), which its owner can change. |
| `handle_url` | string | null | The channel's page, by its handle. |
| `title` | string | null | The channel's name. |
| `description` | string | null | The description, whole, as the channel wrote it. |
| `is_verified` | boolean | Whether YouTube shows its verified badge after the name. |
| `subscribers` | integer | null | The subscribers, rounded as YouTube shows them to everyone ("4.73K subscribers" is 4730, "529M subscribers" 529000000). Null when the channel hides them. |
| `subscribers_text` | string | null | The subscribers as YouTube writes them ("4.73K subscribers"). |
| `views` | integer | null | The views of all the channel's videos, exact. Null when the About says none. |
| `videos` | integer | null | How many videos the channel has published, exact. |
| `joined_on` | string | null (date) | The day the channel joined YouTube, as its About says it to a visitor of the US ("Joined Sep 9, 2013"). |
| `country` | string | null | The country the channel says it is from, its name in English. Null when it says none. |
| `links` | array | The links the About lists, in its order: the channel's website, its socials. |
| `links[].title` | string | null | The name the channel gave the link. |
| `links[].url` | string | null | Where it leads, without YouTube's redirect. |
| `links[].display_url` | string | null | The link as the About writes it (instagram.com/mrbeast). |
| `links[].favicon_url` | string | null | The site's icon, as the About draws it. |
| `has_business_email` | boolean | Whether the channel gives a business email in its About. YouTube shows the email signed in only, behind a reCAPTCHA: the email itself is not given. |
| `keywords` | array of string | The keywords the channel set, one by one. |
| `avatar` | array | The channel's picture in every size YouTube gives, smallest first (900x900 last). |
| `avatar[].url` | string |  |
| `avatar[].width` | integer | null |  |
| `avatar[].height` | integer | null |  |
| `banner` | array | The channel's banner in every size YouTube gives, smallest first. Empty when it has none. |
| `banner[].url` | string |  |
| `banner[].width` | integer | null |  |
| `banner[].height` | integer | null |  |
| `featured_video` | object | null | The video the channel plays at the top of its Home for a visitor (its trailer or a video it chose), when it has one. |
| `featured_video.id` | string | The video's id: youtube/videos/get takes it. |
| `featured_video.url` | string |  |
| `featured_video.title` | string | null |  |
| `featured_video.views` | integer | null | Its views, exact. |
| `featured_video.views_text` | string | null |  |
| `featured_video.published_text` | string | null | When it was published, as YouTube writes it ("4 days ago"). |
| `tabs` | array of string | The channel's tabs, in their order, by the name of their address: home, videos, shorts, live, playlists, posts, podcasts, courses, store... (youtube/videos/list lists videos, shorts and live). |
| `is_family_safe` | boolean | null | Whether YouTube rates the channel family safe. |
| `available_countries` | array of string | The countries where the channel can be watched, as ISO codes (US, FR...), in the order YouTube gives them. |
| `rss_url` | string | null | The channel's feed of its latest videos (Atom). |
| `ids` | object |  |
| `ids.channel_id` | string |  |
| `source_url` | string | The channel's About on youtube.com, as the channel was named. |
| `observed_at` | string (date-time) |  |

Example:

```json
{
  "object": "channel",
  "id": "UCa1B2c3D4e5F6g7H8i9J0kL",
  "url": "https://www.youtube.com/channel/UCa1B2c3D4e5F6g7H8i9J0kL",
  "handle": "@acmekitchen",
  "handle_url": "https://www.youtube.com/@acmekitchen",
  "title": "Acme Kitchen",
  "description": "Weeknight dinners, sourdough and holiday baking, from our kitchen in Portland. New videos every Tuesday and Friday.",
  "is_verified": true,
  "subscribers": 248000,
  "subscribers_text": "248K subscribers",
  "views": 31462087,
  "videos": 412,
  "joined_on": "2016-04-12",
  "country": "United States",
  "links": [
    {
      "title": "Recipes",
      "url": "https://www.acmekitchen.com/",
      "display_url": "acmekitchen.com",
      "favicon_url": "https://encrypted-tbn1.gstatic.com/favicon-tbn?q=tbn:ANd9GcAcmeKitchen"
    },
    {
      "title": "Instagram",
      "url": "https://www.instagram.com/acmekitchen/",
      "display_url": "instagram.com/acmekitchen",
      "favicon_url": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcInstagram"
    }
  ],
  "has_business_email": true,
  "keywords": [
    "cooking",
    "recipes",
    "baking",
    "sourdough",
    "weeknight dinners"
  ],
  "avatar": [
    {
      "url": "https://yt3.googleusercontent.com/AcmeKitchenAvatar=s72-c-k-c0x00ffffff-no-rj",
      "width": 72,
      "height": 72
    },
    {
      "url": "https://yt3.googleusercontent.com/AcmeKitchenAvatar=s900-c-k-c0x00ffffff-no-rj",
      "width": 900,
      "height": 900
    }
  ],
  "banner": [
    {
      "url": "https://yt3.googleusercontent.com/AcmeKitchenBanner=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
      "width": 1060,
      "height": 175
    },
    {
      "url": "https://yt3.googleusercontent.com/AcmeKitchenBanner=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
      "width": 2560,
      "height": 424
    }
  ],
  "featured_video": {
    "id": "Qx7aB2cD9eF",
    "url": "https://www.youtube.com/watch?v=Qx7aB2cD9eF",
    "title": "Sourdough for beginners: the whole bake, start to finish",
    "views": 18264,
    "views_text": "18,264 views",
    "published_text": "3 days ago"
  },
  "tabs": [
    "home",
    "videos",
    "shorts",
    "live",
    "playlists",
    "posts"
  ],
  "is_family_safe": true,
  "available_countries": [
    "US",
    "CA",
    "GB",
    "FR",
    "DE"
  ],
  "rss_url": "https://www.youtube.com/feeds/videos.xml?channel_id=UCa1B2c3D4e5F6g7H8i9J0kL",
  "ids": {
    "channel_id": "UCa1B2c3D4e5F6g7H8i9J0kL"
  },
  "source_url": "https://www.youtube.com/@acmekitchen/about",
  "observed_at": "2026-12-03T12:00:00Z"
}
```

## Price

1 credit a call, one channel and its About. A handle or an address costs no more than an id. A channel that does not exist and a failed call are free.

## Errors

| Code | Status | Retry | Message |
|---|---|---|---|
| `ip_blocked` | 503 | yes | YouTube slowed down the IPs the call tried (429). Retry in a minute; failed calls are free. |
| `invalid_channel` | 422 | no | `channel` is a YouTube channel: its id (UCX6OQ3DkcsbYNE6H8uQQuVA), its handle (@MrBeast) or the address of its page (https://www.youtube.com/@MrBeast). |
| `channel_not_found` | 404 | no | YouTube has no such channel: no channel at this handle or address, or an id YouTube says does not exist (or a channel it closed). Not charged. |
| `site_unavailable` | 503 | yes | YouTube did not answer properly; retry later (not charged). |
| `unexpected_answer` | 424 | no | YouTube answered in a shape we do not read yet; we are told and fix it (not charged). |
| `missing_api_key` | 401 | no | No API key: send it as `Authorization: Bearer <key>`. |
| `invalid_api_key` | 401 | no | The key is not valid, or not anymore. |
| `insufficient_credits` | 402 | no | The call costs more credits than are left. |
| `unknown_operation` | 404 | no | No such source and operation in the catalog. |
| `timeout` | 408 | yes | The call did not finish within its deadline (not charged). |
| `invalid_body` | 422 | no | The body is not a call: source, operation, options. |
| `invalid_options` | 422 | no | An option is missing or out of its contract; `param` names it. |
| `invalid_idempotency_key` | 400 | no | The Idempotency-Key header is not printable ASCII, or too long. |
| `concurrency_limit` | 429 | yes | The plan's calls at a time are all in progress (Free 1, Starter 2, Pro 10, Team 50); retry when one has finished (not charged, never queued). |
| `service_busy` | 503 | yes | Too many calls at once on the account; retry in a few seconds. |
| `balance_unavailable` | 503 | yes | The balance could not be read; retry in a few seconds. |

## Changelog

- **1.0.0** (2026-12-03): First version: a channel by its id, handle or address, with its About in one call: subscribers, views, videos, the day it joined, its country, links, description, keywords, verified badge, whether it has a business email, avatar, banner, tabs and featured video.

Schema: https://api.lobstr.io/v2/catalog/youtube/channels/get · All operations: https://api.lobstr.io/v2/catalog.md
