Scrape a YouTube channel's videos
curl --request POST \
--url https://api.scrapeunblocker.com/content/youtube-channel \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/content/youtube-channel"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/content/youtube-channel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Plugins
Scrape a YouTube channel's videos
Returns a YouTube channel’s recent videos as JSON: videoId, title, views, published, thumbnail and a watch url, plus a channel summary (name, id). Pass a handle (@mkbhd), a channel id (UC...) or a channel URL. Returns the channel’s first page of videos (about 30).
Scrape a YouTube channel's videos
curl --request POST \
--url https://api.scrapeunblocker.com/content/youtube-channel \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/content/youtube-channel"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/content/youtube-channel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
Channel handle (@mkbhd), channel id (UC...) or a channel URL.
Which tab: videos, shorts, streams.
Exit-IP country (ISO-2).
Max videos to return (1-200). Honoured on the 'videos' tab; other tabs return a single scraped page.
Required range:
1 <= x <= 200Response
JSON with a channel summary and a videos array.

