YouTube Data API
Search YouTube videos, read comments, channel stats, playlists and trending — without a Google API key. No streaming or download URLs.
YouTube search API
Comments + replies
Channel / playlist
No Google key
RapidAPI
Get the YouTube Data API on RapidAPI
选题雷达 · 评论 FAQ / 频道对标演示
What this YouTube Data API does
This is a YouTube metadata API for apps that need search, video details, comments, channel analytics-style stats, playlists and community posts. You do not create a Google Cloud project or spend official YouTube Data API v3 quota.
- YouTube video search — mixed search, video-only search, autocomplete, cursor pagination,
hl/gl
- YouTube video details — title, views, likes, comment count, thumbnails, channel;
id accepts a video ID or full YouTube URL
- YouTube comments API — totals, newest/top sort, reply cursors
- YouTube channel API — profile, uploads, Shorts, live, playlists, community posts, in-channel search
- YouTube playlist API — playlist details and videos
- YouTube trending — popular / trending lists by region
Not included: this is not a YouTube downloader. There are no streaming URLs, no captions, and no official Google quota.
YouTube Data API endpoints
GET/searchYouTube search for videos, channels and playlists, with filters and cursor.
GET/search/videosYouTube video search only.
GET/auto-completeYouTube search suggestions.
GET/video/detailsYouTube video details: views, likes, comments, channel, thumbnails.
GET/video/commentsYouTube comments API with totals and reply cursors.
GET/video/relatedRelated YouTube videos.
GET/channel/detailsYouTube channel API: subscribers, views, joined date, links. Accepts @handle or URL.
GET/channel/videosChannel uploads, Shorts, or live. filter=shorts_latest|live_now
GET/playlist/detailsYouTube playlist title, video count and views.
GET/playlist/videosVideos inside a YouTube playlist.
GET/trendingYouTube trending / popular videos by hl and gl.
GET/community-post/detailsYouTube community post body and attachments.
Quick start
curl --request GET \
--url 'https://youtube-public-data-api.p.rapidapi.com/search?q=python+tutorial' \
--header 'X-RapidAPI-Host: youtube-public-data-api.p.rapidapi.com' \
--header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY'
curl --request GET \
--url 'https://youtube-public-data-api.p.rapidapi.com/video/details?id=dQw4w9WgXcQ' \
--header 'X-RapidAPI-Host: youtube-public-data-api.p.rapidapi.com' \
--header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY'
MCP
In the RapidAPI Playground click MCP. Host: youtube-public-data-api.p.rapidapi.com. Use your own X-RapidAPI-Key. Each REST endpoint is one tool.
YouTube Data API vs official Google quota
| This YouTube Data API | Official YouTube Data API v3 |
| Google API key | Not required | Required |
| Search / comments / channel | Yes | Yes (quota units) |
| Streaming / download URLs | No | No |
| Free start | 100 calls / month on RapidAPI | 10,000 units / day |
Pricing
$0
BASIC
100 requests / month
$20
PRO
10,000 requests / month
$50
ULTRA
100,000 requests / month
$200
MEGA
1,000,000 requests / month
Guides:
YouTube API without a Google key ·
YouTube search API ·
YouTube comments API
Subscribe on RapidAPI