Video
YouTube API
The everydata.io YouTube scraper API reads public YouTube pages when you call it: search videos, or send a video or channel link and get details, comments, related videos, channel videos, playlists and trending lists back as JSON – with an API key and without the OAuth quotas of the YouTube Data API.
What you can get: Videos, channels, comments, playlists, trending.
100 free requests every month · no credit card
GET /ytb/youtube-video-details?id=kJQP7kiw5Fklive{
"responseStatus": "PAGE_FOUND",
"responseMessage": "Page successfully found!",
"videoId": "kJQP7kiw5Fk",
"title": "Luis Fonsi - Despacito ft. Daddy Yankee",
"channelId": "UCLp8RBhQHu9wSsq62j_Md6A",
"channelName": "LuisFonsiVEVO",
"viewCount": 9125159593,
"likeCount": 56673581,
"commentCount": 4300000,
"publishedAt": "2017-01-12T21:00:02-08:00",
"duration": 282,
"category": "Music"
}Key facts
Updated
The YouTube API by everydata.io returns live YouTube data – videos, channels, comments, playlists, trending – as structured JSON through 18 endpoints. It is included in every plan, starting with 100 free requests a month, and costs from €1.00 per 1,000 requests on larger plans.
- Endpoints
- 18 under /ytb
- Quota per call
- 1 request
- Free plan
- 100 req / month
- Paid plans
- from €30 / month€1.00–€6.00 per 1,000
- Avg. response · 24 h
- 2.6 s100% success
What teams build with the YouTube API
Search videos, read video and channel details, comments, related content, playlists, community posts and trending lists – without OAuth quotas.
- Influencer analytics
- Content monitoring
- Trend detection
- Comment mining
Works with AI assistants
Models only know what they saw in training. Add the YouTube endpoints as a tool in ChatGPT, Claude, Gemini or your agent framework, and your assistant can look up current data while it answers.
YouTube API use cases in detail
Each page explains one job, then shows a real request and the data you get back.
YouTube metadata as JSON – title, views, likes, comments, duration, tags, thumbnails, captions – by video ID or URL. No OAuth, no Data API quota.
Scrape YouTube comments by video ID or URL: text, author, likes, reply count, pinned and hearted flags, with cursor paging into replies. No OAuth.
Public YouTube channel stats via REST: subscriber and video counts, verification, latest videos, streams, Shorts and playlists by channel ID or @handle.
YouTube API endpoints
All YouTube endpoints are served under the /ytb prefix and share the same API key and quota as every other platform.
Keyword search with cursor paging.
querylanguageCodecountryCodecursorMetadata for a video id or URL.
idPaged comments.
idcursorRelated content for a video.
idcursorChannel metadata by id or handle URL.
idLatest videos, streams or shorts.
idfiltercursorPlaylists of a channel.
idfiltercursorVideos of a playlist.
idcursorTrending videos.
Example request
Try in dashboardcurl "https://api.everydata.io/ytb/youtube-video-details?id=kJQP7kiw5Fk" \
-H "x-api-key: YOUR_API_KEY"Example response
{
"responseStatus": "PAGE_FOUND",
"responseMessage": "Page successfully found!",
"videoId": "kJQP7kiw5Fk",
"title": "Luis Fonsi - Despacito ft. Daddy Yankee",
"channelId": "UCLp8RBhQHu9wSsq62j_Md6A",
"channelName": "LuisFonsiVEVO",
"viewCount": 9125159593,
"likeCount": 56673581,
"commentCount": 4300000,
"publishedAt": "2017-01-12T21:00:02-08:00",
"duration": 282,
"category": "Music"
}YouTube API pricing: included in every plan
The YouTube API is part of the shared quota – no separate subscription needed.
Free
- Requests / month
- 100
- Rate limit
- 10 / min
- Platforms
- all
- Support
- Price history
- last 5 entries
Starter
plus VAT
- Requests / month
- 5,000
- Rate limit
- 50 / min
- Platforms
- all
- Support
- Price history
- full
Production
Recommendedplus VAT
- Requests / month
- 50,000
- Rate limit
- 100 / min
- Platforms
- all
- Support
- Price history
- full
Business
plus VAT
- Requests / month
- 300,000
- Rate limit
- 250 / min
- Platforms
- all
- Support
- Price history
- full
YouTube API: frequently asked questions
Is there an official YouTube API?
Yes: the YouTube Data API v3 needs a Google Cloud project and counts quota units – 10,000 a day by default, and one search costs 100. everydata.io is an independent service, not affiliated with YouTube or Google: it reads public YouTube pages at request time and returns them as JSON, with only an everydata.io API key and the quota of your everydata.io plan.
What data does the YouTube API return?
Videos, channels, comments, playlists, trending. The API has 18 endpoints under the /ytb path – search videos, video details, video comments, related videos, channel details, channel videos, channel playlists, playlist videos and trending – and every response is structured JSON that starts with responseStatus and responseMessage.
How much does the YouTube API cost?
A call to the YouTube API counts as 1 request against the monthly quota. The YouTube API is included in every plan and shares one quota with all other platforms: 100 free requests a month; paid plans from €30 a month for 5,000 requests (€1.00–€6.00 per 1,000 requests). Failed requests (5xx, blocked pages) are not counted.
Is the YouTube data realtime?
Yes. Each request loads the live YouTube page when you call the API – there is no database of old snapshots in between.
Do I need a YouTube account or an official YouTube API key?
No. You only need an everydata.io API key, sent in the x-api-key header. The free plan works without a credit card.
Is this a YouTube scraper?
It replaces one. everydata.io loads the live YouTube pages for you and returns parsed JSON fields, so you do not build or maintain a YouTube scraper, parser or proxy setup yourself. Retries are included, and a request that still fails costs no quota.
What happens when YouTube blocks a request?
The API retries the fetch automatically. If the page still cannot be loaded you get a 502 or 503 error, and that request costs no quota. Success rates and response times per platform are measured around the clock on the status page.
Can ChatGPT, Claude or an AI agent use the YouTube API?
Yes. Connect the hosted everydata.io MCP server and the assistant can call every YouTube endpoint as a tool, or register the plain HTTPS endpoints as functions in any agent framework. The endpoint list is also in /llms.txt and the OpenAPI spec.
Step-by-step guides with the YouTube API
More platform APIs
- freelancermap Projects API
- freelance.de Project API
- Google Play Scraper API
- App Store API
- Stepstone API
- Kleinanzeigen API
Try the YouTube API with your own data.
Sign up with your e-mail, copy your API key and make your first request in about a minute. The free plan never expires.