Call it
curl https://api.peume.com/v1/call/douyin-creator-audience \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"user_id": "your user id"
}
}'const res = await fetch("https://api.peume.com/v1/call/douyin-creator-audience", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"user_id": "your user id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/douyin-creator-audience",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"user_id": "your user id"
}
},
)
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-creator-audience.
Parameters
user_idRequiredstringThe Douyin creator's `secUid`, usually beginning with `MS4w`, used to read the available audience distribution and TGI signals. Use `user_id` from creator discovery, not a nickname, short Douyin ID, or buyer identifier.
dimensionstringSelects the `creator_audience` follower-segment view: `device_price_band` (default), `gender`, `age`, or `province`. Distribution values are raw share decimals from 0 to 1, not percentages; TGI remains a separate index. This parameter does not request individual follower records or buyer data. One of: age, device_price_band, gender, province.
age · device_price_band · gender · province
