Call it
curl https://api.peume.com/v1/call/douyin-xingtu-creator-conversion-videos-or-products-by-creator \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"oAuthorId": "your oAuthorId",
"platform": "SHORT_VIDEO",
"industryId": "ALL",
"range": "DAY_30",
"detailType": "VIDEO",
"page": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/douyin-xingtu-creator-conversion-videos-or-products-by-creator", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"oAuthorId": "your oAuthorId",
"platform": "SHORT_VIDEO",
"industryId": "ALL",
"range": "DAY_30",
"detailType": "VIDEO",
"page": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/douyin-xingtu-creator-conversion-videos-or-products-by-creator",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"oAuthorId": "your oAuthorId",
"platform": "SHORT_VIDEO",
"industryId": "ALL",
"range": "DAY_30",
"detailType": "VIDEO",
"page": 1
}
},
)
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-conversion-videos-or-products-by-creator.
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
industryIdstringIndustry category. 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_INSTITUTIO 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
rangestringTime range. Available Values: - `DAY_30`: Last 30 days - `DAY_90`: Last 90 days One of: DAY_30, DAY_90.
DAY_30 · DAY_90
Example: DAY_30
detailTypestringResource type. Available Values: - `VIDEO`: Video - `PRODUCT`: Product One of: VIDEO, PRODUCT.
VIDEO · PRODUCT
Example: VIDEO
pageintegerPage number.
Example: 1
