Social Media Scraper
YouTube API

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

18Endpoints
RESTProtocol
JSONResponse
youtube.jsGET
// 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/profile

Look up a YouTube channel's public identity, description and subscriber-related metrics.

$0.002444 / request

YouTube Channel Videos API

GET /v1/youtube/channel_videos

List videos from a YouTube channel to build a channel-specific video catalog.

$0.002444 / request

YouTube Channel Video Search API

GET /v1/youtube/channel_search

Search within a YouTube channel to locate uploads relevant to a specific subject.

$0.002444 / request

YouTube Channel Playlists API

GET /v1/youtube/channel_playlists

Discover the playlists published by a YouTube channel before exploring their video collections.

$0.002444 / request

YouTube Channel Live Streams API

GET /v1/youtube/channel_lives

Read the live-stream entries on a YouTube channel to research its broadcast content.

$0.002444 / request

YouTube Channel Community Posts API

GET /v1/youtube/channel_community_posts

Collect YouTube channel community posts to examine updates and conversations outside video uploads.

$0.002444 / request

YouTube Channel Shorts API

GET /v1/youtube/shorts

List YouTube Shorts from a channel to separate short-form uploads from longer videos.

$0.002444 / request

YouTube Video Details API

GET /v1/youtube/post

Retrieve a YouTube video or Short's title, channel, publication data and engagement metadata by URL.

$0.002444 / request

YouTube Transcript API

GET /v1/youtube/transcript

Get YouTube transcript text from a video URL, with language and original-audio options for caption selection.

$0.002444 / request

YouTube Video Sponsors API

GET /v1/youtube/video_sponsors

Read sponsor-related records for a YouTube video to support public sponsorship research.

$0.002444 / request

YouTube Video Search API

GET /v1/youtube/search

Search YouTube videos by keyword and the documented date, duration or ordering filters.

$0.002444 / request

YouTube Search Suggestions API

GET /v1/youtube/search_typeahead

Retrieve YouTube typeahead suggestions to develop related queries from a seed phrase.

$0.002444 / request

YouTube Hashtag Search API

GET /v1/youtube/search_hashtag

Find YouTube content associated with a hashtag for topic-based video discovery.

$0.002444 / request

YouTube Video Comments API

GET /v1/youtube/comments

Read top-level YouTube video comments and preserve their returned identifiers for reply exploration.

$0.002444 / request

YouTube Comment Replies API

GET /v1/youtube/video_comment_replies

Load replies within a YouTube comment thread using the continuation input for that conversation.

$0.002444 / request

YouTube Trending Shorts API

GET /v1/youtube/shorts_trending

Retrieve trending YouTube Shorts to compare short-video subjects and creator activity.

$0.002444 / request

YouTube Playlist Videos API

GET /v1/youtube/playlist

Read the videos in a YouTube playlist to preserve a curated collection's membership.

$0.002444 / request

YouTube Community Post Details API

GET /v1/youtube/community_post

Look up a single YouTube community post to inspect the selected update's public content.

$0.002444 / request