Call it
curl https://api.peume.com/v1/call/douyin-xingtu-creator-link-metrics-by-creator-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"oAuthorId": "your oAuthorId",
"platform": "SHORT_VIDEO",
"industryTag": "ALL"
}
}'const res = await fetch("https://api.peume.com/v1/call/douyin-xingtu-creator-link-metrics-by-creator-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"oAuthorId": "your oAuthorId",
"platform": "SHORT_VIDEO",
"industryTag": "ALL"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/douyin-xingtu-creator-link-metrics-by-creator-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"oAuthorId": "your oAuthorId",
"platform": "SHORT_VIDEO",
"industryTag": "ALL"
}
},
)
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: douyin-xingtu-creator-link-metrics-by-creator-id.
Parameters
oAuthorIdRequiredstringAuthor's unique ID.
platformstringPlatform type. Available Values: - `SHORT_VIDEO`: Short video - `LIVE_STREAMING`: Live streaming - `PICTURE_TEXT`: Picture and text - `SHORT_DRAMA`: Short drama One of: SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA.
SHORT_VIDEO · LIVE_STREAMING · PICTURE_TEXT · SHORT_DRAMA
Example: SHORT_VIDEO
industryTagstringIndustry tag. Available Values: - `ALL`: All - `ELECTRONICS_AND_APPLIANCES`: Electronics and Appliances - `SHOPPING`: Shopping - `FOOD_AND_BEVERAGE`: Food and Beverage - `CLOTHING_AND_ACCESSORIES`: Clothing and Accessories - `HEALTHCARE_AND_MEDICAL`: Healthcare and Medical - `MEDICAL_INSTITUTIONS`: One of: ALL, ELECTRONICS_AND_APPLIANCES, SHOPPING, FOOD_AND_BEVERAGE, CLOTHING_AND_ACCESSORIES, HEALTHCARE_AND_MEDICAL, MEDICAL_INSTITUTIONS, HOME_AND_BUILDING_MATERIALS, LOCAL_SERVICES, BUSINESS_SERVICES, CULTURE_SPORTS_ENTERTAINMENT, BEAUTY_SERVICES.
ALL · ELECTRONICS_AND_APPLIANCES · SHOPPING · FOOD_AND_BEVERAGE · CLOTHING_AND_ACCESSORIES · HEALTHCARE_AND_MEDICAL · MEDICAL_INSTITUTIONS · HOME_AND_BUILDING_MATERIALS · LOCAL_SERVICES · BUSINESS_SERVICES · CULTURE_SPORTS_ENTERTAINMENT · BEAUTY_SERVICES …
Example: ALL
Other ways to do it
Same job, other sources, cheapest first.
