Call it
curl https://api.peume.com/v1/call/tiktok-douyin-xingtu-creator-conversion-videos-or-products \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"o_author_id": "7589271892177518598",
"platform_source": 1,
"platform_channel": 1,
"detail_type": 1,
"industry_id": 0,
"time_range": 2
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-douyin-xingtu-creator-conversion-videos-or-products", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"o_author_id": "7589271892177518598",
"platform_source": 1,
"platform_channel": 1,
"detail_type": 1,
"industry_id": 0,
"time_range": 2
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-douyin-xingtu-creator-conversion-videos-or-products",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"o_author_id": "7589271892177518598",
"platform_source": 1,
"platform_channel": 1,
"detail_type": 1,
"industry_id": 0,
"time_range": 2
}
},
)
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: tiktok-douyin-xingtu-creator-conversion-videos-or-products.
Parameters
o_author_idRequiredstringCreator ID
Example: 7589271892177518598
platform_sourceintegerPlatform source
Example: 1
platform_channelintegerPlatform channel
Example: 1
detail_typeintegerDetail type, 1=videos, 2=products
Example: 1
industry_idintegerIndustry ID, 0=unlimited
Example: 0
time_rangeintegerTime range tier, default 2
Example: 2
pageintegerPage number
Example: 1
