New: the Scrapier MCP server. Every scraper in Claude Code with one command. See how →

YouTube Scraper API: 21 endpoints, structured JSON

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 your 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.

Channel info

GET/api/v2/youtube-channel-info/

One channel record: about section, stats and the first page of videos, Shorts, live streams and posts.

1 credit per callView →Page soon

Channel videosStart here

GET/api/v2/youtube-channel-video-scraper/

A channel's videos, Shorts or both, a page at a time, with title, views, duration and publish time.

1 credit per callView →Page soon

Channel live streams

GET/api/v2/youtube-channel-live/

A channel's live streams and past broadcasts, with view count and length.

1 credit per callView →Page soon

Shorts

GET/api/v2/youtube-shorts/

One Short by URL or ID, or a channel's Shorts tab newest first, with views, likes and comments.

1 credit per callView →Page soon

Video details

GET/api/v2/youtube-video-details/

One video by URL: title, channel, description, views, likes, duration, tags and upload date.

1 credit per callView →Page soon

Subtitles and transcript

GET/api/v2/youtube-subtitles/

Subtitles and transcript text of a video, with language and whether captions are auto-generated.

1 credit per callView →Page soon

Playlist videos

GET/api/v2/youtube-playlist/

Every video in a public playlist, with position, duration and views, plus the playlist's own details.

1 credit per callView →Page soon

Video sponsors

GET/api/v2/youtube-video-sponsors/

Suspected sponsors of a video, detected from its description, links and transcript.

1 credit per callView →Page soon

Video thumbnails

GET/api/v2/youtube-video-thumbnail/

Every thumbnail size of a video, or of a channel's videos, with real dimensions and frame images.

1 credit per callView →Page soon

Most replayed

INYOUTUBE_URLS

The most replayed parts of a video with its heat map, plus title, channel, views, likes and comments.

Same API key and JSON envelope

Video summarizer

INYOUTUBE_VIDEO_URL

A video's metadata, channel, transcript, tags, hashtags and engagement rate in one record.

Same API key and JSON envelope

Comments

GET/api/v2/youtube-comments-scraper/

Comments on a video, top or newest first, with author, likes, reply count and creator heart.

1 credit per callView →Page soon

Comment replies

GET/api/v2/youtube-comment-replies/

All replies in one comment thread, from the thread's reply continuation token.

1 credit per callView →Page soon

Community posts

GET/api/v2/youtube-community-posts/

A channel's community posts with text, image, likes and comment count.

1 credit per callView →Page soon

Search

GET/api/v2/youtube-search-full/

Videos, Shorts and streams that match a keyword, with filters, channel data and optional subtitles.

2 credits per callView →Page soon

Search suggestions

GET/api/v2/youtube-search-suggestions/

Autocomplete suggestions YouTube shows for a search term, with entity data.

1 credit per callView →Page soon

Hashtag videos

GET/api/v2/youtube-hashtag-videos/

Videos and Shorts under a hashtag, with channel, views and publish date.

1 credit per callView →Page soon

Trending

GET/api/v2/youtube-trending/

Trending charts by country: music, trailers, gaming and more, with chart position and views.

1 credit per callView →Page soon

Trending Shorts

GET/api/v2/youtube-trending-shorts/

Shorts from a hashtag feed such as #trendingshorts, by country, with sort options.

1 credit per callView →Page soon

Channel email finder

INkeywords

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.

See all plans →
PlanPrice / moCredits / moPer 1,000 calls
Free$0Free tier—
Hobby$2915,000$3.87
Pro$7950,000$3.16
Scale$299250,000$2.39
How to

How do I use YouTube Scraper?

Built to be easy to start with, even if you've never scraped a website. Here's how to get YouTube data in a few minutes:

  1. Create a free Scrapier accountSign up with your email and copy your API key.
  2. Pick the endpoint for your dataChannels, videos, Shorts, comments, transcripts, playlists, search or trending.
  3. Add your inputOne channel handle, video or playlist URL, hashtag or keyword per call.
  4. Page through the resultsList endpoints return next_cursor; pass it back as cursor for the next page.
  5. Or search insteadSend a keyword in queries to youtube-search-full or youtube-search-suggestions.
  6. Run the requestOne GET with your key in the X-API-Key header, or ask your AI agent over MCP.
  7. Save the resultsJSON from the API: store it as is, or flatten it to CSV in a few lines.
Input

Input

Two ways in. Use whichever matches what you already have.

1

By URL

You already have the links to the pages you want.

Channel infoMrBeast
Video detailsyoutube.com/watch?v=dQw4w9WgXcQ
Playlist videosyoutube.com/playlist?list=PLObrtcm1Kw6Odq5ks2R3bbJUGVVwQF-vw
Commentsyoutube.com/watch?v=uKv3mi2t2KE
Best forknown pages · paste the link as it is
2

By keyword

You don't know the items yet: find them with a keyword.

fitness
SearchSearch suggestions
  • 30-minute fitness wor…1.2M viewCount
Best fordiscovery · plain text, "travel" not "#travel"
Example requests
// GET /api/v2/youtube-channel-video-scraper/
{
  "youtube_channels": "@mrbeast",
  "scrape_type": "videos"
}
// or
// GET /api/v2/youtube-channel-info/
{
  "urls": "MrBeast"
}
Send thisParameterAnd you can get
Channel handle or URLyoutube_channels · urls · channelsChannel info, videos, Shorts, live streams, community posts
Video URLurls · video_idsVideo details, transcript, comments, sponsors, thumbnails
Playlist URLurlsEvery video in the playlist and the playlist's details
Keyword or hashtagqueries · hashtagsSearch results, suggestions, hashtag videos
Countrycountry_codeTrending 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"
}

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.

  1. 1search-full
  2. 2channel-info
  3. 3channel-video-scraper
  4. 4video-sponsors
  5. 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.

  1. 1search-suggestions
  2. 2search-full
  3. 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.

  1. 1channel-video-scraper
  2. 2shorts
  3. 3comments-scraper
  4. 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.

  1. 1playlist
  2. 2video-details
  3. 3subtitles
  4. 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.

  1. 1trending
  2. 2trending-shorts
  3. 3hashtag-videos
  4. 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.

0Credits for a failed call

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.

FeatureScrapier YouTube ScraperYouTube Data APIDIY scraper
Whose dataAny public channel or videoAny public channel or videoAny public channel or video
TranscriptsAny video with captionsOnly videos you are allowed to editBuild and maintain a caption parser
SetupOne API keyGoogle Cloud project, API key or OAuthProxies, browsers, parsers
CostFrom $2.39 per 1,000 callsFree, within a daily quota of unitsServers, proxies and engineering time
AI agentsMCP server includedNoneBuild 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.

Get started

Start pulling YouTube data in 60 seconds

Free API key. No sales call, no proxy setup, and failed calls are free.