Ssocialgraph.dev
Platforms / YouTube
YT

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
Live demos use the Google for Developers channel, youtube.com/@GoogleDevelopers. Run it right here; no account needed.
Try it live: Activities list GET

๐Ÿ”’ 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

GET Activities list Read-only YouTube Data API v3 activities list endpoint. /api/v1/youtube/activities 1 credit / call GET Channel sections list Read-only YouTube Data API v3 channelSections list endpoint. /api/v1/youtube/channelSections 1 credit / call GET Channels list Read-only YouTube Data API v3 channels list endpoint. /api/v1/youtube/channels 1 credit / call GET Comment threads list Read-only YouTube Data API v3 commentThreads list endpoint. /api/v1/youtube/commentThreads 1 credit / call GET Comments list Read-only YouTube Data API v3 comments list endpoint. /api/v1/youtube/comments 1 credit / call GET Internationalization languages list Read-only YouTube Data API v3 i18nLanguages list endpoint. /api/v1/youtube/i18nLanguages 1 credit / call GET Internationalization regions list Read-only YouTube Data API v3 i18nRegions list endpoint. /api/v1/youtube/i18nRegions 1 credit / call GET Playlist items list Read-only YouTube Data API v3 playlistItems list endpoint. /api/v1/youtube/playlistItems 1 credit / call GET Playlists list Read-only YouTube Data API v3 playlists list endpoint. /api/v1/youtube/playlists 1 credit / call GET Search list Read-only YouTube Data API v3 search list endpoint. /api/v1/youtube/search 10 credits / call GET Subscriptions list Read-only YouTube Data API v3 subscriptions list endpoint. /api/v1/youtube/subscriptions 1 credit / call GET Video categories list Read-only YouTube Data API v3 videoCategories list endpoint. /api/v1/youtube/videoCategories 1 credit / call GET Video transcript Full transcript of a YouTube video with timed segments, word count, keywords, key points and sentiment. /api/v1/youtube/transcript 2 credits / call GET Videos list Read-only YouTube Data API v3 videos list endpoint. /api/v1/youtube/videos 1 credit / call GET Audience demographics Estimated audience of a YouTube channel: countries, languages, categories, gender, age, and age by gender. Takes 20โ€“60 seconds. /api/v1/youtube/audience 50 credits / call

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.

Start with 100 free credits

Create an account in seconds. No card, no subscription. Credits never expire.

Create free account โ†’