Channels, videos, Shorts, live streams, comments, transcripts, playlists, community posts, search and trending charts: every YouTube endpoint Scrapier ships, each returning typed JSON in the same response envelope. Public data only.
Copy for ClaudeCursorChatGPTWindsurfClaudeyour AI agent
21YouTube endpoints
1–2credits per successful call
0credits for a failed call
17need no YouTube login
Quick answerScrapier returns typed JSON from 21 YouTube endpoints: channels, videos, Shorts, live streams, comments, transcripts, playlists, community posts, search and trending. Public data only and no proxies; no YouTube login needed. 1 or 2 credits per successful call; failed calls are free. Last verified 9 Nov 2026
Endpoints
What data can I extract with YouTube Scraper?
Pick the data you need. Each endpoint takes a channel handle, a video or playlist link, or a keyword and gives you clean JSON back, for 2 credits per successful call.
Public emails found on YouTube pages for a keyword, with the page title, description and URL.
Live on the Social media emails page
Phone number finder
INkeywords
Public phone numbers found on YouTube pages for a keyword, with country, dial code and page URL.
Same API key and JSON envelope
Playground
Try YouTube Scraper Live
Pick an endpoint, fill in the input and press Run. Without a key you see the catalog sample and nothing is billed. With your API key it runs a real call from your browser.
YouTubeChannel infoLive
Parameters
+ Run live with your API key
Response
Sample dataCatalog sample, run to see live data
Pricing
How much will scraping YouTube cost?
Every successful call costs 1 or 2 credits, whether the page holds one profile or a page of comments. Failed calls cost nothing. A free tier lets you try it first.
On Pro, 1,000 calls at 2 credits cost $3.16. Scale brings that to $2.39, so 125,000 YouTube calls a month is $299.
// GET /api/v2/youtube-trending/
{
"country_code": "US",
"content_type": "music"
}
Send this
Parameter
And you can get
Channel handle or URL
youtube_channels · urls · channels
Channel info, videos, Shorts, live streams, community posts
Video URL
urls · video_ids
Video details, transcript, comments, sponsors, thumbnails
Playlist URL
urls
Every video in the playlist and the playlist's details
Keyword or hashtag
queries · hashtags
Search results, suggestions, hashtag videos
Country
country_code
Trending charts for that country
Optional on list endpoints: cursor (pass back next_cursor for the next page). Auth is one header: X-API-Key. Send parameters in the query string (GET) or as a JSON body (POST).
Output
Output
The one thing to know: each data type has its own shape. Field names stay the same on every call, so code and agents read them directly. Samples below come from the live catalog.
// GET /api/v2/youtube-channel-video-scraper/?youtube_channels=@mrbeast// one item of data.items · catalog sample
{
"author_name": "@mrbeast",
"video_title": "I Survived The Most Extreme Places On Earth",
"publish_time": "8 days ago",
"view_count": "91M views",
"video_duration": "23 minutes, 28 seconds",
"video_url": "https://www.youtube.com/watch?v=gTKS8SAwUzE",
"cover_image_url": "https://i.ytimg.com/vi/gTKS8SAwUzE/hq720_custom_2.jpg",
"video_id": "gTKS8SAwUzE",
"content_type": "video",
"channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
"browse_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
"input_channel": "@mrbeast",
"scraped_at": "2026-09-14T09:23:02.131Z"
}
// GET /api/v2/youtube-video-details/?urls=https://www.youtube.com/watch?v=dQw4w9WgXcQ// one item of data.videos · catalog sample
{
"video_id": "dQw4w9WgXcQ",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Never Gonna Give You Up",
"channel_name": "Rick Astley",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"description": "Official music video...",
"view_count": 1500000000,
"like_count": 18000000,
"duration_seconds": 213,
"upload_date": "2009-10-25",
"tags": [
"music",
"rick astley"
],
"categories": [
"Music"
],
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg"
}
],
"scraped_at": "2026-12-01T12:00:00.000Z",
"input_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}
// GET /api/v2/youtube-comments-scraper/?urls=https://www.youtube.com/watch?v=uKv3mi2t2KE// one item of data.comments · catalog sample
{
"cid": "Ugx3cSNbOeJMcSWom1R4AaABAg",
"type": "comment",
"published_time_text": "7 months ago",
"comment": "🚨 Watch our three part episode series on the Student Revolution that took Bangla",
"author": "@thedeshbhakt",
"author_channel_id": "UCmTM_hPCeckqN3cPWtYZZcg",
"avatar": "https://yt3.ggpht.com/DfVqzaxetTmlyiL2oZHng3i9nKBEKJWWjQoPVUYf3U9Qq6rxDeCtaXjCUj9ARjqdluzwbv_r=s88-c-k-c0x00ffffff-no-rj",
"author_is_channel_owner": true,
"is_verified": true,
"vote_count": 264,
"has_creator_heart": true,
"reply_count": 72,
"reply_to_cid": null,
"video_id": "uKv3mi2t2KE",
"page_url": "https://www.youtube.com/watch?v=uKv3mi2t2KE",
"title": "BNP Wins Big In Historic Elections | Options For India In Post-Hasina Bangladesh? | Akash Banerjee",
"comments_count": 8300,
"comment_id": "Ugx3cSNbOeJMcSWom1R4AaABAg",
"like_count": 264,
"input_url": "uKv3mi2t2KE",
"scraped_at": "2026-09-14T08:58:22.312Z"
}
// GET /api/v2/youtube-subtitles/?urls=https://www.youtube.com/watch?v=dQw4w9WgXcQ// one item of data.transcripts · catalog sample
{
"status": "ok",
"videoId": "dQw4w9WgXcQ",
"video_id": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"input_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"channel": "Rick Astley",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"duration_seconds": 213,
"thumbnail": "https://i.ytimg.com/vi_webp/dQw4w9WgXcQ/sddefault.webp",
"language": "English",
"language_code": "en",
"is_auto_generated": false,
"is_translated": false,
"source_language_code": "en",
"segment_count": 61,
"transcript_text": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ ...",
"content": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ ...",
"available_languages": [
{
"code": "en",
"name": "English",
"is_auto_generated": false
},
{
"code": "en",
"name": "English (auto-generated)",
"is_auto_generated": true
},
{
"code": "de-DE",
"name": "German (Germany)",
"is_auto_generated": false
}
],
"scraped_at": "2026-10-03T04:19:53.631Z"
}
// GET /api/v2/youtube-playlist/?urls=https://www.youtube.com/playlist?list=PLObrtcm1Kw6Odq5ks2R3b// one item of data.videos · catalog sample
{
"thumbnail": {
"url": "https://i.ytimg.com/vi/YYXdXT2l-Gg/hqdefault.jpg"
},
"title": "Python Tutorial for Beginners 1: Install and Setup for Mac and Windows",
"video_url": "https://www.youtube.com/watch?v=YYXdXT2l-Gg",
"video_id": "YYXdXT2l-Gg",
"position": 1,
"duration": "15:29",
"duration_seconds": 929,
"duration_label": "15 minutes, 29 seconds",
"is_playable": true,
"is_live": false,
"channel": {
"name": "Corey Schafer",
"id": "coreyms",
"url": "https://www.youtube.com/@coreyms",
"channel_id": "UCCezIgC97PvUuR4_gbFUs5g"
},
"video_info": "4.3M views • 9 years ago",
"view_count": "4.3M views",
"view_count_int": 4300000,
"published_time": "9 years ago",
"playlist_info": {
"playlist_id": "PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU",
"playlist_title": "Python Tutorials",
"owner": "Corey Schafer",
"video_count": 158
},
"input_url": "https://www.youtube.com/playlist?list=PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU",
"extracted_at": "2026-10-03T12:00:00.000Z"
}
// GET /api/v2/youtube-trending/?country_code=US// one item of data.videos · catalog sample
{
"type": "video",
"id": "V-uIp-WuD60",
"video_id": "V-uIp-WuD60",
"title": "Patient Zero",
"status": "OK",
"url": "https://www.youtube.com/watch?v=V-uIp-WuD60",
"description": "Provided to YouTube by Universal Music Group\n\nPatient Zero · Taylor Swift\n\nThe Life of a Showgirl: The Encore\n\n℗ 2026 Taylor Swift\n\nReleased on: 2026-09-25\n\nCom",
"duration": 226,
"views": "6722880",
"view_count": 6722880,
"likes": "95077",
"like_count": 95077,
"comments": null,
"channel": {
"id": "UCPC0L1d253x-KuMNwa05TpA",
"name": "Taylor Swift - Topic",
"handle": null,
"url": "https://www.youtube.com/channel/UCPC0L1d253x-KuMNwa05TpA",
"subscriber_count": null,
"thumbnails": [],
"badges": []
},
"channel_id": "UCPC0L1d253x-KuMNwa05TpA",
"channel_name": "Taylor Swift - Topic",
"keywords": [
"Taylor Swift",
"テイラースウィフト",
"テイラー・スウィフト"
],
"is_ratings_allowed": true,
"is_live": false,
"is_live_content": false,
"is_family_safe": true,
"category": "Music",
"is_private": false,
"is_exclusive": false,
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/V-uIp-WuD60/maxresdefault.jpg",
"width": 1920,
"height": 1080
}
],
"embed_url": "https://www.youtube.com/embed/V-uIp-WuD60",
"is_embeddable": true,
"is_unlisted": false,
"publish_date": "2026-09-24T21:02:10-07:00",
"published_at": "2026-09-24T21:02:10-07:00",
"relative_date": null,
"upload_date": "2026-09-24T21:02:10-07:00",
"trending_position": 1,
"previous_position": null,
"periods_on_chart": null,
"chart_view_count": null,
"artists": [
"Taylor Swift"
],
"release_date": "2026-09-24",
"country_code": "US",
"content_type": "music",
"source": "youtube_charts",
"chart_type": "TRENDING_VIDEOS",
"enriched": true,
"scraped_at": "2026-10-03T04:28:40.122Z"
}
Every response is {"success": true, "data": {…}}: your input echoed back, the result under its own key (profile, posts, comments…) and next_cursor for the next page.
Use cases
What can you do with YouTube data?
Public YouTube data powers influencer marketing, content research, sponsorship tracking, audience research and AI training sets. Here are five common jobs, and the YouTube scraper endpoints each one chains together.
01
Creator and sponsorship research
Find channels in your niche through search, pull each channel's recent videos and views, then see which brands already sponsor them. Shortlist creators who reach your audience and work with brands like yours.
1search-full
2channel-info
3channel-video-scraper
4video-sponsors
Shortlist
WeeklyCreator CRM, Sheets
02
Content and keyword research
Collect the autocomplete suggestions for a topic, then the videos that rank for each one and how many views they get. Plan titles and topics around what people really search for.
1search-suggestions
2search-full
Topic map
WeeklySheets, Notion
03
Competitor channel monitoring
Track competitor channels for upload cadence, views per video and their Shorts. Read the comments on their best videos to learn what their viewers ask for.
1channel-video-scraper
2shorts
3comments-scraper
Benchmark
WeeklyDashboard
04
Transcripts for AI and RAG
Turn a playlist or channel into text: list its videos, then pull each video's transcript and details. Feed the text to a search index, a RAG pipeline or an LLM summarizer.
1playlist
2video-details
3subtitles
Text corpus
On demandVector DB, LLM
05
Trend tracking
Read the trending charts by country and the trending Shorts feed every day. See which songs, trailers and formats are rising, and which channels publish them.
1trending
2trending-shorts
3hashtag-videos
Trend digest
DailyEmail digest, dashboard
Features
Features
YouTube Scraper fetches clean, structured YouTube data at low cost: built for creator research, content planning, transcript pipelines and AI agents.
Live data, every call
Each request reads YouTube at call time, and the response says when in scraped_at.
Typed, consistent JSON
Same field names on every call, ready for code, sheets or an LLM.
Lists, page by page
List endpoints return next_cursor; run up to 3 requests in parallel per key.
17 live endpoints, one shape
Channels, videos, Shorts, comments, transcripts and charts share the same envelope and auth.
MCP-ready for AI agents
The Scrapier MCP server reaches every endpoint from Claude Code, Cursor, Windsurf and VS Code with one command.
Works with your stack
Plain REST: Python, Node.js, cURL, n8n, Make, Zapier or Google Sheets.
No quota, no OAuth
Public data only. No Google Cloud project, daily quota units or OAuth consent screen; every endpoint works without a YouTube login.
Maintained for you
When YouTube changes its pages, Scrapier updates the scraper; your field names stay the same.
Pay per successful call
2 credits per call, however many items the page holds. Failed calls are never billed.
Why Scrapier
Why choose this YouTube Scraper?
The official YouTube Data API is free, but it runs on a daily quota of units per Google Cloud project, and some data it does not offer, such as transcripts of other people's videos. Scrapier reads any public channel, video, comment or transcript with one API key, at a price you know before the call runs.
Any non-2xx response is free, so retries cost nothing.
$2.39Per 1,000 calls on Scale
At 2 credits a call. Flat per-call pricing, no quota units to budget.
0Google Cloud projects
No API project, quota request or OAuth setup before the first call.
1 keyFor 35 platforms
The same key and JSON envelope cover TikTok, Instagram, Rumble, Reddit and more.
Feature
Scrapier YouTube Scraper
YouTube Data API
DIY scraper
Whose data
Any public channel or video
Any public channel or video
Any public channel or video
Transcripts
Any video with captions
Only videos you are allowed to edit
Build and maintain a caption parser
Setup
One API key
Google Cloud project, API key or OAuth
Proxies, browsers, parsers
Cost
From $2.39 per 1,000 calls
Free, within a daily quota of units
Servers, proxies and engineering time
AI agents
MCP server included
None
Build your own
FAQ
Frequently asked questions
Can I scrape several data types in one call?
No. Each endpoint returns one data type. To get a channel's videos and their comments, call youtube-channel-video-scraper then youtube-comments-scraper for each video, or let an AI agent chain the calls over MCP.
Can I get YouTube transcripts?
Yes. Send a video URL to youtube-subtitles and you get the transcript text, the language and whether the captions are auto-generated. A video with no captions returns no transcript.
Can I scrape private or unlisted videos?
No. Scrapier reads public data only. Private videos are not returned; an unlisted video can only be read if you already have its link, the same as any visitor.
Why don't some counts match what I see on YouTube?
Counts are a snapshot from the moment of the call, so compare against scraped_at. Some endpoints also keep YouTube's own text, such as "91M views", next to or instead of an integer; check the field type in the output sample.
How many results can I get?
As many as YouTube shows publicly. List endpoints return a page at a time with next_cursor; pass it back as cursor for the next page. Each page is one call at 2 credits.
How do I get replies to a YouTube comment?
youtube-comment-replies takes the reply continuation token of one comment thread in continuation_tokens and returns that whole thread, with the replies nested inside. youtube-comments-scraper gives you the top-level comments and their reply counts.
Is it legal to scrape YouTube?
It depends on what you collect, where you are and how you use it, so this is not legal advice. Scrapier returns publicly visible data only. Commenter names can be personal data under GDPR or CCPA, so collect only what you have a legitimate reason to use.
Can I connect YouTube data to other tools?
Yes. Any tool that can make an HTTP request works: n8n, Make, Zapier, Google Sheets, Airbyte or your own code. Send your key in the X-API-Key header.
Can I get YouTube data through an MCP server?
Yes. Run claude mcp add -t http scrapier https://mcp.scrapier.io/mcp with your key in an X-API-Key header. The agent finds the right YouTube endpoint with search_endpoints and calls it with run_scrape, in Claude Code, Cursor or Windsurf.
YouTube Scraper not working?
Check the status code first: 401 means the X-API-Key header is missing, 403 an invalid key, 402 no credits left, 429 too many requests (wait Retry-After seconds). If it's still wrong, report it with the request and the response.
How much does the YouTube scraper cost?
Each YouTube endpoint costs 2 credits per successful call, however many items the page holds. Failed calls are free. Plans: Hobby $29 for 15,000 credits, Pro $79 for 50,000, Scale $299 for 250,000, Enterprise custom. A free tier lets you try it first.
What are the YouTube scraper rate limits?
Run up to 3 requests in parallel per API key. If you go faster, the API answers 429 with a Retry-After header: wait that many seconds and retry. 429 and 5xx responses are never billed, and long-running endpoints need a client timeout of 210 seconds or more.
How do I scrape YouTube with Python?
Use the requests library: requests.get("https://proxy.scrapier.io/api/v2/youtube-video-details/", headers={"X-API-Key": key}, params={"urls": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}, timeout=210). The response is JSON, so read r.json()["data"]["videos"] directly; there is no HTML to parse.