circle-check
Documentation has been updated: see help center and changelog in one place.

YouTube

With Web Scraper APIarrow-up-right, you can extract and parse various types of YouTube data. Below is an overview of all supported YouTube source values.

Source
Description

youtube_search

Up to 20 search results for a search term of your choice.

youtube_search_max

Up to 700 search results for a search term of your choice.

youtube_download

Audio/video content of a YouTube video of your choice.

youtube_transcript

The transcript of a YouTube video of your choice.

youtube_metadata

The metadata of a YouTube video of your choice.

Getting started

Create your API user credentials: sign up for a free trial or purchase the product in the Oxylabs dashboardarrow-up-right to create your API user credentials (USERNAME and PASSWORD).

circle-exclamation

Request sample

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "youtube_search",
        "query": "how to make a website"
    }'

We use synchronous Realtimearrow-up-right integration method in our examples. If you would like to use Push-Pull integration, refer to the Integration Methods section.

Last updated

Was this helpful?