Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Profile Region

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/profile-region

Resolve the home region (country) of a TikTok creator by handle.

Giá
Từ $0.0012USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
TikTok username without the leading @ (e.g. "stoolpresidente").
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

TikTok Profile Region API

Returns the home region of a TikTok creator as a two-letter country code. It needs one input, the creator's handle without the leading @.

Use cases

  • Check whether a creator is based in the US before adding them to a regional influencer campaign.
  • Filter a list of TikTok handles by country before outreach.
  • Add a country column to a creator database that only stores usernames.
  • Confirm a creator's market before you buy or plan local ads.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/profile-region" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle": "stoolpresidente"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
handlestringYesTikTok username without the leading @ (e.g. "stoolpresidente").

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "handle": "stoolpresidente",
    "profileUrl": "https://www.tiktok.com/@stoolpresidente",
    "region": "US"
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the handle matched a TikTok profile. A lookup that finds nothing returns found: false.
data.regionTwo-letter country code for the creator's home region, for example US.
data.handleThe TikTok username that was looked up, without the @.
data.profileUrlDirect link to the creator's TikTok profile page.

Notes

  • Pass handle without the leading @, for example stoolpresidente.
  • Check found before you read data.region.
  • For creator details beyond region, try TikTok Creator Info and Milestones.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTokTừ $0.0012 mỗi lần gọiJSON
TikTokTừ $0.0012 mỗi lần gọiJSON
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Profile Region?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/profile-region với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Profile Region có giá bao nhiêu?

Từ $0.0012 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok Profile Region chấp nhận những tham số nào?

Bắt buộc: handle (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Profile Region trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Profile Region chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.