Scrape Everything
YouTubeMenu

YouTubeYouTube

7 endpoints. All of them accept a JSON body, support cache_days and return the standard response envelope.

Limitations: Unofficial API: not affiliated with or endorsed by the platform. Public data only. Counts can be YouTube's rounded figures; comments are top-level only; transcripts exist only for videos with captions.

POST/v1/youtube/profile

YouTube channel info by handle, channel ID or URL: title, description, approximate subscriber/video counts, avatar and banner.

YouTube Channel Scraper API: use cases, pricing and questions

Body parameters

Send one of username or channel. Add cache_days to any request to accept a cached result.

NameTypeRequiredDescription
usernamestringOne ofChannel @handle, handle, channel ID or channel URL.Example: @MrBeast
channelstringOne ofAlias of username (same accepted formats).Example: UCX6OQ3DkcsbYNE6H8uQQuVA
cache_daysintegerNoAccept a stored result up to this many days old (1 to 14). Omit for live data.

Example request

curl -X POST https://api.scrapeeverything.com/v1/youtube/profile \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"@MrBeast"}'
Response fields (14)

Returned inside data. Fields marked or null are null when the platform does not expose the value.

FieldTypeDescription
channel_idstring or nullChannel ID (UC...)
handlestring or nullChannel handle including '@'
titlestringChannel name
descriptionstringChannel description
keywordsstringChannel keywords as one string
subscriber_countinteger or nullApproximate subscribers parsed from rounded text
subscriber_count_textstring or nullRaw text, e.g. '521M subscribers'
video_countinteger or nullApproximate video count from rounded text
video_count_textstring or nullRaw text, e.g. '1K videos'
is_family_safebooleanChannel flagged family safe
channel_urlstring or nullVanity or canonical channel URL
avatar_urlstring or nullLargest avatar image URL
banner_urlstring or nullLargest banner image URL
available_countriesinteger or nullCOUNT of available country codes

Good to know

  • Subscriber and video counts are YouTube's rounded figures (for example 521M).
  • Legacy /user/ and /c/ links are not supported. Use the @handle or the channel ID (UC...).
Try it in the playground
POST/v1/youtube/videos

A YouTube channel summary plus its latest uploads (max 30) with title, approximate views, relative publish time, duration and thumbnail, with the channel header (handle, description, banner, video count).

YouTube Videos Scraper API: use cases, pricing and questions

Body parameters

Send one of username or channel. Add cache_days to any request to accept a cached result.

NameTypeRequiredDescription
usernamestringOne ofChannel @handle, handle, channel ID or channel URL.Example: MrBeast
channelstringOne ofAlias of username (same accepted formats).Example: UCX6OQ3DkcsbYNE6H8uQQuVA
limitintegerNoMaximum number of videos to return. From 1 to 30, default 12.Example: 5
cache_daysintegerNoAccept a stored result up to this many days old (1 to 14). Omit for live data.

Example request

curl -X POST https://api.scrapeeverything.com/v1/youtube/videos \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"MrBeast","limit":5}'
Response fields (26)

Returned inside data. Fields marked or null are null when the platform does not expose the value.

FieldTypeDescription
channel_idstring or nullChannel ID (UC...)
titlestringChannel name
channel_urlstring or nullVanity or canonical channel URL
avatar_urlstring or nullLargest avatar image URL
subscriber_countinteger or nullApproximate subscribers from rounded text
subscriber_count_textstring or nullRaw text, e.g. '521M subscribers'
handlestring or nullChannel handle including '@'
descriptionstringChannel description
keywordsstringChannel keywords as one string
video_countinteger or nullApproximate video count from rounded text
video_count_textstring or nullRaw text, e.g. '1K videos'
is_family_safebooleanChannel flagged family safe
banner_urlstring or nullLargest banner image URL
available_countriesinteger or nullCOUNT of available country codes
videos_fetchedintegerNumber of videos returned
has_morebooleanFirst page held more than limit
videos[]array of objectsLatest uploads from Videos tab, max limit
videos[].video_idstring11-char video ID
videos[].linkstringWatch URL
videos[].titlestringVideo title
videos[].view_countinteger or nullApproximate views from rounded text
videos[].view_count_textstring or nullRaw text, e.g. '74M views'
videos[].published_textstring or nullRelative time, e.g. '12 days ago'
videos[].duration_textstring or nullDuration badge, e.g. '32:15'
videos[].duration_secondsinteger or nullDuration in seconds
videos[].thumbnail_urlstring or nullLargest thumbnail URL

Good to know

  • Returns up to 30 latest uploads. View counts are approximate and publish times are relative, for example "2 days ago".
Try it in the playground
POST/v1/youtube/video

A single YouTube video by URL or ID: title, description, exact views, likes, duration, publish date, category, keywords and channel.

YouTube Video Scraper API: use cases, pricing and questions

Body parameters

Send one of url, id or video. Add cache_days to any request to accept a cached result.

