PeumeAPI

Social media data · YouTube

YouTube channel id from channel URL

Youtube: get channel id (web_v2)

$0.0015 per callBackup source if the first one failsUsually answers in about a second

Call it

curl https://api.peume.com/v1/call/youtube-channel-id-from-channel-url-2 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "channel_url": "https://www.youtube.com/@CozyCraftYT"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: youtube-channel-id-from-channel-url-2.

Parameters

channel_urlRequiredstring

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

Example: https://www.youtube.com/@CozyCraftYT

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.