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

YouTube

With Web Scraper API, 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_video_trainability

Information about whether a YouTube video is eligible for AI training purposes.

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 dashboard to create your API user credentials (USERNAME and PASSWORD).

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 Realtime 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?