↑ ↓ to move ↵ to open
Social & content · REST API · MCP server

YouTube Scraper API

Get public YouTube videos, channels, Shorts, live streams, comments, playlists and search results as clean JSON. Send a link, a handle or a search. No Google account and no API quota.

  • 1 credit per call
  • Failed calls are free
  • Updated
youtube.video.get completed
titlestringRick Astley - Never Gonna Give You Up (Official Video) (4K Rema…
channel_namestringRick Astley
view_countinteger1,825,190,023
like_countinteger19,482,118
duration_secondsinteger213
categorystringMusic
publish_datestring2009-10-24T23:57:33-07:00
channel_subscriber_countstring4.55M subscribers
date_textstringOct 24, 2009
descriptionstringThe official video for “Never Gonna Give You Up” by Rick Astley…
full_descriptionstringThe official video for “Never Gonna Give You Up” by Rick Astley…
is_family_safebooleantrue
is_livebooleanfalse
is_live_contentbooleanfalse
is_privatebooleanfalse
is_unlistedbooleanfalse
keywordsstringrick astley, Never Gonna Give You Up, nggyu, never gonna give y…
like_count_textstring19M
metadata_completebooleantrue
upload_datestring2009-10-24T23:57:33-07:00
view_count_textstring1,825,190,023 views
channel_idstringUCuAXFkgsw1L7xaCfnd5JJOw
channel_urlstring/@RickAstleyYT
embed_urlstringhttps://www.youtube.com/embed/dQw4w9WgXcQ
Endpoints

YouTube API endpoints

What each one takes and what it returns. Open one for a real response, every input and every field.

YouTube Video API

Get one video from its link or ID: title, description, channel, views, likes, length, category, keywords and publish date.

Sendurl Returnstitlechannel_nameview_countlike_countduration_secondscategory
1 credit

YouTube Channel API

Get a channel from its link, handle or ID: name, description, subscribers, video count, keywords and tabs.

Sendurl Returnstitlechannel_handlesubscriber_countvideo_countdescriptionis_family_safe
1 credit

YouTube Channel Videos API

List a channel's videos, newest first, with title, views and length, page by page.

Sendurl Returnstitleview_countduration_secondsvideo_idviewsduration
1 credit

YouTube Search API

Search YouTube for videos, Shorts, channels, playlists or live streams, filtered by upload date and length and sorted by relevance, date, views or rating.

Sendquery Returnstitleviewsview_countchannelchannel_idduration
1 credit

YouTube Comments API

Read a video's top or newest comments, and the replies to any of them.

Sendurl ReturnsJSON; every field is in the API reference
1 credit

YouTube Channel Shorts API

List a channel's Shorts with their view counts.

Sendurl Returnsheadlineviewsview_countaccessibility_textentity_idthumbnails
1 credit

YouTube Channel Playlists API

List the playlists on a channel's Playlists tab with their video counts.

Sendurl Returnstitlevideo_countplaylist_idauthortype
1 credit

YouTube Playlist API

Get a playlist from its link or ID: title, owner, video and view counts, and its videos page by page.

Sendurl Returnstitleis_editablelast_updatedownerowner_channel_idpages
1 credit

YouTube Community Post API

Get one community post from its link or ID: text, media, poll and vote count.

Sendurl Returnscontentauthorpost_idvote_countvote_count_approximatevote_count_text
1 credit

YouTube Typeahead Search API

Get the search suggestions YouTube offers for the start of a query, in the language you choose.

Sendquery Returnssuggestions
1 credit
Use cases

What teams build with YouTube data

Know before you build

How YouTube data behaves

REST API · MCP server

Call it from your code, or ask your agent

One request shape for every YouTube endpoint: the endpoint ID and its input. No SDK needed.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "youtube.video.get",  "input": {    "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"  }}'
Response
{  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",  "like_count": 19482118,  "view_count": 1825190023,  "category": "Music",  "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",  "channel_name": "Rick Astley",  "channel_subscriber_count": "4.55M subscribers",  "channel_url": "/@RickAstleyYT",  "date_text": "Oct 24, 2009",  "description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy a…",  "duration_seconds": 213,  "embed_url": "https://www.youtube.com/embed/dQw4w9WgXcQ",  "full_description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy a…",  "is_family_safe": true,  "is_live": false,  "is_live_content": false,  "is_private": false,  "is_unlisted": false,  "like_count_text": "19M",  "metadata_complete": true,  "publish_date": "2009-10-24T23:57:33-07:00",  "upload_date": "2009-10-24T23:57:33-07:00",  "video_id": "dQw4w9WgXcQ",  "view_count_text": "1,825,190,023 views",  "most_replayed": {    "video_id": "dQw4w9WgXcQ",    "segments": [      {        "duration_seconds": 2.14,        "intensity": 1,        "start_seconds": 0      },      {        "duration_seconds": 2.14,        "intensity": 0.4230315549340408,        "start_seconds": 2.14      }    ]  },  "keywords": [    "rick astley",    "Never Gonna Give You Up"  ]}
In your AI agent Claude · Cursor · any MCP client
1Add the Upscrape MCP server
https://data.upscrape.com/mcp
2Ask for the data in plain words

Use Upscrape to get the YouTube video youtube.com/watch?v=dQw4w9WgXcQ. How many views and likes does it have, and when was it published?

With Upscrape, look up the @NASA channel on YouTube. How many subscribers and videos does it have?

Using Upscrape, list NASA's latest YouTube videos with views and length, and tell me which ten got the most views.

The agent finds the endpoint, shows you the price, and runs it with your credits.
Social & content
Questions

YouTube Scraper API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
How is this different from the YouTube Data API?

The official API needs a Google project and works within a daily quota. Upscrape reads public YouTube pages, so you get videos, channels, comments and search results with one API key and no quota to plan around.

Do I need a Google account?

No. You send a link, a handle or a search and get JSON back. Nothing runs on your account. Private videos are not part of it.

Can I get a video's comments?

Yes, top or newest first, and the replies to any comment by passing back the replies_continuation it came with.

Can I get transcripts?

Not yet. Video details, channels, comments, playlists and search are available today.

What data can I get from YouTube?

Video, channel, channel videos, search, comments, channel shorts, channel live streams, channel playlists, playlist, channel community, community post, hashtag videos, typeahead search and trending shorts. Each is its own endpoint with a published input schema, and the response is JSON.

How much does the YouTube API cost?

Every YouTube endpoint costs 1 credit per successful call. You buy credits once, with no subscription, and paid credits never expire. New accounts get free credits to try it.

Can an AI agent use the YouTube API?

Yes. Connect any MCP client to the Upscrape MCP server with OAuth or an API key. The agent finds the YouTube endpoint, checks its price and runs it with the same credits as the REST API.

Is it legal to scrape YouTube?

Upscrape reads public pages only and needs no login. How you use the data is yours to decide under the laws that apply to you; we sign a data processing agreement for your legal review.

Get started

Your first YouTube call is free.

Up to 100 free credits to start, no card needed.