If you've ever tried to use the YouTube Data API for comments, you know the pain: quota limits, API keys, OAuth setup, and a maximum of 10,000 units per day.
What if I told you there's a hidden API that YouTube's own frontend uses — no key required, no quotas, no limits?
The Innertube API
YouTube's web player uses an internal API called Innertube to fetch comments. It's the same endpoint that loads comments when you scroll down on a video page.
The key insight: this API is public. It doesn't require authentication. And it returns structured JSON with everything you need:
- Comment text
- Author name and channel URL
- Like count
- Reply count
- Published date
- Whether it's pinned or by the creator
Why This Matters
For sentiment analysis: Pull 1,000+ comments from a product review video to understand what real customers think.
For market research: Analyze comments on industry videos to find pain points, feature requests, and trends.
For content creators: See what questions your audience asks most — these are your next video topics.
For AI training: YouTube comments are a massive source of domain-specific language data.
The Technical Approach
The Innertube API uses a continuation token for pagination. The flow:
- Fetch the video page → extract the initial comment data and continuation token
- POST to
youtubei/v1/nextwith the continuation token - Parse the response JSON → extract comments
- If there's a next continuation token → go to step 2
No API key. No OAuth. No quota. The only limit is rate limiting (add 1-2 second delays between requests).
Structured Output
Each comment comes back as clean JSON:
{
"videoId": "dQw4w9WgXcQ",
"videoTitle": "Product Review: Best CRM Tools 2026",
"author": "StartupFounder42",
"authorChannel": "https://youtube.com/channel/UC...",
"text": "We switched from HubSpot to Pipedrive and saved $400/month",
"likes": 234,
"replyCount": 12,
"publishedAt": "2 weeks ago",
"isPinned": false,
"isCreator": false
}
Try It Free
I packaged this into a ready-to-use tool on Apify Store: YouTube Comments Scraper. Just paste a video URL, set max comments, and run.
No API key required. No YouTube account needed. Works with any public video.
Need data from other platforms too? I have 77 free scrapers covering Reddit, Trustpilot, Google News, Bluesky, and more.
Custom data extraction — $20, delivered in 24h: Order via Payoneer
What video would you analyze first? I might pull a sample dataset for you in the comments.
Top comments (0)