Call it
curl https://api.peume.com/v1/call/tiktok-video-download-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-video-download-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-video-download-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"url": "your url"
}
},
)
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-video-download-2.
Parameters
routestringUpstream source to run on; omit for "owl". owl ($0.00076 per call, 100% uptime); anonymous-tiger-6f8f398d ($0.00077 per call, 98.4% uptime); bison ($0.0008 per call, 98.6% uptime); ibex ($0.001 per call, 74.6% uptime); anonymous-tiger ($0.0012 per call, 57.8% uptime); giraffe ($0.0012 per call, 99.9% uptime). Output fields only some routes return: authorFollowers (anonymous-tiger, giraffe); authorVerified (ibex, anonymous-tiger, giraffe); height (ibex, anonymous-tiger, giraffe); watermarkedUrl (bison, anonymous-tiger, giraffe); width (ibex, anonymous-tiger, giraffe). A route can refuse an inpu
owl · anonymous-tiger-6f8f398d · bison · ibex · anonymous-tiger · giraffe
urlRequiredstringFull TikTok video URL. Share links and tracking query params are fine.
