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.

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/search
YouTube search for videos, channels and playlists, with filters and cursor.
GET/search/videos
YouTube video search only.
GET/auto-complete
YouTube search suggestions.
GET/video/details
YouTube video details: views, likes, comments, channel, thumbnails.
GET/video/comments
YouTube comments API with totals and reply cursors.
GET/video/related
Related YouTube videos.
GET/channel/details
YouTube channel API: subscribers, views, joined date, links. Accepts @handle or URL.
GET/channel/videos
Channel uploads, Shorts, or live. filter=shorts_latest|live_now
GET/playlist/details
YouTube playlist title, video count and views.
GET/playlist/videos
Videos inside a YouTube playlist.
GET/trending
YouTube trending / popular videos by hl and gl.
GET/community-post/details
YouTube 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 APIOfficial YouTube Data API v3
Google API keyNot requiredRequired
Search / comments / channelYesYes (quota units)
Streaming / download URLsNoNo
Free start100 calls / month on RapidAPI10,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