YouTube V2 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 profileReturns a channel's About information. Provide channel_id or channel_username; optional region and language fields localize the response.
/v2/youtube/channel/about1 crGET - List channel community postsReturns community posts and channel details for required channel_id. Optional region, language, and page_cursor control results.
/v2/youtube/channel/community1 crGET - List channel home sectionsReturns 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 crGET - List channel live streamsReturns a channel's live streams. Provide channel_id or channel_username; optional localization, ordering, and pagination fields control results.
/v2/youtube/channel/live-streams1 crGET - List channel playlistsReturns 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 crGET - List channel ShortsReturns a channel's Shorts. Provide channel_id or channel_username; optional localization, ordering, and pagination fields control results.
/v2/youtube/channel/shorts1 crGET - List channel store productsReturns 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 crGET - List channel videosReturns a channel's videos. Provide channel_id or channel_username; optional localization, ordering, and pagination fields control results.
/v2/youtube/channel/videos1 crGET - List featured channelsReturns channels featured by a channel. Provide channel_id or channel_username; optional region, language, and page_cursor control results.
/v2/youtube/channel/featured1 crGET - Search channelReturns 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 crGET
Playlist
1 endpointPost
2 endpoints- Get community postReturns one community post. Requires post_id; optional owner_channel, region, and language fields refine the response.
/v2/youtube/post1 crGET - List community post commentsReturns comments for required post_id. Optional owner channel, localization, ordering, and page_cursor control results.
/v2/youtube/post/comments1 crGET
Search
6 endpoints- Get home feedReturns home-feed listings. No query field is required; optional region, language, and page_cursor control results.
/v2/youtube/home1 crGET - List hashtag videosReturns videos and Shorts for required hashtag. Optional fields select content kind, localization, and pagination with page_cursor.
/v2/youtube/hashtag1 crGET - List Hype videosReturns Hype videos. No query field is required; optional region, language, and page_cursor control results.
/v2/youtube/hype1 crGET - List trending videosReturns the trending chart for required region_code. Optional trend_category and language_code select the category and language.
/v2/youtube/trending1 crGET - SearchReturns results matching required search_term. Optional fields select result type, duration, features, publication window, ordering, localization, and pagination.
/v2/youtube/search1 crGET - Search suggestionsReturns autocomplete suggestions for required search_term. Optional region and language fields localize results.
/v2/youtube/suggestions1 crGET
Shorts
2 endpoints- Get Shorts detailsReturns one Short and its metadata. Requires shorts_reference; optional region and language fields localize the response.
/v2/youtube/shorts1 crGET - List Shorts by soundReturns Shorts attributed to the sound from required shorts_reference. Optional localization and page_cursor control results.
/v2/youtube/shorts/sound1 crGET
URL Helper
1 endpointVideo
7 endpoints- Get caption trackReturns one caption track from required caption_source. Optional caption_style controls formatting and translation_code requests a translation.
/v2/youtube/subtitle1 crGET - Get transcriptReturns timed transcript segments for required video_reference. Optional language_code selects the transcript language.
/v2/youtube/transcript1 crGET - Get video detailsReturns metadata for one or more required comma-separated video_references. Optional region and language fields localize the response.
/v2/youtube/video1 crGET - List caption tracksReturns caption tracks for required video_reference. Optional caption_style and language_code control formatting and language.
/v2/youtube/subtitles1 crGET - List download streamsReturns stream metadata and available media links for required video_reference and viewer_region. Optional language_code localizes metadata.
/v2/youtube/download1 crGET - List related videosReturns videos and playlists related to required video_reference. Optional localization and page_cursor control results.
/v2/youtube/related1 crGET - List video commentsReturns comments for required video_reference. Optional region, language, ordering, and page_cursor control results.
/v2/youtube/comments1 crGET
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.