YouTube API

YouTube Channel API

Channel overview by handle or channelId: title, description, subscriber and video counts, banner.

POST/v1/run/youtube.channel
Uptime
98.75%
30d · 797 calls
Requests
867
30d · weekly, last 12 wks
Response
3.9s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "found": true,
  "data": {
    "channelId": "UCBJycsmduvYEL83R_U4JriQ",
    "handle": "@mkbhd",
    "title": "Marques Brownlee",
    "description": "Quality Tech Videos.",
    "subscribers": 19600000,
    "videoCount": 1680,
    "viewCount": 4120000000,
    "country": "US",
    "bannerUrl": "https://yt3.googleusercontent.com/mkbhd-banner.jpg"
  }
}
Response interface
interface YoutubeChannelResponse {
  data: {
    avatarUrl: string;
    channelId: string;
    description: string;
    subscribers: number;
    title: string;
    videos: number;
    views: number;
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/youtube.channel
curl -X POST https://api.getanyapi.com/v1/run/youtube.channel \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"@mkbhd"}'
FieldTypeExample value
Request body
channelIdstringYouTube channel ID (UC...).
handlestring"@mkbhd"YouTube channel handle.
Response
foundbooleantrue
dataobject
data.channelIdstring"UCBJycsmduvYEL83R_U4JriQ"
data.handlestring"@mkbhd"
data.titlestring"Marques Brownlee"
data.descriptionstring"Quality Tech Videos."
data.subscribersnumber19600000
data.videoCountnumber1680
data.viewCountnumber4120000000
data.countrystring"US"
data.bannerUrlstring"https://yt3.googleusercontent.com/mkbhd-banner.jpg"
Price
Price per requestUSD$0.0005
Price /1k reqUSD$0.50

FAQ

About the YouTube Channel API

The AnyAPI YouTube Channel API returns YouTube channel data as normalized JSON from one POST call to /v1/run/youtube.channel. Channel overview by handle or channelId: title, description, subscriber and video counts, banner. AnyAPI routes each request across 3 sources and falls back automatically when one fails. It costs from $0.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 98.7% of YouTube channel calls through AnyAPI succeeded, with a median response time of 3.9 seconds across 797 measured calls.

It costs from $0.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Channel overview by handle or channelId: title, description, subscriber and video counts, banner. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 98.7% of YouTube channel calls through AnyAPI succeeded, with a median response time of 3.9 seconds across 797 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.