YouTube video API
One video: title, description, keywords, duration, channel, views, likes, comments and publish time.
| Item | Value |
|---|---|
| Endpoint | GET https://api.feedmcp.com/v1/youtube/videos/get |
| ID | youtube.videos.get |
| Price | $0.002 / call |
| Returns | One Post object |
| Auth | Authorization: Bearer $FEEDMCP_API_KEY |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | one of | Video ID (the 11 characters after v=) |
url |
string | one of | Video link (youtube.com/watch, youtu.be or shorts) |
Every endpoint also takes view=full to include the platform's raw data as raw, at the same price.
Returned fields
data.item is one Post object, with the same fields on every platform:
| Field | Type | Description |
|---|---|---|
id |
string | The platform ID, which the platform's detail endpoint takes: TikTok or Douyin video ID, YouTube video ID, Instagram or Threads code, X post ID, Telegram "channel/number", Reddit short ID, LinkedIn activity number, Pinterest pin number, Kuaishou 3x… video ID, WeChat Channels object ID, Zhihu answer, question or article ID, Xiaohongshu note ID, BV ID, Weibo ID or article ID |
platform |
string | Platform: tiktok, youtube, instagram, x, threads, telegram, reddit, linkedin, facebook, pinterest, xiaohongshu, douyin, kuaishou, wechat_mp, wechat_channels, weibo, zhihu or bilibili |
type |
string | video, note, article, post (Weibo, X, Threads, Telegram, Reddit, LinkedIn, Facebook, Pinterest, Instagram photos), question or answer (Zhihu) |
url |
string | Link to the original |
title |
string | null | Title (YouTube, Reddit, Pinterest, Bilibili, Xiaohongshu and WeChat; for a Zhihu answer, its question; null elsewhere) |
text |
string | null | Body text or caption |
created_at |
string | null | Published at, ISO 8601, UTC |
author.id |
string | null | Author ID; pass it straight to that platform's account endpoints |
author.name |
string | null | Author name |
metrics.views |
number | null | Views or plays (null when the platform hides it) |
metrics.likes |
number | null | Likes (score on Reddit, total reactions on Facebook) |
metrics.comments |
number | null | Comments |
metrics.shares |
number | null | Shares or reposts (reposts on X) |
metrics.quotes |
number | null | Quotes (X and Threads) |
metrics.reactions |
number | null | Total reactions (Telegram only) |
metrics.answers |
number | null | Answers (Zhihu questions only) |
metrics.upvote_ratio |
number | null | Upvote ratio from 0 to 1 (Reddit only) |
metrics.repins |
number | null | Repins (Pinterest only) |
metrics.favorites |
number | null | Saves (bookmarks on X, saves on Pinterest) |
cover |
string | null | Cover image URL |
duration_seconds |
number | null | Video length in seconds |
tags |
string[] | Hashtags (the flair on Reddit) |
community |
string | null | Subreddit (Reddit only) |
link |
string | null | The page a pin links to (Pinterest only) |
When you are charged
$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.
Each answer carries meta.billing: what this call cost and the balance left.
Request
cURL
curl "https://api.feedmcp.com/v1/youtube/videos/get?id=x0nzap53Nnw" \
-H "Authorization: Bearer $FEEDMCP_API_KEY"
Python
import os, requests
r = requests.get(
"https://api.feedmcp.com/v1/youtube/videos/get",
params={"id": "x0nzap53Nnw"},
headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
timeout=30,
)
print(r.json())
JavaScript
const res = await fetch("https://api.feedmcp.com/v1/youtube/videos/get?id=x0nzap53Nnw", {
headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
MCP
From an AI with FeedMCP installed, the call tool:
{
"endpoint": "youtube.videos.get",
"params": {
"id": "x0nzap53Nnw"
},
"max_price": "0.002"
}
Response
The data below is made up; the shape is the real one.
{
"code": "ok",
"request_id": "req_7Qm2kXb9TzLp",
"data": {
"item": {
"id": "x0nzap53Nn1",
"platform": "youtube",
"type": "video",
"url": "https://www.youtube.com/watch?v=x0nzap53Nn1",
"title": "Watch this before you buy camping gear 1",
"text": "What I would buy again, and what I would skip.",
"created_at": "2026-11-19T13:07:26.000Z",
"author": {
"id": "UCmockChannel0000000000",
"name": "Trail Notes",
"avatar": null
},
"metrics": {
"views": 14864,
"likes": 261,
"comments": 27
},
"cover": "https://i.ytimg.com/vi/mock/hq720.jpg",
"duration_seconds": 1157,
"tags": [
"camping gear",
"hiking"
]
}
},
"page": null,
"warnings": [],
"meta": {
"endpoint": "youtube.videos.get",
"platform": "youtube",
"fetched_at": "2026-11-19T08:00:00.000Z",
"source": "FeedMCP",
"catalog_revision": "d09a736bd39e8b3f",
"billing": {
"charged": true,
"amount": "0.002",
"currency": "USD",
"balance": "9.98"
}
}
}
Errors are described in Errors: each says whether you were charged (charged) and whether to retry (retry).
Other YouTube endpoints
- YouTube video search:$0.002
- YouTube video comments:$0.002
- YouTube channel:$0.002
- YouTube channel videos:$0.002
- YouTube comment replies:$0.002
- YouTube channel search:$0.002
- YouTube transcript:$0.002
Questions
How much does the YouTube video endpoint cost?
$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.
Do I need a platform account?
No. Only public data is read.
Where do I find the ID or link?
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 do I use it from an AI?
Install the MCP server and ask; your AI calls youtube.videos.get.