Call it
curl https://api.peume.com/v1/call/tiktok-douyin-dou-video-details \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"video": "your video"
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-douyin-dou-video-details", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"video": "your video"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-douyin-dou-video-details",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"video": "your video"
}
},
)
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-dou-video-details.
Parameters
cookiestringUser www.douyin.com web Cookie
videoRequiredstring视频ID 或 视频链接/分享文本/Video ID, or share link/text. 例/e.g. "7651708301280906538" 或/or 含 v.douyin.com 链接的分享文案
Other ways to do it
Same job, other sources, cheapest first.
Get a video's metadata & statsBest sourceGet a video's metadata & stats. Checks the cheapest source first and moves to the next one until it finds an answer.Douyin video details by share linkGet single video data by sharing linkDouyin video details by share linkGet single video data by sharing linkDouyin video details by video idGet single video dataDouyin video details by video idGet single video data V2Douyin video details by video idGet single video data
