Skip to content
truescrape

YouTube API

The TrueScrape YouTube API exposes 17 public endpoints covering Channel details, Channel videos, Channel community posts and Channel live streams. Every call is a GET against public, logged-out pages and returns the same unified schema as every other platform here. Calls cost 1 credit each. A cache hit is free, and a failed or empty response is never charged.

Endpoints

EndpointReturnsCreditsCacheableBatchable
/v1/youtube/channelChannel details1yesyes
/v1/youtube/channel-videosChannel videos1yesyes
/v1/youtube/channel/community-postsChannel community posts1yesyes
/v1/youtube/channel/livesChannel live streams1yesyes
/v1/youtube/channel/playlistsChannel playlists1yesyes
/v1/youtube/channel/shortsChannel shorts1yesyes
/v1/youtube/community-postCommunity post details1yesyes
/v1/youtube/playlistPlaylist contents1yesyes
/v1/youtube/search/hashtagSearch by hashtag1yesyes
/v1/youtube/search/typeaheadSearch typeahead1yesyes
/v1/youtube/shorts/trendingTrending shorts1yesyes
/v1/youtube/transcriptVideo transcript1yesyes
/v1/youtube/videoVideo or Short details1yesyes
/v1/youtube/video/comment-repliesComment replies1yesyes
/v1/youtube/video/commentsVideo comments1yesyes
/v1/youtube/video/sponsorsVideo sponsors (inferred)1yesyes

Questions

How much does the YouTube API cost?
Calls cost 1 credit each. Every endpoint is cacheable, and a cache hit costs nothing. A failed request and an empty result are both free, on every endpoint.
Does the YouTube API need a login or cookies?
No. Every endpoint reads public, logged-out pages only — no account, no cookies, no session. An API key identifies your own TrueScrape account and nothing else.
Can I fetch many YouTube targets in one request?
Yes. 17 of 17 are batchable: one POST to /v1/jobs/batch takes many targets and returns a job id to poll.
Can I watch YouTube endpoints for changes?
Yes, 13 of 17. A subscription polls on your schedule and fires your webhook only when the content changed; the rest carry x-subscribable: false in the spec.