Catalog

YouTube API

Channels, videos and transcripts from YouTube as clean JSON: resolve by handle, channel id, URL or video id. Pay per request in real dollars, no quota juggling.

Endpoints20Providers15From · video$0.53/1k req · OwlFull breakdownRead docs
Uptime
99.81%
30d · 1,500,390 calls
Requests
1.5M
30d · weekly, last 12 wks
Response
3.9s
median · 30d
POST

Video

Most used
/v1/run/youtube.videoyoutube.video
Full video or Short metadata by URL or id: title, description, channel, view/like counts and publish date.
726,221 /mo
â–²1954.2%
99.88%
3776ms p50
7
from$0.53/1k req
Owl
POST

Search

/v1/run/youtube.searchyoutube.search
Search YouTube and get matching videos: title, channel, view count, length and publish time.
312,319 /mo
â–²192.2%
100.00%
2039ms p50
6
from$0.28/1k req
Owl
POST

Video transcript

/v1/run/youtube.video_transcriptyoutube.video_transcript
Caption transcript for a video or Short by URL or id, with start/end timestamps per segment.
261,663 /mo
â–²397.1%
100.00%
7138ms p50
7
from$0.76/1k req
Tiger
POST

Channel videos

/v1/run/youtube.channel_videosyoutube.channel_videos
List the regular videos on a channel’s Videos tab by handle or channelId with cursor pagination: title, views, length and publish time. Shorts are not included.
62,116 /mo
â–²350.9%
99.83%
1326ms p50
5
from$0.66/1k req
Tiger
POST

Channel

/v1/run/youtube.channelyoutube.channel
Channel overview by handle or channelId: title, description, subscriber and video counts, banner.
38,180 /mo
â–²56.6%
100.00%
2266ms p50
7
from$0.32/1k req
Tiger
POST

Video comments

/v1/run/youtube.video_commentsyoutube.video_comments
List the comments on a video or Short by URL with cursor pagination: text, author, like and reply counts.
25,421 /mo
â–¼19.4%
99.98%
4070ms p50
6
from$0.68/1k req
Owl
POST

Video transcript full

/v1/run/youtube.video_transcript_fullyoutube.video_transcript_full
Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
21,248 /mo
â–²102.4%
100.00%
4722ms p50
2
from$2.00/1k req
Wombat
POST

Channel shorts

/v1/run/youtube.channel_shortsyoutube.channel_shorts
List a YouTube channel's Shorts by handle or channel ID with cursor pagination, views, and publish timestamps.
20,673 /mo
â–²320.2%
99.76%
9834ms p50
3
from$1.00/1k req
Manatee
POST

Search shorts

/v1/run/youtube.search_shortsyoutube.search_shorts
Search YouTube Shorts by keyword and get matching Shorts (title, views, URL) with cursor pagination as normalized JSON.
15,471 /mo
â–²255.1%
99.91%
1599ms p50
2
from$1.19/1k req
Tiger
POST

Channel contact

/v1/run/youtube.channel_contactyoutube.channel_contact
Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads. Each lookup runs on one source only and never moves to another: the cheapest source unless the call names one. An email found inside the call is charged that source's price, and a channel with no email is free. A lookup the source cannot answer yet takes minutes to hours: it is charged when the lookup starts, refunded automatically if no email is found within 48 hours, and the call returns a request id at once with a link that collects the answer later with no API key. A finished answer stays readable for 3 days after it is found. Set `fresh` to true to have the address read from YouTube now instead of one a source already holds: that costs more, $0.452 per email found instead of the normal $0.11 or $0.144, and it runs only on the source that offers it.
11,767 /mo
â–²159.1%
85.17%
0ms p50
2
from$110.00/1k req
Kestrel
POST

Channel public email

/v1/run/youtube.channel_public_emailyoutube.channel_public_email
Get the email address a YouTube creator writes in the channel's public description, the text anyone can read on the About tab. It never returns the business email YouTube hides behind the View email address button; youtube.channel_contact reveals that one.
11,000 /mo
â–²15111.3%
100.00%
1258ms p50
2
from$1.20/1k req
Giraffe
POST

Channel lives

/v1/run/youtube.channel_livesyoutube.channel_lives
List a YouTube channel's live and past-live streams by handle or channel ID with cursor pagination (title, views, length, publish time).
1,337 /mo
â–²700%
100.00%
1097ms p50
2
from$1.20/1k req
Giraffe
POST

Video sponsors

