Scrape YouTube search results, video metadata, transcripts, and trainability information in real-time with structured JSON output. Mike Ritchie CEO @
SeekWell ScrapingBee simplified our day-to-day marketing and engineering operations a lot. We no longer have to worry about managing our own fleet of headless browsers, and we no longer have to spend days sourcing the right proxy providerYouTube Scraping API


Designed specifically for
The Problem Scraping YouTube shouldn't feel like hacking. Web scraping YouTube data is a pain: You're blocked by anti-bot systems Rotating proxies eat up time Managing headless browsers slows your team Video layouts and data structures keep changing Extracting transcripts requires complex parsing Metadata scattered across multiple page elements Whether you're building a product, training AI models, or running video analysis at scale, you shouldn't need a DevOps team just to get reliable results. Code Response Input Parameters search Search Query The text you'd type into the YouTube search bar. search_type Search Type The type of search: videos, channels, or playlists sort_by Sort by Sort by relevance, upload date, view count or rating 4k 4K Get only 4k outputs And more ... Check our full documentation for all available parameters.Powerful YouTube API endpoints for complete platform data extraction
{
"results": [
{
"avatar": {
"decoratedAvatarViewModel": {
"a11yLabel": "Go to channel",
"avatar": {
"avatarViewModel": {
"avatarImageSize": "AVATAR_SIZE_M",
"image": {
"sources": [
{
"height": 68,
"url": "https://yt3.ggpht.com/HCv0fXFEEcD0HRyF0_qR1K7b7qO3KCzmIoyH1DEJYB94CIUFhIE5i2t2IDIPX97W1-DK4hegww=s68-c-k-c0x00ffffff-no-rj",
"width": 68
}
]
}
}
},
"rendererContext": {
"commandContext": {
"onTap": {
"innertubeCommand": {
"browseEndpoint": {
"browseId": "UCWv7vMbMWH4-V0ZXdmDpPBA",
"canonicalBaseUrl": "/@programmingwithmosh"
},
"clickTrackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4nKAQQYKZqN",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/browse",
"rootVe": 3611,
"url": "/@programmingwithmosh",
"webPageType": "WEB_PAGE_TYPE_CHANNEL"
}
}
}
}
}
}
}
},
"channelThumbnailSupportedRenderers": {
"channelThumbnailWithLinkRenderer": {
"accessibility": {
"accessibilityData": {
"label": "Go to channel"
}
},
"navigationEndpoint": {
"browseEndpoint": {
"browseId": "UCWv7vMbMWH4-V0ZXdmDpPBA",
"canonicalBaseUrl": "/@programmingwithmosh"
},
"clickTrackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4nKAQQYKZqN",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/browse",
"rootVe": 3611,
"url": "/@programmingwithmosh",
"webPageType": "WEB_PAGE_TYPE_CHANNEL"
}
}
},
"thumbnail": {
"thumbnails": [
{
"height": 68,
"url": "https://yt3.ggpht.com/HCv0fXFEEcD0HRyF0_qR1K7b7qO3KCzmIoyH1DEJYB94CIUFhIE5i2t2IDIPX97W1-DK4hegww=s68-c-k-c0x00ffffff-no-rj",
"width": 68
}
]
}
}
},
"detailedMetadataSnippets": [
{
"maxOneLine": true,
"snippetHoverText": {
"runs": [
{
"text": "From the video description"
}
]
},
"snippetText": {
"runs": [
{
"text": "Master "
},
{
"bold": true,
"text": "Python"
},
{
"text": " from scratch No fluff—just clear, practical coding skills to kickstart your journey! ❤️ Join this channel to get ..."
}
]
}
}
],
"expandableMetadata": {
"expandableMetadataRenderer": {
"collapseButton": {
"buttonRenderer": {
"accessibilityData": {
"accessibilityData": {
"label": "Less"
}
},
"icon": {
"iconType": "EXPAND_LESS"
},
"isDisabled": false,
"size": "SIZE_DEFAULT",
"style": "STYLE_DEFAULT",
"trackingParams": "CLgFEPBbIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
"colorData": {
"darkColorPalette": {
"iconActivatedColor": 4293977599,
"iconDisabledColor": 4065544544,
"iconInactiveColor": 4287200411,
"primaryTitleColor": 4293977599,
"secondaryTitleColor": 4290028492,
"section1Color": 4280883519,
"section2Color": 4280357939,
"section3Color": 4279832358,
"section4Color": 4279241241
},
"lightColorPalette": {
"iconActivatedColor": 4282000217,
"iconDisabledColor": 4072058561,
"iconInactiveColor": 4286937238,
"primaryTitleColor": 4279504921,
"secondaryTitleColor": 4285093508,
"section1Color": 4294769663,
"section2Color": 4294242808,
"section3Color": 4293650418,
"section4Color": 4293123563
},
"saturatedColorPalettes": {
"darkThemePalette": {
"additiveBackground": 729761225,
"baseBackground": 4279042588,
"cardOutline": 176113097,
"collectionStack": 4283447918,
"dropShadow": 427771337,
"invertedBackground": 4289297635,
"keyLight": 4282263645,
"outline": 1071368946,
"overlayBackground": 3424455222,
"overlayTextPrimary": 4294373631,
"raisedBackground": 4280093238,
"textDisabled": 2145110770,
"textPrimary": 4293648634,
"textPrimaryInverse": 4279042588,
"textSecondary": 4290882781
},
"lightThemePalette": {
"additiveBackground": 561989065,
"baseBackground": 4294373631,
"cardOutline": 176113097,
"collectionStack": 4288842688,
"dropShadow": 427771337,
"invertedBackground": 4283111823,
"keyLight": 4290882781,
"outline": 858527307,
"overlayBackground": 3424455222,
"overlayTextPrimary": 4294373631,
"raisedBackground": 4294373631,
"textDisabled": 2133595723,
"textPrimary": 4280093238,
"textPrimaryInverse": 4294373631,
"textSecondary": 4283447918
}
},
"vibrantColorPalette": {
"iconActivatedColor": 4293977599,
"iconDisabledColor": 4064228684,
"iconInactiveColor": 4286475161,
"primaryTitleColor": 4293977599,
"secondaryTitleColor": 4291540965,
"section1Color": 4283642751,
"section2Color": 4283116914,
"section3Color": 4282525798,
"section4Color": 4282000217
}
},
"expandButton": {
"buttonRenderer": {
"accessibilityData": {
"accessibilityData": {
"label": "More"
}
},
"icon": {
"iconType": "EXPAND_MORE"
},
"isDisabled": false,
"size": "SIZE_DEFAULT",
"style": "STYLE_DEFAULT",
"trackingParams": "CLkFEPBbIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
"expandedContent": {
"horizontalCardListRenderer": {
"cards": [
{
"macroMarkersListItemRenderer": {
"isHighlighted": false,
"layout": "MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL",
"onTap": {
"clickTrackingParams": "COgFENDQBhgAIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"commandMetadata": {
"webCommandMetadata": {
"rootVe": 3832,
"url": "/watch?v=K5KVEU3aaeQ",
"webPageType": "WEB_PAGE_TYPE_WATCH"
}
},
"watchEndpoint": {
"videoId": "K5KVEU3aaeQ",
"watchEndpointSupportedOnesieConfig": {
"html5PlaybackOnesieConfig": {
"commonConfig": {
"url": "https://rr4---sn-p5qddn7r.googlevideo.com/initplayback?source=youtube&oeis=1&c=WEB&oad=3200&ovd=3200&oaad=11000&oavd=11000&ocs=700&oewis=1&oputc=1&ofpcc=1&msp=1&odepv=1&id=2b9295114dda69e4&ip=86.106.13.54&mt=1761196615&oweuc="
}
}
}
}
},
"thumbnail": {
"thumbnails": [
{
"height": 188,
"url": "https://i.ytimg.com/vi/K5KVEU3aaeQ/hqdefault_26866.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLA4-8JL41at5KzmN7PV73femAg7MA",
"width": 336
}
]
},
"timeDescription": {
"runs": [
{
"text": "0:00"
}
]
},
"title": {
"runs": [
{
"text": "Introduction"
}
]
},
"trackingParams": "COgFENDQBhgAIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
],
"nextButton": {
"buttonRenderer": {
"icon": {
"iconType": "CHEVRON_RIGHT"
},
"isDisabled": false,
"size": "SIZE_DEFAULT",
"style": "STYLE_DEFAULT",
"trackingParams": "CLsFEPBbIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
"previousButton": {
"buttonRenderer": {
"icon": {
"iconType": "CHEVRON_LEFT"
},
"isDisabled": false,
"size": "SIZE_DEFAULT",
"style": "STYLE_DEFAULT",
"trackingParams": "CLwFEPBbIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
"style": {
"type": "HORIZONTAL_CARD_LIST_STYLE_TYPE_ENGAGEMENT_PANEL_SECTION"
},
"trackingParams": "CLoFEJFaIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
"header": {
"collapsedLabel": {
"runs": [
{
"text": "Matching chapter"
}
]
},
"collapsedThumbnail": {
"thumbnails": [
{
"height": 188,
"url": "https://i.ytimg.com/vi/K5KVEU3aaeQ/hqdefault_57900.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBHvhpwPGcLWWeSYZwVntOAcJLL7Q",
"width": 336
}
]
},
"collapsedTitle": {
"runs": [
{
"text": "0:56 What is Python?"
}
]
},
"expandedTitle": {
"runs": [
{
"text": "Matching chapter"
}
]
},
"showLeadingCollapsedLabel": true
},
"loggingDirectives": {
"trackingParams": "CLcFEO_DByITCNL7n5_KuZADFcBMngYddR4DiQ==",
"visibility": {
"types": "12"
}
},
"trackingParams": "CLcFEO_DByITCNL7n5_KuZADFcBMngYddR4DiQ==",
"useCustomColors": true
}
},
"inlinePlaybackEndpoint": {
"clickTrackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4kyBnNlYXJjaFIQUHl0aG9uIHR1dG9yaWFsc5oBAxD0JMoBBBgpmo0=",
"commandMetadata": {
"webCommandMetadata": {
"rootVe": 3832,
"url": "/watch?v=K5KVEU3aaeQ&t=56s&pp=YAHIAQGiBhUB9JltFJnoDqTAmxc8_PTmQFcIHko%3D",
"webPageType": "WEB_PAGE_TYPE_WATCH"
}
},
"watchEndpoint": {
"params": "qgMQUHl0aG9uIHR1dG9yaWFsc7oDCwiCxqaxyu6T5bcBugMLCLzrvunSisf9rQG6AwoI9ZHmgKrt3advugMLCNfMkaf05Iry_gG6AwoIqtzq77bdreNmugMLCO2rkYPaiNePiwG6AwoInOL2vf_289V7ugMKCImavvWxwKSkEroDCgiFy625gLfCsB-6AwsIr-if09380NWSAboDCgj3nt-j4Y67tH26AwsIpJq8_daAwY6YAboDCgjo8Jft06v3wmG6AwoIzuWe3PXNmo8bugMLCKL6paXRsMnJlwG6AwsI49v38_WlgYCrAboDCwipzP2-0LPqt6sBugMKCLqHgKyji6LqPLoDCgiH2M6p2fCXsnnyAwUNpWUFPw%3D%3D",
"playerExtraUrlParams": [
{
"key": "inline",
"value": "1"
}
],
"playerParams": "YAHIAQGiBhUB9JltFJnoDqTAmxc8_PTmQFcIHko%3D",
"startTimeSeconds": 56,
"videoId": "K5KVEU3aaeQ",
"watchEndpointSupportedOnesieConfig": {
"html5PlaybackOnesieConfig": {
"commonConfig": {
"url": "https://rr4---sn-p5qddn7r.googlevideo.com/initplayback?source=youtube&oeis=1&c=WEB&oad=3200&ovd=3200&oaad=11000&oavd=11000&ocs=700&oewis=1&oputc=1&ofpcc=1&msp=1&odepv=1&id=2b9295114dda69e4&ip=86.106.13.54&osts=56&mt=1761196615&oweuc="
}
}
}
}
},
"lengthText": {
"accessibility": {
"accessibilityData": {
"label": "2 hours, 2 minutes, 21 seconds"
}
},
"simpleText": "2:02:21"
},
"longBylineText": {
"runs": [
{
"navigationEndpoint": {
"browseEndpoint": {
"browseId": "UCWv7vMbMWH4-V0ZXdmDpPBA",
"canonicalBaseUrl": "/@programmingwithmosh"
},
"clickTrackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4nKAQQYKZqN",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/browse",
"rootVe": 3611,
"url": "/@programmingwithmosh",
"webPageType": "WEB_PAGE_TYPE_CHANNEL"
}
}
},
"text": "Programming with Mosh"
}
]
},
"menu": {
"menuRenderer": {
"accessibility": {
"accessibilityData": {
"label": "Action menu"
}
},
"items": [
{
"menuServiceItemRenderer": {
"icon": {
"iconType": "ADD_TO_QUEUE_TAIL"
},
"serviceEndpoint": {
"clickTrackingParams": "CO4FEP6YBBgRIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"commandMetadata": {
"webCommandMetadata": {
"sendPost": true
}
},
"signalServiceEndpoint": {
"actions": [
{
"addToPlaylistCommand": {
"listType": "PLAYLIST_EDIT_LIST_TYPE_QUEUE",
"onCreateListCommand": {
"clickTrackingParams": "CO4FEP6YBBgRIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/playlist/create",
"sendPost": true
}
},
"createPlaylistServiceEndpoint": {
"params": "CAQ%3D",
"videoIds": [
"K5KVEU3aaeQ"
]
}
},
"openMiniplayer": true,
"videoCommand": {
"clickTrackingParams": "CO4FEP6YBBgRIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"commandMetadata": {
"webCommandMetadata": {
"rootVe": 3832,
"url": "/watch?v=K5KVEU3aaeQ",
"webPageType": "WEB_PAGE_TYPE_WATCH"
}
},
"watchEndpoint": {
"videoId": "K5KVEU3aaeQ",
"watchEndpointSupportedOnesieConfig": {
"html5PlaybackOnesieConfig": {
"commonConfig": {
"url": "https://rr4---sn-p5qddn7r.googlevideo.com/initplayback?source=youtube&oeis=1&c=WEB&oad=3200&ovd=3200&oaad=11000&oavd=11000&ocs=700&oewis=1&oputc=1&ofpcc=1&msp=1&odepv=1&id=2b9295114dda69e4&ip=86.106.13.54&mt=1761196615&oweuc="
}
}
}
}
},
"videoId": "K5KVEU3aaeQ",
"videoIds": [
"K5KVEU3aaeQ"
]
},
"clickTrackingParams": "CO4FEP6YBBgRIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ=="
}
],
"signal": "CLIENT_SIGNAL"
}
},
"text": {
"runs": [
{
"text": "Add to queue"
}
]
},
"trackingParams": "CO4FEP6YBBgRIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
{
"menuNavigationItemRenderer": {
"icon": {
"iconType": "BOOKMARK_BORDER"
},
"navigationEndpoint": {
"clickTrackingParams": "CO0FEJSsCRgSIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"commandMetadata": {
"webCommandMetadata": {
"rootVe": 83769,
"url": "https://accounts.google.com/ServiceLogin?service=youtube&uilel=3&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den&hl=en",
"webPageType": "WEB_PAGE_TYPE_UNKNOWN"
}
},
"signInEndpoint": {
"nextEndpoint": {
"clickTrackingParams": "CO0FEJSsCRgSIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"showSheetCommand": {
"panelLoadingStrategy": {
"requestTemplate": {
"panelId": "PAadd_to_playlist",
"params": "-gYNCgtLNUtWRVUzYWFlUQ%3D%3D"
}
}
}
}
}
},
"text": {
"runs": [
{
"text": "Save to playlist"
}
]
},
"trackingParams": "CO0FEJSsCRgSIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
{
"menuServiceItemDownloadRenderer": {
"serviceEndpoint": {
"clickTrackingParams": "COwFENGqBRgTIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"offlineVideoEndpoint": {
"onAddCommand": {
"clickTrackingParams": "COwFENGqBRgTIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"getDownloadActionCommand": {
"isCrossDeviceDownload": false,
"params": "CAIQAA%3D%3D",
"videoId": "K5KVEU3aaeQ"
}
},
"videoId": "K5KVEU3aaeQ"
}
},
"trackingParams": "COwFENGqBRgTIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
{
"menuServiceItemRenderer": {
"hasSeparator": true,
"icon": {
"iconType": "SHARE"
},
"serviceEndpoint": {
"clickTrackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4nKAQQYKZqN",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/share/get_share_panel",
"sendPost": true
}
},
"shareEntityServiceEndpoint": {
"commands": [
{
"clickTrackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4nKAQQYKZqN",
"openPopupAction": {
"beReused": true,
"popup": {
"unifiedSharePanelRenderer": {
"showLoadingSpinner": true,
"trackingParams": "COsFEI5iIhMI0vufn8q5kAMVwEyeBh11HgOJ"
}
},
"popupType": "DIALOG"
}
}
],
"serializedShareEntity": "CgtLNUtWRVUzYWFlUQ%3D%3D"
}
},
"text": {
"runs": [
{
"text": "Share"
}
]
},
"trackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4k="
}
}
],
"trackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4k="
}
},
"navigationEndpoint": {
"clickTrackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4kyBnNlYXJjaFIQUHl0aG9uIHR1dG9yaWFsc5oBAxD0JMoBBBgpmo0=",
"commandMetadata": {
"webCommandMetadata": {
"rootVe": 3832,
"url": "/watch?v=K5KVEU3aaeQ&t=56s&pp=ygUQUHl0aG9uIHR1dG9yaWFscw%3D%3D",
"webPageType": "WEB_PAGE_TYPE_WATCH"
}
},
"watchEndpoint": {
"params": "uAI4qgMQUHl0aG9uIHR1dG9yaWFsc7oDCwiCxqaxyu6T5bcBugMLCLzrvunSisf9rQG6AwoI9ZHmgKrt3advugMLCNfMkaf05Iry_gG6AwoIqtzq77bdreNmugMLCO2rkYPaiNePiwG6AwoInOL2vf_289V7ugMKCImavvWxwKSkEroDCgiFy625gLfCsB-6AwsIr-if09380NWSAboDCgj3nt-j4Y67tH26AwsIpJq8_daAwY6YAboDCgjo8Jft06v3wmG6AwoIzuWe3PXNmo8bugMLCKL6paXRsMnJlwG6AwsI49v38_WlgYCrAboDCwipzP2-0LPqt6sBugMKCLqHgKyji6LqPLoDCgiH2M6p2fCXsnnyAwUNpWUFPw%3D%3D",
"playerParams": "ygUQUHl0aG9uIHR1dG9yaWFscw%3D%3D",
"startTimeSeconds": 56,
"videoId": "K5KVEU3aaeQ",
"watchEndpointSupportedOnesieConfig": {
"html5PlaybackOnesieConfig": {
"commonConfig": {
"url": "https://rr4---sn-p5qddn7r.googlevideo.com/initplayback?source=youtube&oeis=1&c=WEB&oad=3200&ovd=3200&oaad=11000&oavd=11000&ocs=700&oewis=1&oputc=1&ofpcc=1&msp=1&odepv=1&id=2b9295114dda69e4&ip=86.106.13.54&osts=56&mt=1761196615&oweuc="
}
}
}
}
},
"ownerBadges": [
{
"metadataBadgeRenderer": {
"accessibilityData": {
"label": "Verified"
},
"icon": {
"iconType": "CHECK_CIRCLE_THICK"
},
"style": "BADGE_STYLE_TYPE_VERIFIED",
"tooltip": "Verified",
"trackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4k="
}
}
],
"ownerText": {
"runs": [
{
"navigationEndpoint": {
"browseEndpoint": {
"browseId": "UCWv7vMbMWH4-V0ZXdmDpPBA",
"canonicalBaseUrl": "/@programmingwithmosh"
},
"clickTrackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4nKAQQYKZqN",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/browse",
"rootVe": 3611,
"url": "/@programmingwithmosh",
"webPageType": "WEB_PAGE_TYPE_CHANNEL"
}
}
},
"text": "Programming with Mosh"
}
]
},
"publishedTimeText": {
"simpleText": "8 months ago"
},
"richThumbnail": {
"movingThumbnailRenderer": {
"enableHoveredLogging": true,
"enableOverlay": true,
"movingThumbnailDetails": {
"logAsMovingThumbnail": true,
"thumbnails": [
{
"height": 180,
"url": "https://i.ytimg.com/an_webp/K5KVEU3aaeQ/mqdefault_6s.webp?du=3000&sqp=CNjA5scG&rs=AOn4CLCMGoX6lzMPFdk1n32HOyQ4fdOyvw",
"width": 320
}
]
}
}
},
"searchVideoResultEntityKey": "EgtLNUtWRVUzYWFlUSDnAigB",
"shortBylineText": {
"runs": [
{
"navigationEndpoint": {
"browseEndpoint": {
"browseId": "UCWv7vMbMWH4-V0ZXdmDpPBA",
"canonicalBaseUrl": "/@programmingwithmosh"
},
"clickTrackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4nKAQQYKZqN",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/browse",
"rootVe": 3611,
"url": "/@programmingwithmosh",
"webPageType": "WEB_PAGE_TYPE_CHANNEL"
}
}
},
"text": "Programming with Mosh"
}
]
},
"shortViewCountText": {
"accessibility": {
"accessibilityData": {
"label": "3.8 million views"
}
},
"simpleText": "3.8M views"
},
"showActionMenu": false,
"thumbnail": {
"thumbnails": [
{
"height": 202,
"url": "https://i.ytimg.com/vi/K5KVEU3aaeQ/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAXbPvWkQhvRSOYWD6mp9EVbfWSYg",
"width": 360
},
{
"height": 404,
"url": "https://i.ytimg.com/vi/K5KVEU3aaeQ/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAbeaIhlZJzT49VmWFTFrL3rCq--Q",
"width": 720
}
]
},
"thumbnailOverlays": [
{
"thumbnailOverlayTimeStatusRenderer": {
"style": "DEFAULT",
"text": {
"accessibility": {
"accessibilityData": {
"label": "2 hours, 2 minutes, 21 seconds"
}
},
"simpleText": "2:02:21"
}
}
},
{
"thumbnailOverlayToggleButtonRenderer": {
"isToggled": false,
"toggledAccessibility": {
"accessibilityData": {
"label": "Added"
}
},
"toggledIcon": {
"iconType": "CHECK"
},
"toggledServiceEndpoint": {
"clickTrackingParams": "COoFEPnnAxgCIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/browse/edit_playlist",
"sendPost": true
}
},
"playlistEditEndpoint": {
"actions": [
{
"action": "ACTION_REMOVE_VIDEO_BY_VIDEO_ID",
"removedVideoId": "K5KVEU3aaeQ"
}
],
"playlistId": "WL"
}
},
"toggledTooltip": "Added",
"trackingParams": "COoFEPnnAxgCIhMI0vufn8q5kAMVwEyeBh11HgOJ",
"untoggledAccessibility": {
"accessibilityData": {
"label": "Watch later"
}
},
"untoggledIcon": {
"iconType": "WATCH_LATER"
},
"untoggledServiceEndpoint": {
"clickTrackingParams": "COoFEPnnAxgCIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/browse/edit_playlist",
"sendPost": true
}
},
"playlistEditEndpoint": {
"actions": [
{
"action": "ACTION_ADD_VIDEO",
"addedVideoId": "K5KVEU3aaeQ"
}
],
"playlistId": "WL"
}
},
"untoggledTooltip": "Watch later"
}
},
{
"thumbnailOverlayToggleButtonRenderer": {
"toggledAccessibility": {
"accessibilityData": {
"label": "Added"
}
},
"toggledIcon": {
"iconType": "PLAYLIST_ADD_CHECK"
},
"toggledTooltip": "Added",
"trackingParams": "COkFEMfsBBgDIhMI0vufn8q5kAMVwEyeBh11HgOJ",
"untoggledAccessibility": {
"accessibilityData": {
"label": "Add to queue"
}
},
"untoggledIcon": {
"iconType": "ADD_TO_QUEUE_TAIL"
},
"untoggledServiceEndpoint": {
"clickTrackingParams": "COkFEMfsBBgDIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"commandMetadata": {
"webCommandMetadata": {
"sendPost": true
}
},
"signalServiceEndpoint": {
"actions": [
{
"addToPlaylistCommand": {
"listType": "PLAYLIST_EDIT_LIST_TYPE_QUEUE",
"onCreateListCommand": {
"clickTrackingParams": "COkFEMfsBBgDIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ==",
"commandMetadata": {
"webCommandMetadata": {
"apiUrl": "/youtubei/v1/playlist/create",
"sendPost": true
}
},
"createPlaylistServiceEndpoint": {
"params": "CAQ%3D",
"videoIds": [
"K5KVEU3aaeQ"
]
}
},
"openMiniplayer": true,
"videoId": "K5KVEU3aaeQ",
"videoIds": [
"K5KVEU3aaeQ"
]
},
"clickTrackingParams": "COkFEMfsBBgDIhMI0vufn8q5kAMVwEyeBh11HgOJygEEGCmajQ=="
}
],
"signal": "CLIENT_SIGNAL"
}
},
"untoggledTooltip": "Add to queue"
}
},
{
"thumbnailOverlayNowPlayingRenderer": {
"text": {
"runs": [
{
"text": "Now playing"
}
]
}
}
},
{
"thumbnailOverlayLoadingPreviewRenderer": {
"text": {
"runs": [
{
"text": "Keep hovering to play"
}
]
}
}
},
{
"thumbnailBottomOverlayViewModel": {
"badge": {
"thumbnailBadgeViewModel": {
"text": "2:02:21"
}
},
"enableGradientBackground": true,
"progressBar": {
"thumbnailOverlayProgressBarViewModel": {
"enableSegmentView": true,
"segmentDurationPercent": 2,
"segmentLabel": "0:56",
"startPercent": 0
}
}
}
}
],
"title": {
"accessibility": {
"accessibilityData": {
"label": "Python Full Course for Beginners [2026] 2 hours, 2 minutes"
}
},
"runs": [
{
"text": "Python Full Course for Beginners [2026]"
}
]
},
"trackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4lA5NPp7pSipckr",
"videoId": "K5KVEU3aaeQ",
"viewCountText": {
"simpleText": "3,804,720 views"
}
},
],
"search": "Python tutorials"
}
Ready to get started?
Start scraping YouTube with 1,000 free API credits, no credit card required!
How YouTube Scraper API works
With our YouTube API you control what, where, and how you scrape with just a few parameters:
Create an account and login to the dashboard commitment-free.
Quickly add our official Python library to your project. This makes it easy to send scraping requests without worrying about proxies or browsers.
Use your API key to fetch any web page. We do all the heavy lifting in the background, returning clean, ready-to-use HTML for you to parse and analyze.
Use our advanced features to tackle even the most complex sites. Our flexible options give you complete control over your scraping projects.
Our Solution One simple API call. Our YouTube data scraper saves you hours of setup, blocked requests, and broken code, from the first call to full-scale automation. Built-in Geo Control Forget VPNs or IP rotations. Scrape results as if you're searching from any location, in any language. Perfect for local video analysis. 99.9% Success Rate at Any Scale Our YouTube scraper infrastructure absorbs rate limits, quota drops, and regional throttling. Whether you're making 10 calls or 10 million, your pipeline stays stable, fast, and fully monitored. Dev-Ready Integration No framework needed. Use Python, JS, PHP, curl, and more. Scrape YouTube in minutes with clear docs and prebuilt code snippets. Dev-friendly Control With our YouTube API you control what, where, and how you scrape with just a few parameters: Search Query Find videos, channels, or playlists with simple search queries Video ID Extract metadata, transcripts, or check trainability by video ID Language Get results or transcripts in any language Transcript Origin Choose between auto-generated or uploader-provided captions Workflow Here's what your workflow looks like with or without ScrapingBee Setup Data Format Anti-bot handling Geo-targeting Speed to results Without ScrapingBee Proxy pool, browser infra, retry logic Raw HTML, constant cleaning Manual troubleshooting Manual proxies & VPNs Hours or days With ScrapingBee One simple API call Structured JSON Automatic Built-in Minutes only
Thousands of exciting YouTube insights.


