YouTube Channel
Learn how to scrape YouTube channel data and the channel's video list using Web Scraper API. Find out more about its parameters and practical examples.
Request samples
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "youtube_channel",
"channel_handle": "@Oxylabs",
"parse": true,
"limit": 10
}'import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'youtube_channel',
'channel_handle': '@Oxylabs',
'parse': True,
'limit': 10
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('user', 'pass'),
json=payload,
)
# Print the JSON response with the result.
pprint(response.json())Request parameter values
Parameter
Description
Default Value
Last updated
Was this helpful?

