Call it
curl https://api.peume.com/v1/call/get-tiktok-video-3 \
-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/get-tiktok-video-3", {
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/get-tiktok-video-3",
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: get-tiktok-video-3.
Parameters
cache_max_agestringAccept a cached response no older than this. When one exists it is returned with "cached": true and a "cached_at" timestamp; otherwise a live result is fetched. A cached response is billed like a live one.
1d · 3d · 7d · 14d · 30d
trimbooleanSet to true to get a trimmed response
regionstringTwo-letter country code passed to the primary post source. Defaults to US. Try the creator's country if a post is unavailable. This does not guarantee a matching browser/proxy country or complete retrieval; the fallback source does not receive this parameter.
download_mediabooleanSet to true to download the video/images and get back permanent Supabase URLs.
urlRequiredstringTikTok video or photo/slideshow URL
get_transcriptbooleanThis detail endpoint does not use AI transcription or an AI fallback; missing captions return no transcript. For AI fallback, use /tiktok/video-transcript.