Configure your request in seconds
With Vs. Without ScrapingBee





Our YouTube Scraper Features
Scraping YouTube has never been more simple with our powerful features. Built for speed and precision, it extracts accurate data at scale.

Use AI prompts to scrape YouTube pages effortlessly. Our scraper adapts to layout changes and outputs clean, structured JSON.
AI Web Scraping

Use AI prompts to scrape YouTube pages effortlessly. No coding or selectors needed.
Data Extraction

Capture high-quality screenshots of YouTube pages in seconds. Generate full-page or section-specific images.
Screenshot API

Automate scrolling, clicks, and other interactions to look more human. Our API handles JavaScript-rendered content to collect complete and accurate video data.
JavaScript Scraping

Connect our YouTube scraper API to Make to automate video monitoring and data delivery. Send results to Sheets, Slack, or APIs. No coding needed.
Make No-Code Scraping

Integrate our scraper with n8n to schedule video searches, extract metadata, or export reports automatically—completely code-free.
No-Code Scraping with n8n
Developer Experience
Top-rated support &
documentation
Our team is here to guide you when you need the extra assistance. And we're constantly working on new features to make your life easier.
Fantastic documentation
Take a look at our documentation and get started in minutes!

Code samples
Whatever the programming language you enjoy, we have written code samples ready.


