API
YouTube Channel ID API
Turn a YouTube @handle into the channel ID. Returns clean JSON from one GET request.
Request
One GET request to /youtube/resolve?handle={handle}
curl "https://scrapingrabbit.com/youtube/resolve?handle=%40mkbhd"Example response
A real answer, shortened: long lists show three items and links have their tracking parameters removed.
{
"success": true,
"message": "Channel resolved successfully",
"data": {
"channel_id": "UCBJycsmduvYEL83R_U4JriQ",
"title": "Marques Brownlee",
"handle": "http://www.youtube.com/@mkbhd",
"resolved_via": "scrape"
},
"meta": {
"timestamp": "2026-11-28T08:21:46.441Z",
"apiVersion": "1.0",
"responseTime": "7057ms",
"engine": "youtube_resolve",
"input": "@mkbhd"
}
}What developers build with it
Use the YouTube API
Many API calls need the channel ID, not the handle.
Build an RSS feed
A channel's feed address is made from its ID.
Set up tools and embeds
Analytics tools and embeds often ask for the ID.
Limits to plan for
- Needs a channel handle (starting with @) or a link that contains one.
- Channels that have no handle cannot be looked up this way.
- Public requests are limited to 100 per 15 minutes per IP address. Some routes have a lower limit.
Frequently asked questions
What does a channel ID look like?
It starts with UC followed by 22 letters, numbers, dashes or underscores.
Does the ID ever change?
No. A handle can be changed by the owner, but the channel ID stays the same.
I only have a channel ID. What now?
You already have what this tool returns. Use the Channel Viewer to see the channel's details.
Can I get this data as JSON?
Yes. The ScrapingRabbit API returns the same channel id as JSON. See the endpoint shown on this page.
Ready to build?
See how access works, or read the shared response format and error codes.