Call it
curl https://api.peume.com/v1/call/douyin-xingtu-creator-rankings \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"time_window": "all_history_monthly",
"limit": 5,
"industry": "apparel_accessories",
"ranking_type": "all_top"
}
}'const res = await fetch("https://api.peume.com/v1/call/douyin-xingtu-creator-rankings", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"time_window": "all_history_monthly",
"limit": 5,
"industry": "apparel_accessories",
"ranking_type": "all_top"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/douyin-xingtu-creator-rankings",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"time_window": "all_history_monthly",
"limit": 5,
"industry": "apparel_accessories",
"ranking_type": "all_top"
}
},
)
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-rankings.
Parameters
time_windowRequiredstringSelects the Xingtu ranking snapshot: `latest_weekly`, `latest_monthly`, `all_history_weekly`, or `all_history_monthly`. This scopes the returned leaderboard and does not accept an arbitrary date range. One of: all_history_monthly, all_history_weekly, latest_monthly, latest_weekly.
all_history_monthly · all_history_weekly · latest_monthly · latest_weekly
limitintegerMaximum number of results, 1 to 5 (default 5). For some actions it counts pages or items per parent rather than final rows.
Example: 5
industryRequiredstringSelects the Xingtu creator-ranking industry: `apparel_accessories`, `automotive`, `beauty`, `electronics`, `food_beverage`, `household_goods`, or `mother_baby_pets`. It is a board filter, not a creator-authored tag. One of: apparel_accessories, automotive, beauty, electronics, food_beverage, household_goods, mother_baby_pets.
apparel_accessories · automotive · beauty · electronics · food_beverage · household_goods · mother_baby_pets
ranking_typeRequiredstringSelects the Xingtu ranking board: `all_top`, `head_tier`, `paid_ad_performers`, `rising_stars`, `sales_champions`, `top_creators`, or `viral_drivers`. Board names do not turn rank into a forecast or guaranteed outcome. One of: all_top, head_tier, paid_ad_performers, rising_stars, sales_champions, top_creators, viral_drivers.
all_top · head_tier · paid_ad_performers · rising_stars · sales_champions · top_creators · viral_drivers
