Get channel details
curl --request GET \
--url https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail \
--header 'x-rapidapi-key: <api-key>'import requests
url = "https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail"
headers = {"x-rapidapi-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-rapidapi-key': '<api-key>'}};
fetch('https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-rapidapi-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rapidapi-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail")
.header("x-rapidapi-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rapidapi-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Success",
"statusCode": 200,
"pagination": {
"total": 100,
"hasMore": true,
"continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
},
"data": {
"channelId": "UC0IpGYsi1KVorZ7QVCHfdax",
"title": "Loci Da Poet",
"description": "Loci (24/05/1988) - singer/songwriter/rapper/producer. He studied at The Art Institute in the US and when he returned to Vietnam, he joined SpaceSpeakers.",
"thumbnails": [
{
"url": "https://yt3.googleusercontent.com/S0SB2o1zofOBFt_GrY_uHxUURn_wV7_PEOd5F-m6l2hQHi4S_LYNv1RV3Wr2OeqMxhYtnQZqeg=s900-c-k-c0x00ffffff-no-rj",
"width": 900,
"height": 900
}
],
"subscriberCount": 1880000,
"videoCount": 167,
"viewCount": 663779872,
"verified": true,
"channelUrl": "https://www.youtube.com/channel/UC0IpGYsi1KVorZ7QVCHfdax",
"vanityChannelUrl": "http://www.youtube.com/@LociDaPoet",
"keywords": [
"Loci",
"Loci official",
"Loci le",
"demo Loci",
"Loci Da Poet",
"Loci Touliver"
],
"rssUrl": "https://www.youtube.com/feeds/videos.xml?channel_id=UC0IpGYsi1KVorZ7QVCHfdax",
"artistBio": null,
"banner": [
{
"url": "https://yt3.googleusercontent.com/g0rIeViGHcZ1ti9pNYMu4Lqoc6lJKDlpoe_onvEMJyHQPM7KwjuoJQYxzFv69pfwQb5Anmd38w=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
"width": 1060,
"height": 175
}
],
"country": "VN",
"isVerified": false,
"joinedDate": "2017-03-28",
"joinedDateText": "Joined Nov 29, 2020",
"links": [
{
"title": "Spotify",
"targetUrl": "https://spoti.fi/31qHk3p",
"icon": [
{
"url": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcSOhTw4jq5CXhpndPJi82GrFCfldDm7Q4haFK6Yv0Rf6ICUAkRD_TCzj3sE966JKT3nX9gzYwMFr7vGAiVI2ccNpVExFODhkwpqarJSEA",
"width": 16,
"height": 16
}
]
}
],
"stats": {
"subscribers": 1880000,
"subscribersText": "1.88M subscribers",
"videos": 167,
"videosText": null,
"views": 663779872,
"viewsText": "104.582.145 views"
},
"username": "@LociDaPoet"
}
}{
"message": "Bad request"
}{
"message": "Invalid API key"
}{
"message": "You are not subscribed to this API, please subscribe before using"
}{
"success": false,
"message": "Internal Server Error",
"status_code": 500,
"cost": 0,
"explain": "Internal Server Error"
}Channel
Get channel details
Get detailed information about a YouTube channel
GET
/
api
/
v1
/
chanel
/
detail
Get channel details
curl --request GET \
--url https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail \
--header 'x-rapidapi-key: <api-key>'import requests
url = "https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail"
headers = {"x-rapidapi-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-rapidapi-key': '<api-key>'}};
fetch('https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-rapidapi-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rapidapi-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail")
.header("x-rapidapi-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/chanel/detail")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rapidapi-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Success",
"statusCode": 200,
"pagination": {
"total": 100,
"hasMore": true,
"continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
},
"data": {
"channelId": "UC0IpGYsi1KVorZ7QVCHfdax",
"title": "Loci Da Poet",
"description": "Loci (24/05/1988) - singer/songwriter/rapper/producer. He studied at The Art Institute in the US and when he returned to Vietnam, he joined SpaceSpeakers.",
"thumbnails": [
{
"url": "https://yt3.googleusercontent.com/S0SB2o1zofOBFt_GrY_uHxUURn_wV7_PEOd5F-m6l2hQHi4S_LYNv1RV3Wr2OeqMxhYtnQZqeg=s900-c-k-c0x00ffffff-no-rj",
"width": 900,
"height": 900
}
],
"subscriberCount": 1880000,
"videoCount": 167,
"viewCount": 663779872,
"verified": true,
"channelUrl": "https://www.youtube.com/channel/UC0IpGYsi1KVorZ7QVCHfdax",
"vanityChannelUrl": "http://www.youtube.com/@LociDaPoet",
"keywords": [
"Loci",
"Loci official",
"Loci le",
"demo Loci",
"Loci Da Poet",
"Loci Touliver"
],
"rssUrl": "https://www.youtube.com/feeds/videos.xml?channel_id=UC0IpGYsi1KVorZ7QVCHfdax",
"artistBio": null,
"banner": [
{
"url": "https://yt3.googleusercontent.com/g0rIeViGHcZ1ti9pNYMu4Lqoc6lJKDlpoe_onvEMJyHQPM7KwjuoJQYxzFv69pfwQb5Anmd38w=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
"width": 1060,
"height": 175
}
],
"country": "VN",
"isVerified": false,
"joinedDate": "2017-03-28",
"joinedDateText": "Joined Nov 29, 2020",
"links": [
{
"title": "Spotify",
"targetUrl": "https://spoti.fi/31qHk3p",
"icon": [
{
"url": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcSOhTw4jq5CXhpndPJi82GrFCfldDm7Q4haFK6Yv0Rf6ICUAkRD_TCzj3sE966JKT3nX9gzYwMFr7vGAiVI2ccNpVExFODhkwpqarJSEA",
"width": 16,
"height": 16
}
]
}
],
"stats": {
"subscribers": 1880000,
"subscribersText": "1.88M subscribers",
"videos": 167,
"videosText": null,
"views": 663779872,
"viewsText": "104.582.145 views"
},
"username": "@LociDaPoet"
}
}{
"message": "Bad request"
}{
"message": "Invalid API key"
}{
"message": "You are not subscribed to this API, please subscribe before using"
}{
"success": false,
"message": "Internal Server Error",
"status_code": 500,
"cost": 0,
"explain": "Internal Server Error"
}Authorizations
API Key
Query Parameters
YouTube channel ID
Example:
"UCxoq-PAQeAdk_zyg8YS0JqA"
Language code
Available options:
ar, az, bg, bn, cs, da, de, el, en, en-GB, en-IE, en-NZ, en-SG, es, es-419, fi, fil, fr, he, hi, hr, hu, id, it, ja, ko, lt, lv, ms, nl, no, pl, pt-BR, pt-PT, ro, ru, sv, th, tr, uk, ur, vi, zh-Hant Example:
"en"
Geographical code
Available options:
US, AE, AR, AT, AU, AZ, BD, BE, BG, BR, CA, CH, CL, CO, CZ, DE, DK, DO, DZ, EC, EG, ES, FI, FR, GB, GH, GR, GT, HK, HN, HR, HU, ID, IE, IL, IN, IQ, IT, JP, KE, KR, LB, LT, LV, MA, MX, MY, NG, NL, NO, NZ, PE, PH, PK, PL, PT, RO, RU, SA, SE, SG, TH, TR, TW, UA, VE, VN, ZA Example:
"US"
Was this page helpful?
⌘I

