handlestringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
handlestringobrigatórioTikTok username without the leading @ (e.g. "stoolpresidente").
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
TikTok Profile RegionEsta API TikTok | A partir de $0.0012 por chamada | JSON |
TikTok | A partir de $0.0012 por chamada | JSON |
TikTok | A partir de $0.0008 por chamada | JSON |
TikTok | A partir de $0.0008 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
Guias:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/tiktok/profile-region com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
A partir de $0.0012 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: handle (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. TikTok Profile Region funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do TikTok separadamente.