YouTube APIs
Browse public YouTube API documentation. Availability follows the live catalog.
Get started
Learn to authenticate and send requests to YouTube APIs
Quickstart →Get a token →Examples →APIMethodPathCategory
Get channel community postsGet YouTube channel's community posts list
Supports pagination via continuation_tokenGET/api/v1/youtube/web_v2/get_channel_community_postsContent→Get channel descriptionGet YouTube channel description information (subscribers, videos, views, creation date, social links, etc.)GET/api/v1/youtube/web_v2/get_channel_descriptionData→Get channel ID from URLConvert YouTube channel URL to channel ID.
Supports multiple URL formats including @username, /channel/, /c/, /user/ formatsGET/api/v1/youtube/web_v2/get_channel_idData→Get channel shortsGet YouTube channel's Shorts (short videos) list
Supports pagination to get more shortsGET/api/v1/youtube/web_v2/get_channel_shortsData→Get channel URL from channel IDConvert YouTube channel ID to channel handle (@username)
Reverse operation of get_channel_id endpointGET/api/v1/youtube/web_v2/get_channel_urlData→Get channel videosGet YouTube channel video list
Supports pagination via continuation_tokenGET/api/v1/youtube/web_v2/get_channel_videosContent→General search (raw data, recommend V2)YouTube comprehensive search with multiple filter options for precise result filteringGET/api/v1/youtube/web_v2/get_general_searchSearch→General search V2Search YouTube videos, Shorts, channels, and playlists
Returns cleaned structured data (compared to get_general_search which returns raw data)
Supports multiple filter conditions and sorting options
Supports pagination for loading more resultsGET/api/v1/youtube/web_v2/get_general_search_v2Search→Get post comment repliesGet replies to a post comment (second-level comments)GET/api/v1/youtube/web_v2/get_post_comment_repliesComments→Get post commentsGet YouTube post (community post) comments
Supports pagination for more commentsGET/api/v1/youtube/web_v2/get_post_commentsComments→Get post detailGet YouTube post (community post) detail information
Includes post content, attachments, engagement dataGET/api/v1/youtube/web_v2/get_post_detailContent→Get related videosGet YouTube video's related content recommendations (recommended videos list)
Similar to the related videos shown on the right side of video playback page
Returns all recommended videos at once (typically 20-30 videos)GET/api/v1/youtube/web_v2/get_related_videosContent→Get search suggestionsGet YouTube search suggestions (autocomplete)
Similar to suggestions shown when typing in YouTube search boxGET/api/v1/youtube/web_v2/get_search_suggestionsSearch→Shorts search (raw data, recommend V2)YouTube Shorts specialized search using native YouTube APIGET/api/v1/youtube/web_v2/get_shorts_searchSearch→Shorts search V2Search specifically for YouTube Shorts
Returns cleaned structured data (compared to get_shorts_search which returns raw data)
Automatically filters non-Shorts content, returns only short videos
Supports paginationGET/api/v1/youtube/web_v2/get_shorts_search_v2Search→Get signed video stream URLGet signed playback URL for specific itag (ready to play)
Use with get_video_streams endpoint: first get all formats, then select itag to get playback URLGET/api/v1/youtube/web_v2/get_signed_stream_urlData→Get video captionsGet video caption list or caption content for a specific language
Supports multiple caption format outputsGET/api/v1/youtube/web_v2/get_video_captionsContent→Get video captions async job resultGet the result of an asynchronous caption job
For large videos, /get_video_captions returns status="processing" with a
job_id; use that job_id here to retrieve the final captions
Single-shot, non-blocking query; poll it until the job completesGET/api/v1/youtube/web_v2/get_video_captions_resultContent→Get video sub commentsGet video second-level comment repliesGET/api/v1/youtube/web_v2/get_video_comment_repliesComments→Get video commentsGet YouTube video first-level commentsGET/api/v1/youtube/web_v2/get_video_commentsComments→Get video informationGet YouTube video details
Returns raw complete data (includes playerResponse and initialData)GET/api/v1/youtube/web_v2/get_video_infoContent→Get video information V2Fetch YouTube video details via an alternative extraction path (more stable field extraction)
Use when v1 /get_video_info returns empty title/author (age-gated, unlisted, music videos, etc.)GET/api/v1/youtube/web_v2/get_video_info_v2Content→Get video streams infoGet all quality format information for YouTube video
Returns standard formats (merged audio/video) and adaptive formats (separate audio/video)GET/api/v1/youtube/web_v2/get_video_streamsContent→Get video streams info V2Get all quality format information and playback URLs for YouTube video
Returns standard formats (merged audio/video) and adaptive formats (separate audio/video)
Suitable for scenarios that need to display all quality optionsGET/api/v1/youtube/web_v2/get_video_streams_v2Content→Get download URLs with your fixed-exit proxyand request
Get selected video/audio download URLs, format metadata and expiration times.
This endpoint does not return media files or merge audio and video.
Send a POST JSON body over HTTPS with Authorization: Bearer <API_TOKEN>.
Never put proxy credentials in URL query parametersPOST/api/v1/youtube/web_v2/get_video_streams_v3Content→Search channelsSearch YouTube channels
Only returns channel-type search results (filters out videos, playlists, etc.)
Supports pagination to get more channelsGET/api/v1/youtube/web_v2/search_channelsSearch→Get channel IDGet channel IDGET/api/v1/youtube/web/get_channel_idData→Get channel ID from URL V2Convert YouTube channel URL to channel ID.
Supports multiple URL formats including @username, /channel/, /c/, /user/ formatsGET/api/v1/youtube/web/get_channel_id_v2Data→Get channel informationGet channel informationGET/api/v1/youtube/web/get_channel_infoData→Get channel short videosGet channel short videosGET/api/v1/youtube/web/get_channel_short_videosContent→Get channel URL from channel IDConvert YouTube channel ID to channel handle (@username)
Reverse operation of get_channel_id_v2 endpointGET/api/v1/youtube/web/get_channel_urlData→Get related videosGet related videos by video IDGET/api/v1/youtube/web/get_relate_videoContent→Search channelSearch channelGET/api/v1/youtube/web/search_channelSearch→Search videoSearch videoGET/api/v1/youtube/web/search_videoSearch→No matching APIs
Build with confidence
Read the docs →Need help with YouTube APIs?
Read the quickstart, review examples, or explore other platforms