Get TikTok user country
Returns the registered country of a TikTok account, looked up by username (the handle without @). The response includes country and the account's user_id.
2 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
username*string
TikTok handle without the leading @, for example khaby.lame.
Length
1 <= lengthcurl -X GET "https://example.com/v2/tiktok/app/user/country?username=khaby.lame" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "country": "string", "user_id": "string", "property1": null, "property2": null }}