YouTube Data API
by developers.google.com
Video
Added on October 31st, 2026
Checked and working on November 2nd, 2026
Visit developers.google.com →
What it does
The YouTube Data API lets you search YouTube videos, channels and playlists, get video details and statistics such as views and likes, list comments, and (with OAuth) upload and manage videos on a user's channel. Responses are JSON. Free with a Google API key and a daily quota of 10,000 units; each call costs a number of units, searches costing the most.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free with a Google API key and a daily quota of 10,000 units; each call costs a number of units, searches costing the most.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- developers.google.com
- Last checked
- Working on November 2nd, 2026
More information: https://developers.google.com/youtube/v3
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://www.googleapis.com/youtube/v3/search?part=snippet&q=london&key=YOUR_API_KEY'
JavaScript
const response = await fetch("https://www.googleapis.com/youtube/v3/search?part=snippet&q=london&key=YOUR_API_KEY");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://www.googleapis.com/youtube/v3/search?part=snippet&q=london&key=YOUR_API_KEY",
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.