Call it
curl https://api.peume.com/v1/call/douyin-xingtu-creator-homepage-videos-by-creator-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"oAuthorId": "your oAuthorId",
"page": 1,
"videoType": "ALL",
"onlyAssign": false
}
}'const res = await fetch("https://api.peume.com/v1/call/douyin-xingtu-creator-homepage-videos-by-creator-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"oAuthorId": "your oAuthorId",
"page": 1,
"videoType": "ALL",
"onlyAssign": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/douyin-xingtu-creator-homepage-videos-by-creator-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"oAuthorId": "your oAuthorId",
"page": 1,
"videoType": "ALL",
"onlyAssign": False
}
},
)
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-homepage-videos-by-creator-id.
Parameters
oAuthorIdRequiredstringAuthor's unique Xingtu ID.
pageintegerPage number, starting from 1.
Example: 1
keywordstringKeyword used to search creator homepage videos.
videoTypestringHomepage video type filter. Available Values: - `ALL`: All videos - `PERSONAL`: Personal videos - `XINGTU`: Xingtu videos One of: ALL, PERSONAL, XINGTU.
ALL · PERSONAL · XINGTU
Example: ALL
onlyAssignbooleanWhether to include only assigned videos. Xingtu usually shows this option when `videoType` is `XINGTU`.
Example: false
startDatestringStart publish date in yyyyMMdd format. The filter starts at 00:00:00 in Asia/Shanghai.
endDatestringEnd publish date in yyyyMMdd format. The filter ends at 23:59:59 in Asia/Shanghai.
Other ways to do it
Same job, other sources, cheapest first.
