YouTube Scraper scraper API

Scrapes YouTube videos, channels, playlists, comments, search results, and transcripts via the InnerTube API.

Social & content 10 capabilities stable 78.6% success rate

Capabilities

Every capability is one POST /execute call that returns structured JSON.

List Channel Community

youtube.channel-community.list

Stream community posts from a channel's community tab.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"limit":3,"url":"https://www.youtube.com/@MrBeast"},"capability":"youtube.channel-community.list"}'

Input

Field Type Required Description
limit integer optional
max_pages integer optional
url string required

List Channel Playlists

youtube.channel-playlists.list

Stream playlists from a channel's playlists tab.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"limit":3,"url":"https://www.youtube.com/@MrBeast"},"capability":"youtube.channel-playlists.list"}'

Input

Field Type Required Description
limit integer optional
max_pages integer optional
url string required

List Channel Shorts

youtube.channel-shorts.list

Stream shorts from a channel's shorts tab.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"limit":5,"url":"https://www.youtube.com/@MrBeast"},"capability":"youtube.channel-shorts.list"}'

Input

Field Type Required Description
limit integer optional
max_pages integer optional
url string required

List Channel Videos

youtube.channel-videos.list

Stream videos from a channel's videos tab with pagination.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"limit":5,"url":"https://www.youtube.com/@MrBeast"},"capability":"youtube.channel-videos.list"}'

Input

Field Type Required Description
limit integer optional
max_pages integer optional
url string required

Get Channel

youtube.channel.get

Fetch metadata for a YouTube channel.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.youtube.com/@MrBeast"},"capability":"youtube.channel.get"}'

Input

Field Type Required Description
fields array<string> optional
url string required YouTube channel URL, handle, or channel ID

List Comments

youtube.comments.list

Stream comments for a YouTube video.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"limit":5,"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},"capability":"youtube.comments.list"}'

Input

Field Type Required Description
limit integer optional
max_pages integer optional
url string required

Get Playlist

youtube.playlist.get

Fetch metadata and videos for a YouTube playlist.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.youtube.com/playlist?list=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf"},"capability":"youtube.playlist.get"}'

Input

Field Type Required Description
fields array<string> optional
limit integer optional
max_pages integer optional
url string required YouTube playlist URL or playlist ID

Search

youtube.search.query

Search YouTube for videos, channels, and playlists.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"golang tutorial"},"capability":"youtube.search.query"}'

Input

Field Type Required Description
filter string optional
limit integer optional
max_pages integer optional
query string required Search query

Get Transcript

youtube.transcript.get

Fetch transcript and caption segments for a YouTube video.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},"capability":"youtube.transcript.get"}'

Input

Field Type Required Description
language string optional Preferred language code (default: en)
url string required YouTube video URL or video ID

Get Video

youtube.video.get

Fetch metadata, streaming data, and engagement stats for a single YouTube video.

Request

curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},"capability":"youtube.video.get"}'

Input

Field Type Required Description
fields array<string> optional Optional field filter
url string required YouTube video URL or video ID

Run YouTube Scraper in under a minute

Sign in, create an API key, and try any capability in the playground before you write code.

Get an API key