YouTube Metadata

You can get YouTube video metadata by providing a YouTube video ID to the youtube_metadata source.

Request samples

The following examples demonstrate how to retrieve the metadata of a YouTube video.

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "youtube_metadata",
        "query": "tIgIF5lve8U",
        "parse": true
    }'

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

Request parameter values

Generic

Parameter
Description
Default Value

source

Sets the scraper.

youtube_metadata

query

YouTube video ID.

-

parse

Enables parsing when set to true.

-

callback_url

URL to your callback endpoint. More info.

-

- mandatory parameter

Last updated

Was this helpful?