Public profile of one TikTok account: bio, follower, like and video counts, verification, link in bio and stable ids.
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.profile" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"stoolpresidente"}'{
"output": {
"found": true,
"data": {
"handle": "stoolpresidente",
"displayName": "Dave Portnoy",
"followers": 4100000,
"verified": true, …
}
},
"credits": 2
}Input and output
1 field
stoolpresidente.14 fields
Good to know
Unknown, banned or removed handles return found: false. A miss is an answer, not an error.
Private accounts still return their public header fields with private: true.
secUid feeds tiktok.profile_reposts.
The same key and credits work for every API.