Data APIs / YouTube
YouTube data API
8 YouTube endpoints: posts, comments, accounts and search, from $0.002 a call. Failures are free. No YouTube account needed.
The 8 endpoints
Posts (3)
| Endpoint | What you get | Per call |
|---|---|---|
| YouTube video search | Search videos by keyword, within an upload window, language and country | $0.002 |
| YouTube video | One video: title, description, keywords, duration, channel, views, likes, comments and publish time | $0.002 |
| YouTube channel videos | A channel's videos, newest first, with view counts, page by page | $0.002 |
Comments (2)
| Endpoint | What you get | Per call |
|---|---|---|
| YouTube video comments | Comments under a video: text, time, commenter, likes and replies, top or newest first | $0.002 |
| YouTube comment replies | Replies under one YouTube comment: text, time, author and likes, page by page | $0.002 |
Accounts (2)
| Endpoint | What you get | Per call |
|---|---|---|
| YouTube channel | A channel: name, description, avatar, country, verification, subscribers, videos and total views | $0.002 |
| YouTube channel search | Find YouTube channels by keyword: UC… channel ID, name, @handle, description, avatar and subscribers, 20 a page | $0.002 |
Transcripts (1)
| Endpoint | What you get | Per call |
|---|---|---|
| YouTube transcript | The full transcript of a YouTube video with timed segments, in a language of your choice; uses YouTube captions, any length | $0.002 |
A typical use and its bill
One page of comments under a YouTube post (the platform decides how many, usually 10–40): $0.002 a page, billed per page.
Use it in your AI
With the MCP server installed, you can say:
- "What are people complaining about under this YouTube post? Top 20 by likes."
- "How did this YouTube account's last 10 posts do?"
- "Search YouTube for camping gear and give me the 10 posts with the most engagement."
Questions
How much does the YouTube API cost?
From $0.002 a call; each endpoint has its own price, listed above. Failures, timeouts and missing objects are free. New accounts get trial credit, no card needed.
Do I need a YouTube account?
No. Only public data is read; no platform account, cookie or authorisation is needed.
Where do I find the IDs?
A video ID is the 11 characters after v= in a link; a channel is the channel ID starting with UC (author.id in video and search results); @handles are not supported yet.
How fresh is the data?
Each call reads the platform at that moment; meta.fetched_at says when.
How do I let Claude or Cursor read YouTube?
Install the FeedMCP MCP server in your AI and just ask; it picks the endpoint and calls it.
Can this get my account banned?
No. Calls do not go through your account.