Social Media
YouTube Channel Resolve
Resolve a channel @handle or URL to its canonical channel id (UC...) and channel url, as JSON.
POST/api/v1/youtube/channel/resolve
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/jsonchannelstringrequiredA channel @handle or a channel URL to resolve.
Example: @LofiGirl
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.youtube.channel_resolve(channel="@LofiGirl")
print(results)Response
"channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
"channel_url": "https://www.youtube.com/@LofiGirl"
},
"response_time": 638,
"credits_used": 1,
"credits_remaining": 4749
}