YouTube API
18 endpoints for YouTube, one JSON shape. Lists page with a cursor. Failed requests are free.
Profiles
Posts and videos
YouTube channel videos
A channel's uploads, newest first or most popular.
YouTube channel Shorts
A channel's Shorts, newest first or most popular: id, title and view count.
YouTube channel live streams
Live and past streams from a channel's Live tab.
YouTube channel community posts
Posts from a channel's Posts tab: text, images, an attached video, likes and publish time.
YouTube video or Short details
Title, description, stats, duration, channel, thumbnails, chapters.
YouTube playlist videos
The playlist's videos; parent is the playlist itself.
YouTube community post
Returns id, url, type, author, title.
Comments
Transcripts
Search and trends
Search inside a YouTube channel
YouTube's own channel search: videos, Shorts, lives and playlists of one channel that match query.
YouTube search
Videos, channels, playlists, Shorts and live streams for a query.
YouTube search suggestions
The live suggestions YouTube shows while a user types.
YouTube videos by hashtag
Videos (or Shorts) on a hashtag's page.
Trending YouTube Shorts
YouTube has no logged-out trending page; this is the anonymous Shorts feed.
Ads
Other data
Tutorials
How to scrape YouTube channel details
Nine languages, plus Python and JavaScript scripts.
How to scrape YouTube channel videos
Nine languages, plus Python and JavaScript scripts.
How to scrape search results inside a YouTube channel
Nine languages, plus Python and JavaScript scripts.
How to scrape YouTube channel playlists
Nine languages, plus Python and JavaScript scripts.
How to scrape YouTube channel Shorts
Nine languages, plus Python and JavaScript scripts.
How to scrape YouTube channel live streams
Nine languages, plus Python and JavaScript scripts.
Questions
What does the YouTube API cost?
Most requests cost 1 credit, and transcripts have their own rule; each endpoint page states it. New accounts get 100 free credits. See pricing.
Does it need a YouTube login?
No. SocialScrape reads public, logged-out data and you never send a platform password.
Is it live?
The endpoints are in beta: built and tested against recorded responses, with early access keys going out first. Ask for a key.