API Reference
YouTube Channel
Get YouTube channel information including name, description, subscriber count, video count, and profile images.
Use this to get a channel's name, description, handle, country, and subscriber, video, and view counts. Useful for creator research and influencer vetting.
3 credits per request.
Quick example
curl -G "https://api.webscraperapi.ai/v1/youtube_channel" \
-H "Authorization: Bearer $WEBSCRAPERAPI_API_KEY" \
--data-urlencode "channel_id=UCTESTCHANNEL0000000001" \
--data-urlencode "output=json"channel_id is the channel's ID, not its handle. YouTube Video and YouTube Search return the channel_id of each video.
Full API reference
Query Parameters
channel_id*string
YouTube channel ID.
Length
1 <= lengthoutput?|
Output format. Defaults to json.
timeout_ms?|
Request timeout in milliseconds.
Response Body
application/json
application/json
curl -X GET "https://api.webscraperapi.ai/v1/youtube_channel?channel_id=string"null{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}