Access extended YouTube video data, including video info, comments, statistics, engagement, and AI-powered audits.
Get title, description, publish date, duration, category, language, and more.
Fetch view, like, and comment counts, plus calculate engagement rate.
Receive GPT-based suggestions to improve your video’s SEO and engagement.
POST https://api.yeb.to/v1/youtube/video/information
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID (11 chars) **or** full YouTube URL |
curl -X POST https://api.yeb.to/v1/youtube/video/information \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{
"video": {
"id": "dQw4w9WgXcQ",
"title": "Rick Astley – Never Gonna Give You Up",
"description": "The official video for…",
"duration": "PT3M32S",
"publishedAt": "1987-10-25T00:00:00Z",
"categoryId": "10",
"categoryName": "Music",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channelTitle": "Official Rick Astley",
"statistics": {
"viewCount": "1 440 000 000",
"likeCount": "15 600 000",
"commentCount": "1 900 000"
},
"thumbnails": { … },
"contentDetails": { … },
"snippet": { … }
}
}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/tags
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
curl -X POST https://api.yeb.to/v1/youtube/video/tags \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{"tags":["80s","Rick Astley","Official Video"]}
{"error":"Tags unavailable","code":204}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/comments
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
limit |
int | opt | 1-100, default 50 |
order |
string | opt | relevance (default) | time |
repliesOn |
bool | opt | true = include replies |
curl -X POST https://api.yeb.to/v1/youtube/video/comments \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_KEY",
"video": "dQw4w9WgXcQ",
"limit": 25,
"order": "time",
"repliesOn": true
}'
{
"cnt_comments": 25,
"comments": [
{
"id":"Ugzx…",
"author":"Alice",
"text":"Still a banger!",
"likes":42,
"published":"2025-06-01T12:34:00Z",
"replies":{
"cnt":2,
"items":[{"id":"Ugy…","author":"Bob","text":"100 %","likes":3,"published":"…"}]
}
}
]
}
{"error":"Comments disabled","code":403}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/settings
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
curl -X POST https://api.yeb.to/v1/youtube/video/settings \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{
"settings": {
"privacyStatus": "public",
"license": "creativeCommon",
"embeddable": true,
"publicStatsViewable": true,
"disableComments": false,
"madeForKids": false,
"ageLimit": false,
"projection": "rectangular",
"recordingDate": "2025-07-14",
"locationDescription": "Berlin, Germany",
"categoryId": "25",
"categoryName": "News & Politics",
"language": "bg",
"region": "bg"
}}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/restricted
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
curl -X POST https://api.yeb.to/v1/youtube/video/restricted \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{
"restrictions": {
"geoBlocked": false,
"ageRestricted": false,
"blocked": [],
"allowed": [],
"embeddable": true,
"madeForKids": false,
"license": "youtube",
"privacyStatus": "public"
}
}
{"error":"Video removed","code":410}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/trending
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
country |
string | opt | ISO country (US default) |
categoryId |
string | opt | Optional numeric ID |
curl -X POST https://api.yeb.to/v1/youtube/video/trending \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ","country":"GB"}'
{
"trending": {
"country": "GB",
"categoryId": null,
"categoryName": null,
"isTrending": true,
"position": 17
}
}
{"error":"Quota exceeded","code":429}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/statistics
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
curl -X POST https://api.yeb.to/v1/youtube/video/statistics \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{
"statistics": {
"views" : 1580000000,
"likes" : 15400000,
"comments" : 1120000,
"favourites" : 45000
}
}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/watchtime-estimate
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
avgRetention |
float | opt | Override (0-1). e.g. 0.55 |
curl -X POST https://api.yeb.to/v1/youtube/video/watchtime-estimate \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{
"watchtime": {
"views": 739,
"durationSec": 1733,
"avgRetention": 0.30,
"perViewSec": 520,
"seconds": 384206,
"watchHours": 106.7
}
}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/engagement-rate
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
curl -X POST https://api.yeb.to/v1/youtube/video/engagement-rate \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{
"engagement": {
"views": 1580000000,
"likes": 15400000,
"comments": 1120000,
"rate": 0.011
}
}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/thumbnail
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
curl -X POST https://api.yeb.to/v1/youtube/video/thumbnail \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{
"thumbnails": {
"default": "https://i.ytimg.com/vi/dQw4w9WgXcQ/default.jpg",
"medium": "https://i.ytimg.com/vi/dQw4w9WgXcQ/mqdefault.jpg",
"high": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",
"standard": "https://i.ytimg.com/vi/dQw4w9WgXcQ/sddefault.jpg",
"maxres": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg"
}
}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/search-playlists
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
limit |
int | opt | 1-50, default 50 |
curl -X POST https://api.yeb.to/v1/youtube/video/search-playlists \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ","limit":10}'
{
"cnt_playlists": 2,
"playlists": [
{"id":"PL123…","title":"Best 80s Hits","url":"https://…","found":true},
{"id":"PL456…","title":"Rick Astley Favs","url":"https://…","found":true}
]
}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/extract-links
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
curl -X POST https://api.yeb.to/v1/youtube/video/extract-links \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{
"cnt_links": 3,
"links": [
"https://www.rickastley.co.uk",
"https://store.rickastley.co.uk",
"https://open.spotify.com/artist/0gxyHStUsqpMadRV0Di1Qt"
]
}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/extract-hashtags
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
curl -X POST https://api.yeb.to/v1/youtube/video/extract-hashtags \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{"cnt_hashtags":2,"hashtags":["#RickAstley","#NeverGonnaGiveYouUp"]}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
POST https://api.yeb.to/v1/youtube/video/audit
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
video |
string | yes | Video ID or URL |
sample |
int | opt | Baseline sample size (10-100, default 50) |
curl -X POST https://api.yeb.to/v1/youtube/video/audit \
-H "Content-Type: application/json" \
-d '{"api_key":"YOUR_KEY","video":"dQw4w9WgXcQ"}'
{
"videoId":"dQw4w9WgXcQ",
"views":1580000000,
"likes":15400000,
"comments":1120000,
"engagementRate":0.011,
"channelMedianViews":420000,
"isAboveMedian":true,
"aiRecommendations":"• Use a more curiosity-driven title…"
}
{"error":"Video not found","code":404}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |
dQw4w9WgXcQ
) or a full YouTube video URL.
404
for not found, 403
for restricted/private videos).