← API Store
Social
TikTok
TikTok
TikTok account region
GET /tiktok/v1/profile/regionEvery response includes credits_used: the credits this call cost.
Most common country the latest posts were published from.
Each call costs 2 credits; failed calls are free. Run it in the console playground to see a live result.
Parameters
| Name | Type | Description |
|---|---|---|
usernamerequired | string | Example: khaby.lame |
Every endpoint also takes: raw、fields、fresh、output、records
{
"account_region": null,
"cached": false,
"confidence": 1,
"created_at": "2016-08-10T22:02:34.000Z",
"credits_used": 4,
"language": "en",
"posts": [
{
"id": "7697307919943060767",
"region": null,
"url": "https://www.tiktok.com/@khaby.lame/video/7697307919943060767"
},
{
"id": "7694335322922044703",
"region": null,
"url": "https://www.tiktok.com/@khaby.lame/video/7694335322922044703"
},
"… 4 more"
],
"posts_checked": 2,
"region": "US",
"regions": {
"US": 2
},
"user": {
"avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/08987e23b94057953fd4f1738694bf5f~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr…",
"avatars": {
"larger": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/08987e23b94057953fd4f1738694bf5f~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr…",
"medium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/08987e23b94057953fd4f1738694bf5f~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9…",
"thumb": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/08987e23b94057953fd4f1738694bf5f~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9…"
},
"bio_link": null,
"commerce": {
"commerceUser": false
},
"created_at": "2016-08-10T22:02:34.000Z",
"followers": "162981557",
"following": "82",
"friends": "77",
"id": "127905465618821121",
"language": "en",
"likes": "2690375701",
"likes_given": "0",
"nickname": "Khabane lame",
"organization": 0,
"private": false,
"raw_stats": {
"diggCount": "0",
"followerCount": "162981557",
"followingCount": "82",
"friendCount": "77",
"heart": "2690375701",
"heartCount": "2690375701",
"videoCount": "1359"
},
"region": null,
"sec_uid": "MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA",
"secret": false,
"signature": "Se vuoi ridere sei nel posto giusto😎 If u wanna laugh u r in the right place😎",
"url": "https://www.tiktok.com/@khaby.lame",
"username": "khaby.lame",
"verified": true,
"videos": "1359"
},
"username": "khaby.lame"
} Response fields (53)
Field paths and types observed in the sample response; the live response is authoritative.
$ | object |
$.account_region | null |
$.cached | boolean |
$.confidence | integer |
$.created_at | string |
$.credits_used | integer |
$.language | string |
$.posts | array |
$.posts[] | object | string |
$.posts[].id | string |
$.posts[].region | null |
$.posts[].url | string |
$.posts_checked | integer |
$.region | string |
$.regions | object |
$.regions.US | integer |
$.user | object |
$.user.avatar | string |
$.user.avatars | object |
$.user.avatars.larger | string |
$.user.avatars.medium | string |
$.user.avatars.thumb | string |
$.user.bio_link | null |
$.user.commerce | object |
$.user.commerce.commerceUser | boolean |
$.user.created_at | string |
$.user.followers | string |
$.user.following | string |
$.user.friends | string |
$.user.id | string |
$.user.language | string |
$.user.likes | string |
$.user.likes_given | string |
$.user.nickname | string |
$.user.organization | integer |
$.user.private | boolean |
$.user.raw_stats | object |
$.user.raw_stats.diggCount | string |
$.user.raw_stats.followerCount | string |
$.user.raw_stats.followingCount | string |
$.user.raw_stats.friendCount | string |
$.user.raw_stats.heart | string |
$.user.raw_stats.heartCount | string |
$.user.raw_stats.videoCount | string |
$.user.region | null |
$.user.sec_uid | string |
$.user.secret | boolean |
$.user.signature | string |
$.user.url | string |
$.user.username | string |
$.user.verified | boolean |
$.user.videos | string |
$.username | string |