YouTube Search API

Search YouTube videos, channels and playlists, with autocomplete and trending. No Google API key.

YouTube search endpoints

Example

curl --request GET \
  --url 'https://youtube-public-data-api.p.rapidapi.com/search?q=openai&hl=en&gl=US' \
  --header 'X-RapidAPI-Host: youtube-public-data-api.p.rapidapi.com' \
  --header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY'

Page with cursor. Pass a video ID or full YouTube URL into /video/details after you pick a result.

Related: YouTube API without a Google key · YouTube comments API

Subscribe on RapidAPI