Back to YouTube
TikHub·YouTube

YouTube Web V2: Get channel ID from URL

/api/v1/youtube/web_v2/get_channel_idsync$0.0015 / call

Convert YouTube channel URL to channel ID.. Supports multiple URL formats including @username, /channel/, /c/, /user/ formats. (TikHub · YouTube Web V2)

Input
FieldTypeRequiredDescription
channel_urlstringyeswww.youtube.com / @username, https: / www.youtube.com / channel / UCxxxxxx, https: / www.youtube.com / c / channelname

Run it

curl -s https://www.sooma.dev/v1/run \ -H "Authorization: Bearer $SOOMA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"provider":"tikhub","endpoint":"/api/v1/youtube/web_v2/get_channel_id","input":{}}'

Or ask your agent: it will call inspect for this schema and run it over MCP.