querystringobrigatório
Seed keyword to expand (e.g. ashwagandha gummies).
https://api.sandbase.ai/v1/api/tiktok-shop/search-suggestionsGet TikTok Shop search autocomplete terms for a keyword: the long-tail queries shoppers actually type, for keyword and demand research.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
This API returns TikTok Shop search autocomplete suggestions for a seed keyword. It needs a query and can also take a country code and a language tag.
ashwagandha gummies into the long-tail searches shoppers type.country.curl -X POST "https://api.sandbase.ai/v1/api/tiktok-shop/search-suggestions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "ashwagandha gummies", "country": "US"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Seed keyword to expand (e.g. ashwagandha gummies). |
country | string | No | Two-letter country code of the TikTok Shop market (e.g. US). |
language | string | No | Language tag for the suggestions (e.g. en-US). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"suggestions": [
"ashwagandha gummies"
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.suggestions[] | Autocomplete terms for the seed keyword, as plain strings. Each string is a search phrase that can include the seed keyword plus extra words, such as ashwagandha gummies for men. |
data.suggestions[0] | In this response, the first suggestion repeats the seed keyword exactly. |
found | Boolean flag. It is true when the lookup returned data. |
outputs[0].data. A lookup that finds nothing still succeeds and returns found: false.country defaults to US and language defaults to en-US.Billed at the actual cost of each call, about $0.00095 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-shop/search-suggestions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "ashwagandha gummies",
"country": "US",
"language": "en-US"
}'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.
querystringobrigatórioSeed keyword to expand (e.g. ashwagandha gummies).
countrystringTwo-letter country code of the TikTok Shop market (e.g. US).
Padrão: "US"
languagestringLanguage tag for the suggestions (e.g. en-US).
Padrão: "en-US"
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 Shop Search SuggestionsEsta API TikTok Shop | A partir de $0.00095 por chamada | JSON |
TikTok Shop | A partir de $0.0012 por chamada | JSON |
TikTok Shop | A partir de $0.0055 por chamada | JSON |
TikTok Shop | A partir de $0.0012 por chamada | JSON |
TikTok Shop | A partir de $0.00095 por chamada | JSON |
TikTok Shop | A partir de $0.00095 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/tiktok-shop/search-suggestions 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.00095 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: query (string). Opcionais: country (string) e language (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 Shop Search Suggestions 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 Shop separadamente.