NameTypeRequiredDescription
urlstringOne ofYouTube video URL (a bare ID also works).Example: https://www.youtube.com/watch?v=jNQXAC9IVRw
idstringOne of11-character video ID.Example: 0e3GPea1Tyg
videostringOne ofAlias (URL or ID).Example: https://youtu.be/dQw4w9WgXcQ
cache_daysintegerNoAccept a stored result up to this many days old (1 to 14). Omit for live data.

Example request

curl -X POST https://api.scrapeeverything.com/v1/youtube/video \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw"}'
Response fields (24)

Returned inside data. Fields marked or null are null when the platform does not expose the value.

FieldTypeDescription
video_idstring11-char video ID
linkstringCanonical watch URL
titlestringVideo title
descriptionstringFull video description
duration_secondsinteger or nullDuration in seconds
view_countinteger or nullExact view count
like_countinteger or nullLike count from microformat
published_atstring or nullPublish date from microformat (ISO)
categorystring or nullYouTube category name
is_livebooleanVideo is/was live-stream content
is_family_safeboolean or nullFlagged family safe
playabilitystring or nullPlayability status, e.g. 'OK', 'LOGIN_REQUIRED'
keywords[]array of stringsVideo tags, max 100
thumbnail_urlstring or nullLargest thumbnail URL
thumbnails[]array of objectsEvery standard thumbnail size on i.ytimg.com, largest first (maxres is missing for some low-resolution uploads)
thumbnails[].qualitystring'maxres', 'sd', 'hq', 'mq' or 'default'
thumbnails[].urlstringJPG URL
thumbnails[].widthintegerWidth in pixels
thumbnails[].heightintegerHeight in pixels
channelobjectUploading channel
channel.channel_idstring or nullChannel ID (UC...)
channel.namestringChannel name
channel.handlestring or nullChannel handle including '@'
channel.urlstring or nullChannel URL

Good to know

  • View and like counts are exact.
  • is_live is also true for recordings of finished live streams.
Try it in the playground
POST/v1/youtube/comments

Top-level comments of a YouTube video by URL or ID, sorted by top or newest: text, author, likes, reply count, pinned and hearted flags, plus the total comment count.

YouTube Comments Scraper API: use cases, pricing and questions

Body parameters

Send one of url or id. Add cache_days to any request to accept a cached result.

NameTypeRequiredDescription
urlstringOne ofYouTube video URL (watch, youtu.be, shorts, live or embed link; a bare ID also works).Example: https://www.youtube.com/watch?v=dQw4w9WgXcQ
idstringOne of11-character video ID.Example: dQw4w9WgXcQ
sortstringNotop or newest. Default top.Example: newest
limitintegerNoMaximum number of comments to return. From 1 to 100, default 20.Example: 20
cache_daysintegerNoAccept a stored result up to this many days old (1 to 14). Omit for live data.

Example request

curl -X POST https://api.scrapeeverything.com/v1/youtube/comments \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","limit":20}'
Response fields (22)

Returned inside data. Fields marked or null are null when the platform does not expose the value.

FieldTypeDescription
video_idstring11-char video ID
sortstringApplied sort: top or newest
comment_countinteger or nullTotal comments on the video (exact)
comments_fetchedintegerNumber of comments returned
has_morebooleanMore comments are available beyond limit
comments[]array of objectsTop-level comments, max limit
comments[].idstringComment ID
comments[].linkstringPermalink to the comment
comments[].textstringFull comment text
comments[].authorobjectComment author
comments[].author.namestring or nullDisplay name (usually the @handle)
comments[].author.channel_idstring or nullAuthor channel ID (UC...)
comments[].author.handlestring or nullAuthor handle including '@'
comments[].author.avatar_urlstring or nullAuthor avatar URL
comments[].author.is_channel_ownerbooleanAuthor is the video's channel
comments[].author.is_verifiedbooleanAuthor has a verified badge
comments[].like_countinteger or nullLikes, approximate from rounded text (0 when none)
comments[].like_count_textstring or nullRaw text, e.g. '8.4K'; null when no likes
comments[].reply_countinteger or nullNumber of replies
comments[].published_textstring or nullRelative time, e.g. '2 months ago' or '6 years ago (edited)'
comments[].is_pinnedbooleanPinned by the channel
comments[].is_heartedbooleanHearted by the channel

Good to know

  • Top-level comments only, about 20 per page; replies are not included. A pinned comment is listed first in both sorts.
  • Like counts are YouTube's rounded figures (for example 8.4K); comment_count is exact.
  • Returns 404 with code COMMENTS_DISABLED when comments are turned off, and NOT_FOUND when the video does not exist.
Try it in the playground
POST/v1/youtube/transcript

Transcript of a YouTube video from its captions: timed segments, joined plain text, chosen language and the list of available caption languages.

YouTube Transcript API: use cases, pricing and questions

Body parameters

Send one of url or id. Add cache_days to any request to accept a cached result.

