Call it
curl https://api.peume.com/v1/call/youtube-channel-description-by-channel-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
"language_code": "zh-CN",
"country_code": "US",
"need_format": true
}
}'const res = await fetch("https://api.peume.com/v1/call/youtube-channel-description-by-channel-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
"language_code": "zh-CN",
"country_code": "US",
"need_format": true
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/youtube-channel-description-by-channel-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
"language_code": "zh-CN",
"country_code": "US",
"need_format": True
}
},
)
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-description-by-channel-id.
Parameters
channel_idstringChannel ID, can be obtained from channel URL via get_channel_id endpoint
Example: UCeu6U67OzJhV1KwBansH3Dg
continuation_tokenstringContinuation token for getting advanced info like channel creation date
language_codestringLanguage code
Example: zh-CN
country_codestringCountry code
Example: US
need_formatbooleanWhether to clean and format the data
Example: true
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 profile by channel idYoutube: get channel info (web)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
