1. Platforms
  2. YouTube

YouTube Scraper API

Pull YouTube channels, videos, comments, transcripts, playlists and sponsors as JSON. Failed requests are free.

100 free credits. No card needed.

Data

What you get from YouTube.

Channels

Name, bio, links, verified status, follower count and video count.

Videos

Title, description, publish date, length, views and likes.

Comments

Comment text, author, date, likes and replies.

TranscriptsThe spoken words as text, with timestamps and language.
Search and trendsVideos, channels and hashtags by keyword, plus trending videos.
PlaylistsTitle, owner, item count and cover image.
SponsorsThe sponsors named in a video.

Uses

What you can build with YouTube data.

Find creators

Search channels by keyword, then check their channel and recent videos.

Spot trends

Follow trending videos and hashtags.

Read the conversation

Pull the comments on any video to see what people are saying.

Search what was said

Turn videos into text you can search, summarize or give to an AI model.

Track sponsors

See which sponsors appear in a video.

Track a topic

Search videos by keyword to see what people share about a brand or topic.

Example

Your first request.

  1. Get a keySign up and get 100 free credits. No card needed.
  2. Send a requestPass a handle, URL or keyword with your key.
  3. Use the JSONThe same shape comes back from every platform.
1import os2import requests34params = {5    "handle": "NASA",6}7res = requests.get(8    "https://api.socialscrape.dev/v1/youtube/channel",9    headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10    params=params,11)12body = res.json()1314if body["ok"]:15    print(body["data"])16else:17    print(body["error"]["code"], body["error"]["message"])
200 OKSample response
{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_361e8bbed3bc9681bdc6d240",
  "data": {
    "object": "profile",
    "platform": "youtube",
    "id": "UCLA_DiR1FfKNvjuUpBHmylQ",
    "handle": "NASA",
    "name": "NASA",
    "headline": null,
    "url": "https://www.youtube.com/@NASA",
    "kind": "channel",
    "bio": "NASA's mission is to pioneer the future in space exploration, scientific discove...",
    "avatar_url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZpr...",
    "banner_url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_r...",
    "verified": true,
    "is_private": null,
    "external_url": "https://www.nasa.gov"
    ...
  },
  "cursor": null,
  "has_more": null
}

Pricing

Pay only for data you get.

  • A channel1 credit
  • A page of videos or search results1 credit
  • A caption transcript1 credit
  • A failed requestFree

Starter

$13

1,000 credits

$13.00 per 1,000

Get an API key
Most popular

Growth

$55

25,000 credits

$2.20 per 1,000

Get an API key

Scale

$349

230,000 credits

$1.52 per 1,000

Get an API key

Packs never expire. Monthly plans too. See pricing

FAQ

Questions

What does the YouTube API cost?

Most requests cost 1 credit, and transcripts have their own rule; each endpoint page states it. New accounts get 100 free credits. See pricing.

Does it need a YouTube login?

No. You send your SocialScrape key and never a platform password.

Is it live?

Yes. The endpoints are live: built, tested against recorded responses and watched by canaries. Get an API key.