NameTypeRequiredDescription
urlstringOne ofYouTube video URL (watch, youtu.be, shorts, live or embed link; a bare ID also works).Example: https://www.youtube.com/watch?v=dQw4w9WgXcQ
idstringOne of11-character video ID.Example: dQw4w9WgXcQ
langstringNoCaption language code such as en, de, pt-BR or es-419. Default: the video's original language.Example: en
cache_daysintegerNoAccept a stored result up to this many days old (1 to 14). Omit for live data.

Example request

curl -X POST https://api.scrapeeverything.com/v1/youtube/transcript \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'
Response fields (14)

Returned inside data. Fields marked or null are null when the platform does not expose the value.

FieldTypeDescription
video_idstring11-char video ID
languagestringLanguage code of the returned track
language_namestringTrack name, e.g. 'English' or 'English (auto-generated)'
is_auto_generatedbooleanTrack is YouTube's automatic captions
available_languages[]array of objectsAll caption tracks of the video
available_languages[].codestringLanguage code
available_languages[].namestringTrack name
available_languages[].is_auto_generatedbooleanAutomatic captions
segment_countintegerNumber of segments
textstringAll segments joined as plain text
segments[]array of objectsTimed caption segments
segments[].startnumberStart time in seconds (2 decimals)
segments[].durationnumber or nullDuration in seconds (2 decimals)
segments[].textstringSegment text

Good to know

  • Without lang, the hand-written track in the video's spoken language is preferred, then YouTube's default track, then automatic captions.
  • lang matches the exact code first, then the same base language (pt matches pt-BR). Machine-translated transcripts are not offered.
  • Returns 404 with code NO_TRANSCRIPT when the video has no captions or none in the requested language (the message lists the available codes).
Try it in the playground
POST/v1/youtube/playlist

A YouTube playlist by URL or ID: title, description, owner channel, video and view counts, plus its videos (max 100) with views, publish time and duration.

YouTube Playlist Scraper API: use cases, pricing and questions

Body parameters

Send one of url or id. Add cache_days to any request to accept a cached result.

NameTypeRequiredDescription
urlstringOne ofPlaylist URL or any YouTube link with a list= parameter (a bare playlist ID also works).Example: https://www.youtube.com/playlist?list=PLOzDu-MXXLlj7croDcwz33c-a5rpNEBNe
idstringOne ofPlaylist ID (PL..., OLAK5uy_..., UU...).Example: PLOzDu-MXXLlj7croDcwz33c-a5rpNEBNe
limitintegerNoMaximum number of videos to return. From 1 to 100, default 50.Example: 10
cache_daysintegerNoAccept a stored result up to this many days old (1 to 14). Omit for live data.

Example request

curl -X POST https://api.scrapeeverything.com/v1/youtube/playlist \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/playlist?list=PLOzDu-MXXLlj7croDcwz33c-a5rpNEBNe","limit":10}'
Response fields (32)

Returned inside data. Fields marked or null are null when the platform does not expose the value.

FieldTypeDescription
playlist_idstringPlaylist ID
titlestringPlaylist title
descriptionstringPlaylist description
channelobject or nullOwner channel
channel.namestring or nullChannel name
channel.channel_idstring or nullChannel ID (UC...)
channel.handlestring or nullChannel handle including '@' when YouTube exposes it
channel.urlstring or nullChannel URL
video_countinteger or nullNumber of videos in the playlist
video_count_textstring or nullRaw text, e.g. '43 videos'
view_countinteger or nullTotal playlist views
view_count_textstring or nullRaw text, e.g. '306,365 views'
thumbnail_urlstring or nullPlaylist thumbnail URL
urlstringPlaylist URL
videos_fetchedintegerNumber of videos returned
has_morebooleanThe playlist has more videos than returned
videos[]array of objectsVideos in playlist order, max limit
videos[].video_idstring11-char video ID
videos[].linkstringWatch URL
videos[].titlestringVideo title
videos[].channelobject or nullUploading channel
videos[].channel.namestring or nullChannel name
videos[].channel.channel_idstring or nullChannel ID (UC...)
videos[].channel.handlestring or nullChannel handle including '@' when YouTube exposes it
videos[].channel.urlstring or nullChannel URL
videos[].view_countinteger or nullApproximate views from rounded text
videos[].view_count_textstring or nullRaw text, e.g. '4.4M'
videos[].published_textstring or nullRelative time, e.g. '4 years ago'
videos[].duration_textstring or nullDuration badge, e.g. '2:03:14'
videos[].duration_secondsinteger or nullDuration in seconds
videos[].thumbnail_urlstring or nullLargest thumbnail URL
videos[].is_livebooleanLive right now

Good to know

  • Returns the first page of the playlist (up to 100 videos). Unavailable videos are hidden by YouTube, so a page can hold fewer than 100.
  • Video view counts are YouTube's rounded figures (for example 4.4M); playlist view and video counts are exact.
  • Returns 404 when the playlist does not exist or is private.
Try it in the playground