TikTok accounts matching a name or keyword, with handles, ids, follower counts and linked profiles.
2 credits/ call
Never more than 6 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/tiktok.search_users" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"taylor swift"}'{
"output": {
"found": true,
"data": {
"hasMore": "<boolean | null>",
"nextCursor": "<string | null>",
"users": [
{
"handle": "<string>",
"nickname": "<string | null>",
"followers": "<integer | null>",
"verified": "<boolean | null>", …
}
]
}
},
"credits": 2
}Input and output
2 fields
taylor swift.15 fields
Good to know
Flat price per page.
Pass nextCursor to continue.
Results are personal data of individuals. Lawful-use terms apply.
Zero hits return found: false. A miss is an answer, not an error.
The same key and credits work for every API.