One page of the public videos a TikTok account has posted, newest or most popular first, with engagement counts.
2 credits/ call
Never more than 75 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/tiktok.profile_videos" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"stoolpresidente"}'{
"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
3 fields
stoolpresidente.29 fields
Good to know
Flat price per page.
Pass nextCursor to continue.
Pinned posts come first.
The feed is not an exhaustive inventory of a creator's posts.
Unknown or private handles and empty feeds return found: false. A miss is an answer, not an error.
The same key and credits work for every API.