Every image of a public TikTok photo-mode (slideshow) post, in order, with the caption, author and engagement counts.
2 credits/ 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.photos" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.tiktok.com/@breannafriedman0/photo/7540000301621841183"}'{
"output": {
"found": true,
"data": {
"likes": "<integer | null>",
"comments": "<integer | null>",
"shares": "<integer | null>",
"authorVerified": "<boolean | null>", …
}
},
"credits": 2
}Input and output
1 field
https://www.tiktok.com/@breannafriedman….22 fields
Good to know
A regular video URL returns found: true with images=[].
Deleted, private or region-blocked posts return found: false. A miss is an answer, not an error.
Image URLs expire. Image URLs are signed and expire. Save the file if you need to keep it.
Return them to users, do not hotlink long-term.
The same key and credits work for every API.