YouTube Data and Transcript API
Search YouTube videos and channels, read comments and playlists, and retrieve transcript text for research and AI applications. 18 documented operations, each with its own parameters and request price.
$0.002444 USD / requestPrice version 2026-11-23.retail-1
// YouTube Channel Details API · youtube API
const response = await fetch("https://socialmediascraper.org/v1/youtube/profile?handle=ThePatMcAfeeShow", {
method: 'GET',
headers: {
'x-api-key': 'YOUR_API_KEY',
'x-price-version': '2026-11-23.retail-1',
'Idempotency-Key': 'example-request-0001'
}
});
const data = await response.json();
console.log(data);Plan your YouTube data workflow
Use channel operations to inventory uploads, video details to enrich selected URLs and transcript text for summaries or RAG. Comments and community posts add audience and creator context beyond the video itself.
Endpoints
What you can do with the YouTube API
YouTube Channel Details API
GET /v1/youtube/profileLook up a YouTube channel's public identity, description and subscriber-related metrics.
YouTube Channel Videos API
GET /v1/youtube/channel_videosList videos from a YouTube channel to build a channel-specific video catalog.
YouTube Channel Video Search API
GET /v1/youtube/channel_searchSearch within a YouTube channel to locate uploads relevant to a specific subject.
YouTube Channel Playlists API
GET /v1/youtube/channel_playlistsDiscover the playlists published by a YouTube channel before exploring their video collections.
YouTube Channel Live Streams API
GET /v1/youtube/channel_livesRead the live-stream entries on a YouTube channel to research its broadcast content.
YouTube Channel Community Posts API
GET /v1/youtube/channel_community_postsCollect YouTube channel community posts to examine updates and conversations outside video uploads.
YouTube Channel Shorts API
GET /v1/youtube/shortsList YouTube Shorts from a channel to separate short-form uploads from longer videos.
YouTube Video Details API
GET /v1/youtube/postRetrieve a YouTube video or Short's title, channel, publication data and engagement metadata by URL.
YouTube Transcript API
GET /v1/youtube/transcriptGet YouTube transcript text from a video URL, with language and original-audio options for caption selection.
YouTube Video Sponsors API
GET /v1/youtube/video_sponsorsRead sponsor-related records for a YouTube video to support public sponsorship research.
YouTube Video Search API
GET /v1/youtube/searchSearch YouTube videos by keyword and the documented date, duration or ordering filters.
YouTube Search Suggestions API
GET /v1/youtube/search_typeaheadRetrieve YouTube typeahead suggestions to develop related queries from a seed phrase.
YouTube Hashtag Search API
GET /v1/youtube/search_hashtagFind YouTube content associated with a hashtag for topic-based video discovery.
YouTube Video Comments API
GET /v1/youtube/commentsRead top-level YouTube video comments and preserve their returned identifiers for reply exploration.
YouTube Comment Replies API
GET /v1/youtube/video_comment_repliesLoad replies within a YouTube comment thread using the continuation input for that conversation.
YouTube Trending Shorts API
GET /v1/youtube/shorts_trendingRetrieve trending YouTube Shorts to compare short-video subjects and creator activity.
YouTube Playlist Videos API
GET /v1/youtube/playlistRead the videos in a YouTube playlist to preserve a curated collection's membership.
YouTube Community Post Details API
GET /v1/youtube/community_postLook up a single YouTube community post to inspect the selected update's public content.