handlestringobbligatorio
TikTok username without the leading @ (e.g. "stoolpresidente").
https://api.sandbase.ai/v1/api/tiktok/profile-regionResolve the home region (country) of a TikTok creator by handle.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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 @.
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.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | TikTok username without the leading @ (e.g. "stoolpresidente"). |
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
}
| Field | Meaning |
|---|---|
found | true when the handle matched a TikTok profile. A lookup that finds nothing returns found: false. |
data.region | Two-letter country code for the creator's home region, for example US. |
data.handle | The TikTok username that was looked up, without the @. |
data.profileUrl | Direct link to the creator's TikTok profile page. |
handle without the leading @, for example stoolpresidente.found before you read data.region.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
handlestringobbligatorioTikTok username without the leading @ (e.g. "stoolpresidente").
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
TikTok Profile RegionQuesta API TikTok | Da $0.0012 per chiamata | JSON |
TikTok | Da $0.0012 per chiamata | JSON |
TikTok | Da $0.0008 per chiamata | JSON |
TikTok | Da $0.0008 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/profile-region con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.0012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: handle (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. TikTok Profile Region funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok.