YouTube Video API
Using the YouTube Videos API you can scrape YouTube Videos results without worrying about proxy rotation and data parsing. Our API is fast and reliable.
Each successful request to this API will cost 5
credits.
Parameters
Scrapingdog Parameters
api_key
required
Your personal API key. Available on your dashboard. Type: String
Localization
country
This parameter specifies the country for the YouTube Videos using a two-letter country code (e.g., US for the United States, UK for the United Kingdom, or FR for France). For a complete list of supported countries, visit the Google countries page.
Default Value - us
Type - String
language
Language of the results. Possible Values - en
, es
, fr
, de
, etc. Visit Google's languages page for a complete list of supported countries.
Default Value - en
Type - String
Search Query
video_id required
The YouTube Video ID. Type: String
API Example
cURL "https://api.scrapingdog.com/youtube/video?api_key=APIKEY&v=0e3GPea1Tyg"
API Response
{
"video": {
"id": "0e3GPea1Tyg",
"title": "$456,000 Squid Game In Real Life!",
"length_seconds": 1541,
"views": "876,754,415 views",
"likes": "19M",
"author": "MrBeast",
"published_time": "3 years ago",
"description": "MAKE SURE YOU WATCH UNTIL GLASS BRIDGE IT'S INSANE!\n\nWatch Beast Games now on Prime Video!!! https://www.beastgames.com\n\nThank you GoPro for supplying us with cameras to get some of these shots. You can get them here: https://prf.hn/l/6bNbQB3\n\nShoutout to SOKRISPYMEDIA for helping with visuals!\n\nCheck out Viewstats! - https://www.viewstats.com/\n\nFor any questions or inquiries regarding this video please reach out to [email protected]\n\n----------------------------------------------------------------\nfollow all of these or i will kick you\n• Facebook - / mrbeast6000 \n• Twitter - / mrbeast \n• Instagram - / mrbeast \n--------------------------------------------------------------------",
"keywords": [
"video",
"sharing",
"camera phone",
"video phone",
"free",
"upload"
],
"thumbnail": "https://i.ytimg.com/vi/0e3GPea1Tyg/maxresdefault.jpg"
},
"channel": {
"id": "UCRkuUgtDAL4XSU5jB40J_wA",
"name": "MrBeast",
"link": "https://www.youtube.com/@MrBeast",
"subscribers": "440M subscribers",
"featured_channel": {
"id": "UCRkuUgtDAL4XSU5jB40J_wA",
"name": "MrBeast",
"link": "https://www.youtube.com/@MrBeast"
},
"thumbnail": "https://yt3.ggpht.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s176-c-k-c0x00ffffff-no-rj"
},
"comment": {
"total": "634K"
},
"key_moments": [
{
"title": "Red Light",
"start_seconds": 0,
"thumbnail": "https://i.ytimg.com/vi/0e3GPea1Tyg/hqdefault_4000.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLCcFMhkEIiZf7Wbhqtg8cRxUxbYXQ"
},
{
"title": "Honeycomb",
"start_seconds": 240,
"thumbnail": "https://i.ytimg.com/vi/0e3GPea1Tyg/hqdefault_246000.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLAAEgrwqyRs5nVyoPo5A4Lh5xAdEg"
},
{
"title": "Tug Of War",
"start_seconds": 460,
"thumbnail": "https://i.ytimg.com/vi/0e3GPea1Tyg/hqdefault_480000.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLA6xvoUFRrrAxFfDIcYOCKl2pYCgw"
},
{
"title": "Marbles",
"start_seconds": 624,
"thumbnail": "https://i.ytimg.com/vi/0e3GPea1Tyg/hqdefault_631000.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLC7asCNMSqwAsFtbVp_bSAUq8Vsdg"
},
{
"title": "Elimination",
"start_seconds": 676,
"thumbnail": "https://i.ytimg.com/vi/0e3GPea1Tyg/hqdefault_703500.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLDHmmk0CYH4kchE8zIEof35kOR8Fg"
},
{
"title": "Glass Bridge",
"start_seconds": 989,
"thumbnail": "https://i.ytimg.com/vi/0e3GPea1Tyg/hqdefault_993000.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLAW3qCntt6NTrsBPbX-xBO2HFXW_A"
},
{
"title": "Final Game",
"start_seconds": 1291,
"thumbnail": "https://i.ytimg.com/vi/0e3GPea1Tyg/hqdefault_1312500.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLCXWGtmxG_kLAPUXudsW-LUQ3J4xA"
}
],
"chapters": []
}
Last updated