Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

TikTok Profile Region

Dokumentacja API
https://api.sandbase.ai/v1/api/tiktok/profile-region

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

Cena
Od $0.0012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
TikTok username without the leading @ (e.g. "stoolpresidente").
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
TikTokOd $0.0012 za wywołanieJSON
TikTokOd $0.0012 za wywołanieJSON
TikTokOd $0.0008 za wywołanieJSON
TikTokOd $0.0008 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON

Przewodniki:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API TikTok Profile Region?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/profile-region z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API TikTok Profile Region?

Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API TikTok Profile Region?

Wymagane: handle (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API TikTok Profile Region?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego TikTok lub klucza API?

Nie. TikTok Profile Region działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.