TikTok Profile Region API Documentation
The TikTok Profile Region API returns the country a TikTok creator's account is registered in, as a two-letter
code in profile.region. The region is the account's own country: it can differ from where the
creator's videos are posted or where their audience lives. For the creator's full profile use the
TikTok Profile API.
A username with no TikTok account behind it, a private account, an account TikTok shows only to signed-in viewers,
or an account with no public videos returns an error.
API Parameters
Search Query
-
- Name
-
username - Required
- Required
- Description
-
Parameter defines the TikTok username of the creator. You can use the username with or without the
@symbol.
For example,@willyrexandwillyrexboth look up the same creator.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
tiktok_profile_region.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Profile Region
profile.region is the two-letter country code of the region TikTok reports for the account, here AD (Andorra).
https://www.searchapi.io/api/v1/search?engine=tiktok_profile_region&username=willyrex
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "tiktok_profile_region",
"username": "willyrex"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_QrlGNWjgNE7ubl1WpZVeALdm",
"status": "Success",
"created_at": "2026-11-26T17:40:19Z",
"request_time_taken": 4.73,
"parsing_time_taken": 0.02,
"total_time_taken": 4.75,
"request_url": "https://www.tiktok.com/@willyrex",
"html_url": "https://www.searchapi.io/api/v1/searches/search_QrlGNWjgNE7ubl1WpZVeALdm.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_QrlGNWjgNE7ubl1WpZVeALdm"
},
"search_parameters": {
"engine": "tiktok_profile_region",
"username": "willyrex"
},
"profile": {
"id": "6782129058186970117",
"sec_uid": "MS4wLjABAAAA2JcqnflNYxNJ64i9L6CEWKNODN5DwkHG0vJAmfHqj2TlucrqidTHGjGLN-ARx7fe",
"username": "willyrex",
"link": "https://www.tiktok.com/@willyrex",
"name": "Willyrex",
"is_verified": true,
"region": "AD"
}
}