keywordstringobrigatório
Search keyword
https://api.sandbase.ai/v1/api/tiktok/web/general-searchReturns general TikTok search results matching a specified keyword. Supports pagination through offset and search ID parameters.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Call this endpoint with a keyword to look up general search results across TikTok Web, using offset and search_id for subsequent page queries.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/general-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "openai"}'
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword |
offset | integer | No | Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor. |
search_id | string | No | Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request. |
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"data": [
{
"card_title": "Users",
"type": 4,
"common": {
"doc_id_str": "1"
}
}
]
}
offset to 0 on initial requests, then pass subsequent cursor offsets for pagination.search_id empty on the initial request and pass the returned identifier in subsequent calls.Flat price per call. Failed calls, including lookups whose target does not exist, 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/web/general-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"offset": 0,
"keyword": "openai",
"search_id": ""
}'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.
keywordstringobrigatórioSearch keyword
offsetintegerPage cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor.
Padrão: 0
search_idstringSearch id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request.
Padrão: ""
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 Web General SearchEsta API TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.05 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/web/general-search 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.
$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: keyword (string). Opcionais: offset (integer) e search_id (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 Web General Search 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.