YouTube Transcript

You can get YouTube video transcripts by providing a YouTube video ID to the youtube_transcript source.

Request samples

The example below illustrates how you can get YouTube video transcript.

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

We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.

Request parameter values

Generic

ParameterDescriptionDefault Value

source

Sets the scraper.

youtube_transcript

query

YouTube video ID.

-

callback_url

URL to your callback endpoint. More info.

-

- mandatory parameter

Last updated