TikTok Profile API
Get a public TikTok profile as JSON from a handle, a numeric user id or a secUid: nickname, bio and link, verified and private flags, follower, following, like and video counts, avatar, and the account's id and sec_uid for the other TikTok endpoints.
Cost: 1 credit per successful call (free from cache, kept 60 seconds). Not found and failed calls are free. The profile call never adds lookup credits: it is the lookup.
Parameters
userpathrequiredmila.studio, with or without @), numeric user id, or secUid (MS4wLjABAAAA…). All digits means an id; write @12345 for a handle made only of digits.freshqueryoptionaltrue skips the cache.rawqueryoptionaltrue returns TikTok's own JSON in data (same price).Response
countsare exact. (Counts embedded in post lists, underauthor.counts, are rounded by TikTok on big accounts.)region,languageandcreated_atare filled when TikTok exposes them and arenullotherwise.- Private accounts still return their profile, with
is_private: true; their lists answerprivate_account.
FAQ
How do I get TikTok follower counts with an API?
Call GET /v1/tiktok/users/{handle}. data.counts.followers is the exact follower count; likes is the total likes the account received and videos its public post count.
What is a secUid?
TikTok's stable key for an account. Handles can change; the secUid and numeric id do not. Store sec_uid from the profile and send it to the list endpoints: it is the fastest identifier and never costs a lookup.