YouTube Transcript API
Transcript
for YouTube, in one call.
The Transcript endpoint from ScrapeCreators gives developers reliable access to YouTube data without the hassle of building and maintaining scrapers. Our endpoint makes it easy to retrieve transcript data in real-time for your applications. Get transcript of a video or short
// Example: Transcript from the YouTube API
const response = await fetch(`https://api.scrapecreators.com/v1/youtube/video/transcript`, {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data); Endpoint spec
What the Transcript endpoint returns
/v1/youtube/video/transcript Parameters
url string
required
YouTube video or short URL
language string 2 letter language code, ie 'en', 'es', 'fr' etc. If the transcript is not available in the language you specify, the transcript will be null.
cache_max_age select If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)
Quick start
Transcript quick start
Sign up, grab your API key, paste this in. First response in under a minute.
// Example: Transcript from the YouTube API
const response = await fetch(`https://api.scrapecreators.com/v1/youtube/video/transcript`, {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data); Why us
Why use this Transcript endpoint
Real-time data access
Get the most up-to-date Transcript data without dealing with rate limits or IP blocks.
Simple integration
Clear documentation and a straightforward REST endpoint make it easy to get started in any language.
High reliability
Our infrastructure ensures high uptime and consistent performance for your applications, even at scale.
Comprehensive data
Access comprehensive Transcript data through our carefully designed endpoint.
Use cases
Transcript endpoint use cases
Data analysis
Analyze Transcript data to gain insights and make data-driven decisions.
Content monitoring
Monitor Transcript content to track changes and updates in real-time.
Integration
Integrate Transcript data into your applications and services.
Automation
Automate processes using Transcript data to improve efficiency.
Reporting
Generate reports and analytics using Transcript data.
Custom solutions
Build custom solutions leveraging Transcript data for your specific needs.
More YouTube endpoints
Keep exploring the YouTube API
Use this endpoint with related YouTube endpoints when you need profiles, posts, search, comments, and engagement data in one workflow.
Video Sponsors
GET /v1/youtube/video/sponsors Experimental: Find suspected sponsors/promoted brands for a YouTube video. This is inferred from public evidence, not an official YouTube sponsor field. Feedback welcome: support@scrapecreators.com
Search
GET /v1/youtube/search Search YouTube and get matching videos, channels, playlists, shorts, lives, etc. Video explaining the response format: https://www.tella.tv/video/explaining-youtube-search-results-payload-353a
Search by Hashtag
GET /v1/youtube/search/hashtag Search YouTube and get matching videos, channels, and playlists
Comments
GET /v1/youtube/video/comments Get comments from a video. Can only get 1k top comments and about 7k new comments.
Comment Replies
GET /v1/youtube/video/comment/replies Get replies to a specific comment on a YouTube video.
Trending Shorts
GET /v1/youtube/shorts/trending Get about 48 trending shorts. Continue hitting this to get more shorts (get new ones with each call)
FAQ
Questions we hear
about this endpoint.
Is the Transcript endpoint official?
No, ScrapeCreators provides an unofficial Transcript endpoint that lets you access YouTube data through our platform. We handle the complexities of data collection so you can focus on building your application.
How current is the Transcript data?
We provide real-time Transcript data from YouTube. When you make a request, we fetch the latest information available, so you always get fresh data.
Can I use the Transcript endpoint in production?
Absolutely. Many businesses rely on ScrapeCreators endpoints for their production applications. Our infrastructure is designed for reliability and performance at scale.
Do I need a credit card to try the Transcript endpoint?
No credit card required. Sign up for free and you get 100 credits on the house to test the Transcript endpoint before deciding on a plan. Credits never expire.
What format does the Transcript endpoint return?
The Transcript endpoint returns a clean JSON response over HTTPS. Call `GET https://api.scrapecreators.com/v1/youtube/video/transcript` with your API key and parse the response like any other REST API.
Get started
Start using Transcript
100 credits on the house. No credit card. Start pulling transcript data in under sixty seconds.
Also searched