Call it
curl https://api.peume.com/v1/call/youtube-channel-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"route": "anonymous-giraffe-5e3cbaa1",
"handle": "your handle"
}
}'const res = await fetch("https://api.peume.com/v1/call/youtube-channel-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"route": "anonymous-giraffe-5e3cbaa1",
"handle": "your handle"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/youtube-channel-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"route": "anonymous-giraffe-5e3cbaa1",
"handle": "your handle"
}
},
)
print(res.json()["output"])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-2.
Parameters
routestringUpstream source to run on; omit for "anonymous-giraffe-5e3cbaa1". anonymous-giraffe-5e3cbaa1 ($0.0002 per call, 100% uptime); anonymous-tiger-6f8f398d ($0.00032 per call, 100% uptime); chameleon ($0.00045 per call, 96.9% uptime); lynx ($0.0005 per call, 99.7% uptime); badger ($0.0008 per call, 92.5% uptime); anonymous-giraffe ($0.0012 per call, 99.9% uptime); anonymous-tiger ($0.0012 per call, 98.5% uptime). Output fields only some routes return: handle (chameleon, lynx, badger, anonymous-giraffe); links (lynx, anonymous-giraffe, anonymous-tiger); videos (chameleon, lynx, badger, anonymous-gir
anonymous-giraffe-5e3cbaa1 · anonymous-tiger-6f8f398d · chameleon · lynx · badger · anonymous-giraffe · anonymous-tiger
handlestringYouTube channel handle.
channelIdstringYouTube channel ID (UC...). Pass it directly when you have it: some sources accept only the ID and otherwise look up the handle first, which adds a step.
