YouTube's official Data API charges you quota for every request. 10,000 units per day on the free tier. That's roughly 100 search queries or 50 comment fetches. For any serious project, you'll blow through it before lunch.
But there's another API. The one that youtube.com itself uses every time you load a page.
The Innertube API
When you visit a YouTube video and scroll to the comments section, your browser makes a POST request to:
https://www.youtube.com/youtubei/v1/next
This is YouTube's Innertube API. It's the internal API that powers every interaction on youtube.com — loading video metadata, comments, search results, recommendations, captions.
It requires no API key. No OAuth. No quota tracking. No developer application.
What You Can Get
Comments — full comment text, author name, channel URL, like count, reply count, published date, pinned/creator badges.
Search results — video title, channel, view count, upload date, duration, thumbnail URL. Same results as the YouTube search page.
Channel data — subscriber count, total views, video list with metadata.
Captions/Transcripts — full subtitle text with timestamps. Available in every language the uploader provided.
Why It Works
Innertube is YouTube's core infrastructure. They can't deprecate it without breaking youtube.com. The comment format changed once in 2025 (from commentRenderer to commentEntityPayload), but the API endpoint itself has been stable for years.
Compare this to the official Data API, which Google can throttle, paywall, or restructure at any time — and regularly does.
The Catch
There's no official documentation. The API is undocumented and meant for internal use. But the request/response format is stable and well-understood by the scraping community.
Rate limiting exists but is generous — add 1-2 second delays between requests and you'll never hit it.
Real-World Use Cases
Sentiment analysis at scale. A product review video with 5,000 comments is a dataset of customer opinions. Extract them all, run NLP, get quantified sentiment in minutes.
Competitor content analysis. What videos does your competitor publish? What gets views? What do their viewers ask for in comments? This data drives content strategy.
Market research. Search YouTube for "[your industry] review" — the results and comments tell you what customers actually think, unfiltered by marketing.
Academic research. YouTube comments are one of the largest corpora of informal human conversation. Researchers use them for linguistics, sentiment analysis, and cultural studies.
Tools
I built 4 YouTube tools on Apify, all using Innertube:
- YouTube Comments Scraper — extract comments from any video, no API key
- YouTube Search Scraper — search results with view counts and metadata
- YouTube Channel Scraper — subscriber counts, video lists
- YouTube Transcript Scraper — full captions with timestamps
All free on Apify Store. Part of 77 data tools.
Need YouTube data extracted? Comments, transcripts, search results — $20 per dataset, 24h delivery.
Order via Payoneer | Email: Spinov001@gmail.com
Top comments (0)