New Amazon API: We've just released a brand new way to scrape Amazon at scale Start Free Trial 🐝

YouTube API

Scrape YouTube search results, video metadata, transcripts, and trainability information in real-time with structured JSON output.

Start with 1,000 Free Credits Read the Documentation
based on 100+ reviews.
Mike Ritchie

Mike Ritchie

CEO @ SeekWell

Quote symbol

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 provider

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.

Four powerful endpoints for complete YouTube data extraction

Code

Response

{
  "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 [2025] 2 hours, 2 minutes"
          }
        },
        "runs": [
          {
            "text": "Python Full Course for Beginners [2025]"
          }
        ]
      },
      "trackingParams": "CLYFENwwGAAiEwjS-5-fyrmQAxXATJ4GHXUeA4lA5NPp7pSipckr",
      "videoId": "K5KVEU3aaeQ",
      "viewCountText": {
        "simpleText": "3,804,720 views"
      }
    },
],
"search": "Python tutorials"
}

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.

Ready to get started?

Get access to 1,000 free API credits, no credit card required!

Our Solution

One simple API call.
Thousands of exciting YouTube insights.

ScrapingBee 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.

See Documentation

Four Powerful Endpoints

Search results, video metadata, transcripts, and trainability data - all in clean, structured JSON. From search to AI training, we've got you covered.

See Documentation

Dev-Ready Integration

No framework needed. Use Python, JS, PHP, curl, and more. Start in minutes with clear docs and prebuilt code snippets.

See Documentation

Dev-friendly Control

Configure your request in seconds

Take control over what, where, and how you scrape with just a few parameters:

Search Query

Find videos, channels, or playlists with simple search queries

See Documentation

Video ID

Extract metadata, transcripts, or check trainability by video ID

See Documentation

Language

Get results or transcripts in any language

See Documentation

Transcript Origin

Choose between auto-generated or uploader-provided captions

See Documentation

Workflow

With Vs. Without ScrapingBee

Here's what your workflow looks like with or without ScrapingBee

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

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 use cases with code samples.

Exceptional support

Fast, engineer-led support via live chat or email

Simple, transparent pricing.

Cancel anytime, no questions asked!

Youtube API Requests
API Credits
Concurrent requests
Geotargeting
Screenshots, Extraction Rules, Google Search API
Priority Email Support
Dedicated Account Manager
Team Management
Freelance $49/mo
50,000
250,000
10
-
-
-
Startup $99/mo
200,000
1,000,000
50
-
-
Business + $599/mo
1,600,000
8,000,000
200
All prices are exclusive of VAT.

Need more credits and concurrency per month?

Talk to Sales

Not sure what plan you need? Try ScrapingBee with 1000 free API calls.

(No credit card required)

Trusted by 2,500+ developers and data teams

★ ★ ★ ★ ★

Scraping is 50% dealing with ever-changing HTML files and 50% massaging data into a useable format. ScrapingBee’s incredible AI feature can do both much better than I ever could. Now I can spend 100% of my time on what matters most; my business.

Arvid Kahl

Arvid Kahl,

Founder at Podscan

★ ★ ★ ★ ★

ScrapingBee helps us to retrieve information from sites that use very sophisticated mechanism to block unwanted traffic, we were struggling with those sites for some time now and I'm very glad that we found ScrapingBee.

Anton R

Anton R,

CTO

See review on

Capterra logo
★ ★ ★ ★ ★

ScrapingBee clear documentation, easy-to-use API, and great success rate made it a no-brainer.

Dominic Phillips

Dominic Phillips,

Co-Founder at CodeSubmit

★ ★ ★ ★ ★

I'm a PhD candidate with absolutely no web scraping experience and needed to scrape some data for a dissertation project. ScrapingBee helped me get the job done quickly and easily. Excellent customer support too. Couldn't be happier!

Sam,

PhD candidate

See review on

Capterra logo
★ ★ ★ ★ ★

So easy to set-up, straightforward and performance. They are reachable and kind, they introduced us properly their tool and offered the best solution for our need.

Maxime Y

Maxime Y,

Product Manager @ NordFolk

See review on

Capterra logo
★ ★ ★ ★ ★

Great SaaS tool for legitimate scraping and data extraction. ScrapingBee makes it easy to automatically pull down data from the sites that publish periodic data in a human-readable format.

Andy Hawkes

Andy Hawkes,

Founder at Loadster

★ ★ ★ ★ ★

Good experience. I found this proxy service more effective compared to previous ones that were being used. It is fast and efficient.

Aayushi,

Senior analyst

See review on

Capterra logo
★ ★ ★ ★ ★

Fantastic service: works flawlessly, best support I've experienced. It just works: and its parsing meta-language is wonderfully powerful. Most importantly, the support I've received has been superlative.

Mike P.

Mike P.,

VP

See review on

Capterra logo
★ ★ ★ ★ ★

Excellent service, glad we made the switch! We could always dedicate resources and build our own systems for everything... or we could simply call the scrapingBee API and focus on the data. It makes our work so much easier.

Daniel L,

Lead dev

See review on

Capterra logo

Our awards
from Capterra

Capterra Rating
Capterra Shortlist 2024 Capterra Best Ease of Use 2024 Capterra Most Recommended 2025 Capterra Best Ease of Use 2025