TikTok modelsapi generation api

tiktok/app-v3/user-country-by-username

Get user account country by username

Input
Idle

Example output — click Run to generate your own

API README

Get user account country by username

Purpose:

  • Get user account country by username Parameters:
  • username: Username, which can be obtained from the user's homepage link, for example: https://www.tiktok.com/@tiktok, the username is tiktok. Return:
  • User account country

[Example]

username = "tiktok"

{'username': 'tiktok', 'username_modify_time': 1760985494, 'user_id': '107955', 'sec_user_id': 'MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM', 'country': 'US', 'api_version': 'v1'}

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Related Models