TikTok User ID API
Last updated
Retrieve the unique numeric User ID (UID) for any TikTok user by providing their username. Essential for subsequent API requests. The response is a single JSON object with the id field, for example {"id": "107955"} for the official tiktok account. Store this ID once per account: /user-posts/, /user-followers/, /user-following/ and both info endpoints all key off the numeric userid rather than the handle, and handles can change while the ID never does.
https://api.tikliveapi.com/userid/
The username of the TikTok user.
https://api.tikliveapi.com/userid/?username=tiktok
Authenticate with your API key in the X-Api-Key header. Each successful request costs 1 credit, and the standard rate limit is 200 requests per minute per API key.
{
"id": "107955"
}