Social Media
YouTube Channel
Get structured details for a YouTube channel — title, description, subscriber/video/view counts, country, creation date, verification, avatar, banner, and external links — as JSON.
POST/api/v1/youtube/channel
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonchannel_idstringrequiredThe channel id (UC...), an @handle, or a channel URL. Handles and URLs are resolved server-side.
Example: UCSJ4gkVC6NrvII8umztf0Ow
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.youtube.channel(channel_id="@LofiGirl")
print(results)Response
"channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
"title": "Lofi Girl",
"description": "Lofi Girl, previously known as ChilledCow, is a channel focused on lofi hip hop and chillhop music to relax and study to.",
"handle": "@LofiGirl",
"url": "https://www.youtube.com/@LofiGirl",
"subscriber_count": 14700000,
"video_count": 993,
"view_count": 3456104200,
"country": "France",
"creation_date": "2015-03-18",
"verified": true,
"has_business_email": true,
"avatar": "https://yt3.googleusercontent.com/avatar=s800-c-k-c0x00ffffff-no-rj",
"banner": "https://yt3.googleusercontent.com/banner=w2560-fcrop64",
},
"response_time": 1121,
"credits_used": 1,
"credits_remaining": 4753
}