YouTube Transcripts API
Using the YouTube Transcripts API you can scrape Youtube Transcripts results without worrying about proxy rotation and data parsing. Our API is fast and reliable.
Each successful request to this API will cost 1
credits.
Parameter
Description
api_key
Your personal API key. Available on your dashboard. Type: String
v
YouTube Video ID. Type: String
country
This is the ISO code of the country from which you are seeking Youtube search results.
Default Value - us
Type - String
language
Language of the results. Possible Values - en
, es
, fr
, de
, etc.
Default Value - en
Type - String
API Example
cURL "https://api.scrapingdog.com/youtube/transcripts?api_key=APIKEY&v=0e3GPea1Tyg"
API Response
{
"transcripts": [
{
"text": "- [Mr. Beast] I've\nrecreated every single set",
"start": 0.15,
"duration": 1.773
},
{
"text": "from Squid Game in real life,",
"start": 1.923,
"duration": 1.857
},
{
"text": "and whichever one of these 456\npeople survives the longest,",
"start": 3.78,
"duration": 3.6
},
{
"text": "wins 456 grand.",
"start": 7.38,
"duration": 2.1
},
........
]
}
Last updated