YouTube
Channels, videos, shorts, live streams, playlists, comments and replies.
YouTube API pricing — $0.50 per 1,000 results
$SOCIALHOLMES_BASE_URL/api/public/v1/scrape/youtube/{endpoint}
How a call works#
Every YouTube endpoint takes the same body. You get a run back straight away with status queued; we send a signed webhook when it finishes, or you can poll GET /runs/:id. Results come from GET /runs/:id/results; comment and reply runs can also be read parsed from GET /runs/:id/comments.
202 Accepted (simplified)
{
"id": "run_b3a7710f",
"status": "queued",
"platform": "youtube",
"endpoint": "videos",
"target": "@MrBeast",
"requested": 100,
"created_at": "2026-11-01T09:14:07Z"
}
| Field | Type | Notes |
|---|---|---|
parameters | object | Required. The endpoint's parameters, listed below. |
limit | integer | How many results you want from a list endpoint. Sets the quote; you pay only for what's delivered. |
Billed per result delivered — $0.50 per 1,000. Each run is quoted from its limit and never billed above it. Empty, failed and cancelled runs cost nothing.
Endpoints#
11 endpoints, each on a page of its own. Every one is a POST, and every one answers with a run id.
-
POST
Channel
/scrape/youtube/channelChannel details — name, handle, subscriber and video counts. -
POST
Channels
/scrape/youtube/channelsChannels this channel features or subscribes to publicly. -
POST
Videos
/scrape/youtube/videosA channel's uploads, newest first. Use `limit` to say how many. -
POST
Shorts
/scrape/youtube/shortsA channel's Shorts. Use `limit` to say how many you want. -
POST
Live
/scrape/youtube/liveA channel's live streams, past and present. Use `limit` for how many. -
POST
Playlists
/scrape/youtube/playlistsA channel's playlists — title, video count and owner. -
POST
Playlist
/scrape/youtube/playlistThe videos inside one playlist. Use `limit` to say how many. -
POST
Video
/scrape/youtube/videoOne video's full record — description, counts, keywords, channel. -
POST
Comments
/scrape/youtube/commentsTop-level comments on a video. Use `limit` to say how many. -
POST
Hashtag
/scrape/youtube/hashtagVideos under a hashtag. Use `limit` to say how many you want. -
POST
Search
/scrape/youtube/searchKeyword search. Use `limit` to say how many results you want.
Authentication#
Every request needs a key, sent as a bearer token. Create one under API keys — the secret is shown once and never again.
Authorization: Bearer sh_<your key>