/v1/run/youtube.video_sponsorsyoutube.video_sponsors
Detect suspected sponsors and paid promotions in a YouTube video by URL (sponsor names, websites, confidence).
1,251 /mo
â–²721.5%
99.52%
4625ms p50
1
price$1.20/1k req
Giraffe
POST

Trending shorts

/v1/run/youtube.trending_shortsyoutube.trending_shorts
List currently trending YouTube Shorts (title, channel, views, likes, duration).
671 /mo
â–²309.5%
98.81%
10091ms p50
1
price$1.20/1k req
Giraffe
POST

Playlist

/v1/run/youtube.playlistyoutube.playlist
List every video in a YouTube playlist (title, length, and channel per video plus playlist owner and totals).
271 /mo
â–²1300%
93.73%
1148ms p50
1
price$1.20/1k req
Giraffe
POST

Search hashtag

/v1/run/youtube.search_hashtagyoutube.search_hashtag
Search YouTube videos by hashtag with cursor pagination (title, channel, views, length, publish time).
213 /mo
â–¼53.8%
100.00%
1484ms p50
1
price$1.20/1k req
Giraffe
POST

Comment replies

/v1/run/youtube.comment_repliesyoutube.comment_replies
List replies to a YouTube comment using a continuation token with cursor pagination (text, author, likes, publish time).
186 /mo
â–²652.2%
95.70%
853ms p50
1
price$1.20/1k req
Giraffe
POST

Community post

/v1/run/youtube.community_postyoutube.community_post
Fetch a single YouTube community post by URL (text, images, channel, publish time).
170 /mo
â–²922.2%
95.65%
943ms p50
2
from$1.20/1k req
Giraffe
POST

Channel community posts

/v1/run/youtube.channel_community_postsyoutube.channel_community_posts
List a YouTube channel's community posts by handle or channel ID with cursor pagination (text, likes, image, publish time).
100 /mo
â–²112.1%
100.00%
1092ms p50
2
from$1.20/1k req
Giraffe
POST

Channel playlists

/v1/run/youtube.channel_playlistsyoutube.channel_playlists
List a YouTube channel's playlists by handle or channel ID with cursor pagination (title, video count, thumbnail).
64 /mo
â–²850%
100.00%
1009ms p50
2
from$1.20/1k req
Giraffe

About the YouTube API

Every provider prices each endpoint independently, so the table shows the cheapest per endpoint. Open one to compare all providers.

Call the YouTube API

Base URLhttps://api.getanyapi.com
Auth headerAuthorization: Bearer $ANYAPI_KEY
Example request: Video
curl -X POST https://api.getanyapi.com/v1/run/youtube.video \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'

Measured performance

What the YouTube API actually does

Every call through AnyAPI over the last 30 days, counted here rather than promised.

99.8%
of calls succeeded (1,500,390 calls)
Succeeded on first lane 96.4%Recovered by failover 3.4%Failed 0.2%
Response time estimate (1,497,521 calls across endpoints)
Weighted p50 estimate
3.9s
Request-weighted average of endpoint p50 values, not a combined request percentile
Weighted p99 estimate
20.8s
Request-weighted average of endpoint p99 values, not a combined request percentile

FAQ

About the YouTube API

The AnyAPI YouTube API returns YouTube data as normalized JSON across 20 endpoints: channel, video, video transcript, search, channel videos, video comments, channel community posts, channel contact, channel lives, channel playlists, channel public email, channel shorts, comment replies, community post, playlist, search hashtag, search shorts, trending shorts, video sponsors, and video transcript full. You call one endpoint per job with a single key, and AnyAPI routes each request across 15 sources, falling back automatically when one fails. Pricing is in US dollars, from $0.28 per 1,000 requests on the cheapest endpoint, with no subscription and no monthly minimum. Over the last 30 days, 99.8% of YouTube calls through AnyAPI succeeded, with a request-weighted median response time of 3.9 seconds across 1,500,390 measured calls.

Pricing is in US dollars, from $0.28 per 1,000 requests on the cheapest endpoint, with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

20 endpoints: channel, video, video transcript, search, channel videos, video comments, channel community posts, channel contact, channel lives, channel playlists, channel public email, channel shorts, comment replies, community post, playlist, search hashtag, search shorts, trending shorts, video sponsors, and video transcript full. Every one takes the same authentication and returns the same normalized response shape, so reaching a second YouTube endpoint is a change of URL and nothing else.

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