Call it
curl https://api.peume.com/v1/call/youtube-channel-profile-by-channel-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw"
}
}'const res = await fetch("https://api.peume.com/v1/call/youtube-channel-profile-by-channel-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/youtube-channel-profile-by-channel-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw"
}
},
)
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-profile-by-channel-id.
Parameters
channel_idRequiredstringChannel ID
Example: UCXuqSBlHAE6Xw-yeJA0Tunw
Other ways to do it
Same job, other sources, cheapest first.
A channel's profile & lifetime statsBest sourceA channel's profile & lifetime stats. Checks the cheapest source first and moves to the next one until it finds an answer.One YouTube channel's factsGet one YouTube channel's about page: handle, description, subscribers, video and view counts, join date, country and links.YouTube channel description by channel idYoutube: get channel description (web_v2)YouTube channel profile by id or username — subscribersRetrieves comprehensive YouTube channel profile data including name, avatar images, subscriber count, total video and view counts, join date, tags, and linked social accounts.YouTube channel profile by URLYouTube - Channels
