Videos a public TikTok account has reposted to its profile, with the original creator and engagement counts.
2 credits/ call
Never more than 79 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/tiktok.profile_reposts" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"secUid":"MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM","handle":"tiktok"}'{
"output": {
"found": true,
"data": {
"hasMore": "<boolean | null>",
"nextCursor": "<string | null>",
"videos": [
{
"durationSeconds": "<number | null>",
"likes": "<integer | null>",
"comments": "<integer | null>",
"authorVerified": "<boolean | null>", …
}
]
}
},
"credits": 2
}Input and output
4 fields
MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1….tiktok.29 fields
Good to know
Flat price per page.
Profiles without reposts return found: false. A miss is an answer, not an error.
One page per call. Send nextCursor back as cursor to read the next page.
The same key and credits work for every API.