YouTube API for channel, video, search, transcript and audience data
Read public YouTube data through a single API key: channel statistics, video details, search, playlists and their items, comment threads and replies, plus reference data such as video categories, languages and regions.
What you can do with the YouTube API
- Channel and video statistics
- Search videos, channels and playlists
- Playlists and playlist items
- Comment threads and replies
- Categories, languages and regions
๐ Preset demo input. Live demos use the Google for Developers channel, youtube.com/@GoogleDevelopers. Sign up free to use your own.
All YouTube API endpoints
Free YouTube tools
Try the data on any account, no sign-up.
YouTube Subscriber Count Checker โYouTube Channel ID Finder โ
YouTube API: frequently asked questions
Do I need my own Google API key to use the YouTube API here?
No. socialgraph.dev calls the YouTube Data API with its own key and quota. You use one socialgraph.dev API key for every platform and pay per call in credits.
Are the responses the same as the YouTube Data API v3?
Yes. The 13 Data API endpoints pass YouTube's responses through unchanged, with the same parameters, so existing code keeps working. Video transcripts and audience demographics are additional endpoints Google doesn't offer.
What does a YouTube call cost?
Most endpoints cost 1 credit (US$0.002). Search costs 10 credits because YouTube charges 100 quota units for it. Transcripts cost 2 credits and audience demographics 50. Errors are never charged.
Can I get YouTube channel statistics without OAuth?
Yes. Public channel statistics (subscribers, views, video count), video details, playlists, comments and search need no login. Only the channel owner's private Analytics is unavailable.