YouTube API
Channels, videos, shorts, live streams, playlists, comments and replies.
Endpoints#
13 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
Replies
/scrape/youtube/repliesComment replies on a video. Use `limit` to say how many you want. -
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. -
POST
Creators
/scrape/youtube/creatorsCreators ranked from a keyword search. Put the niche and the place in one query. One page load, so it is fast — and because a results row carries no subscriber count, the ranking is engagement totalled across each channel's videos in the results rather than an engagement rate.
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 lb_<your key>