Direct media links for a public TikTok video: the no-watermark MP4, the watermarked MP4 and the cover, with size and duration.
1 credit/ call
Never more than 3 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/tiktok.video_download" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.tiktok.com/@scout2015/video/6718335390845095173"}'{
"output": {
"found": true,
"data": {
"width": "<integer | null>",
"height": "<integer | null>",
"durationSeconds": "<number | null>",
"authorVerified": "<boolean | null>", …
}
},
"credits": 1
}Input and output
1 field
https://www.tiktok.com/@scout2015/video….22 fields
Good to know
Returns URLs only — media is never stored or proxied (creator copyright).
CDN links expire. CDN links are signed, expire within hours and may be IP-bound, so download promptly from the same network. Save the file if you need to keep it.
Photo-mode posts carry no video file.
Unknown URL? It comes back as not found, not as an error.
The same key and credits work for every API.