User Country
Retrieve user country data from TikTok through the OpenCrawl API. A single authenticated HTTP POST to /api/v1/crawl/tiktok/user_country returns clean, structured JSON — no scraping, proxies or browser automation to manage.
获取用户所在国家/地区
POST
/api/v1/crawl/tiktok/user_country
$0.0010 / call
JSON response
Parameters
| Parameter | Requirement | Example value |
|---|---|---|
| username | required | tiktok |
Example request
curl -X POST https://crawlinfra.cloud/api/v1/crawl/tiktok/user_country \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"username": "tiktok"}'
Example response
{
"request_id": "req_example",
"status_code": 200,
"data": {
"status_code": 0,
"country": "",
"user": {
"sec_uid": "MS4wLjABAAAAXpyUwdBG63Pb-RyzadZZWEwov5U6e-r3wGUf0-33ZUlMmULDeSxX4OQatZYD1Rcb",
"nickname": "TIKTOK",
"avatar_thumb": {
"url_list": [
"https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/7ac2b70e501986ac632ce2b67e1fa873~tplv-tiktokx-cropcenter:100:100.webp?dr=14579&refresh_token=5f83e67b&x-expires=1794553200&x-signature=ZDlBFChtnPn5UEhafy2ll9iXp%2F…"
]
},
"unique_id": ""
},
"_note": "region not exposed to anonymous client (login required)"
},
"metadata": {
"duration_ms": 123,
"cost": 0.001
}
}
Pricing
Pay-as-you-go: $0.0010 per successful request. You are billed only when the
business response is a success (HTTP 200) — failed or empty lookups are not charged. No subscription, no minimums.
Call it from your app
Create an API key, then POST to
/api/v1/crawl/tiktok/user_country. New accounts that sign in with Google get a
one-time $1 credit to start testing immediately.