Page of accounts a public TikTok profile follows, with each account’s handle, display name, bio and 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.following" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"stoolpresidente","userId":"6659752019493208069"}'{
"output": {
"found": true,
"data": {
"total": "<integer | null>",
"nextCursor": "<string | null>",
"following": [
{
"handle": "<string | null>",
"displayName": "<string | null>",
"followers": "<integer | null>",
"verified": "<boolean | null>", …
}
]
}
},
"credits": 2
}Input and output
4 fields
stoolpresidente.6659752019493208069.16 fields
Good to know
Following lists are personal data. Customers carry the lawful-use duty.
TikTok hides the list for some accounts.
One page per call. Send nextCursor back as cursor to read the next page.
Unknown handle? It comes back as not found, not as an error.
The same key and credits work for every API.