Knowledge base
Our extensive knowledge base covers the most frequent YouTube scraper use cases with code samples.

Exceptional support
Fast, engineer-led support via live chat or email
Why ScrapingBee for YouTube Data?
Get instant access to video metadata, transcripts, search results, and channel data directly from YouTube.
- Content analysis
- Transcript extraction
- Video research
- ....and much more.
GDPR and CCPA compliant
ScrapingBee does not collect or store personal data from scraped sites unless their user explicitly requests it.

CAPTCHA bypass capacity
We handle proxy rotation to avoid IP-based blocking. With headless browser rendering, we mimic real user browsing behaviour and reduce the blocking risk.

Scalable
The platform scales smoothly with thousands of headless browsers and rotating proxies, ensuring fast, reliable performance even during traffic spikes.

Speed and accuracy
We deliver fast, reliable results in 1–5 seconds with high accuracy across most sites, even JavaScript-heavy ones.

Simple, transparent pricing.
Cancel anytime, no questions asked!
Need more credits and concurrency per month?
Talk to SalesNot sure what plan you need? Try ScrapingBee with 1000 free API calls.
(No credit card required)
3,000+ customers all around the globe use ScrapingBee to solve their web scraping needs.ScrapingBee in numbers



Trusted by developers


Trusted by 3,000+ developers and data teams
Our awards
from Capterra

Learn how to use our YouTube Scraper API for various use cases Expand your data collection beyond YouTube Scraper API. Scraping YouTube may be legally complex, as it could violate their terms of service. Always review legal guidelines and use ScrapingBee's custom settings responsibly. Yes, YouTube actively blocks web scrapers using sophisticated anti-bot systems including CAPTCHAs, IP rate limiting, and browser fingerprinting. ScrapingBee handles these challenges automatically with rotating proxies, headless browsers, and CAPTCHA solving, so you can scrape YouTube data reliably without getting blocked. You can scrape YouTube video transcripts using ScrapingBee's YouTube API. Simply provide the video URL or ID, and our API returns structured JSON data including transcripts in multiple languages if available. Yes, ScrapingBee's YouTube API can extract search results including videos, channels, and playlists. Always ensure your use case complies with YouTube's terms of service and applicable laws.YouTube Scraper Tutorials
More markets. More opportunities.



































































































































































































































































































































































































![]()
























































































![]()























































Frequently Asked Questions





