YouTube API
Fetch public YouTube data — channel details, videos, Shorts, community posts, playlists, and search, plus URL-resolution helpers.
29 endpoints
Endpoints
Each endpoint links to its request parameters, response schema, and code examples.
Channel
10 endpoints- Get channel profile (v2)GETReturns a channel's About information. Provide channel_id or channel_username; optional region and language fields localize the response.
/v2/youtube/channel/about1 cr - List channel community posts (v2)GETReturns community posts and channel details for required channel_id. Optional region, language, and page_cursor control results.
/v2/youtube/channel/community1 cr - List channel home sections (v2)GETReturns listings from a channel's Home tab. Provide channel_id or channel_username; optional region, language, and page_cursor control results.
/v2/youtube/channel/home1 cr - List channel live streams (v2)GETReturns a channel's live streams. Provide channel_id or channel_username; optional localization, ordering, and pagination fields control results.
/v2/youtube/channel/live-streams1 cr - List channel playlists (v2)GETReturns a channel's playlists and channel details. Provide channel_id or channel_username; optional localization, ordering, and pagination fields control results.
/v2/youtube/channel/playlists1 cr - List channel Shorts (v2)GETReturns a channel's Shorts. Provide channel_id or channel_username; optional localization, ordering, and pagination fields control results.
/v2/youtube/channel/shorts1 cr - List channel store products (v2)GETReturns products from a channel's Store tab. Provide channel_id or channel_username; optional region, language, and page_cursor control results.
/v2/youtube/channel/store1 cr - List channel videos (v2)GETReturns a channel's videos. Provide channel_id or channel_username; optional localization, ordering, and pagination fields control results.
/v2/youtube/channel/videos1 cr - List featured channels (v2)GETReturns channels featured by a channel. Provide channel_id or channel_username; optional region, language, and page_cursor control results.
/v2/youtube/channel/featured1 cr - Search channel (v2)GETReturns channel videos and playlists matching required search_term. Provide channel_id or channel_username; optional localization and page_cursor control results.
/v2/youtube/channel/search1 cr
Playlist
1 endpointPost
2 endpoints- Get community post (v2)GETReturns one community post. Requires post_id; optional owner_channel, region, and language fields refine the response.
/v2/youtube/post1 cr - List community post comments (v2)GETReturns comments for required post_id. Optional owner channel, localization, ordering, and page_cursor control results.
/v2/youtube/post/comments1 cr
Search
6 endpoints- Get home feed (v2)GETReturns home-feed listings. No query field is required; optional region, language, and page_cursor control results.
/v2/youtube/home1 cr - List hashtag videos (v2)GETReturns videos and Shorts for required hashtag. Optional fields select content kind, localization, and pagination with page_cursor.
/v2/youtube/hashtag1 cr - List Hype videos (v2)GETReturns Hype videos. No query field is required; optional region, language, and page_cursor control results.
/v2/youtube/hype1 cr - List trending videos (v2)GETReturns the trending chart for required region_code. Optional trend_category and language_code select the category and language.
/v2/youtube/trending1 cr - Search (v2)GETReturns results matching required search_term. Optional fields select result type, duration, features, publication window, ordering, localization, and pagination.
/v2/youtube/search1 cr - Search suggestions (v2)GETReturns autocomplete suggestions for required search_term. Optional region and language fields localize results.
/v2/youtube/suggestions1 cr
Shorts
2 endpoints- Get Shorts details (v2)GETReturns one Short and its metadata. Requires shorts_reference; optional region and language fields localize the response.
/v2/youtube/shorts1 cr - List Shorts by sound (v2)GETReturns Shorts attributed to the sound from required shorts_reference. Optional localization and page_cursor control results.
/v2/youtube/shorts/sound1 cr
URL Helper
1 endpointVideo
7 endpoints- Get caption track (v2)GETReturns one caption track from required caption_source. Optional caption_style controls formatting and translation_code requests a translation.
/v2/youtube/subtitle1 cr - Get transcript (v2)GETReturns timed transcript segments for required video_reference. Optional language_code selects the transcript language.
/v2/youtube/transcript1 cr - Get video details (v2)GETReturns metadata for one or more required comma-separated video_references. Optional region and language fields localize the response.
/v2/youtube/video1 cr - List caption tracks (v2)GETReturns caption tracks for required video_reference. Optional caption_style and language_code control formatting and language.
/v2/youtube/subtitles1 cr - List download streams (v2)GETReturns stream metadata and available media links for required video_reference and viewer_region. Optional language_code localizes metadata.
/v2/youtube/download1 cr - List related videos (v2)GETReturns videos and playlists related to required video_reference. Optional localization and page_cursor control results.
/v2/youtube/related1 cr - List video comments (v2)GETReturns comments for required video_reference. Optional region, language, ordering, and page_cursor control results.
/v2/youtube/comments1 cr
What you can build
- Build a channel and video discovery workflow.
- Analyze video metadata and audience comments.
Make your first request
Replace the placeholders with your input values. The endpoint reference explains each input and the returned fields.
curl -X GET "https://api.toolzerhub.com/v2/youtube/channel/search?search_term=<search_term>" -H "x-api-key: $TOOLZERHUB_API_KEY"Need a key? Create an account, then review credits and responses and errors.