keywordstringwymagane
Search keyword
https://api.sandbase.ai/v1/api/tiktok/web/search-keyword-suggestReturns autocomplete and related search suggestions for a given query term on TikTok Web. Use this to discover trending search variations based on input keywords.
[
{
"data": {
"data": [
{
"group_id": "2749824363733000250",
"word": "How To Go To TikTok Shop"
},
{
"group_id": "6875268609515228399",
"word": "tiktok online shop"
},
{
"group_id": "1200520232056049740",
"word": "TikTok Shop"
},
"… 4 more items in the full response"
],
"log_id": "20260929221730F395D9EAC689F46EFEA6",
"status_code": 0,
"status_msg": ""
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
Returns autocomplete and related search suggestions for a keyword on TikTok Web. Send one keyword string, such as openai.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/search-keyword-suggest" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "openai"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"log_id": "2026110315442738CBBE360AAF9704603D",
"status_code": 0,
"status_msg": ""
}
| Field | Meaning |
|---|---|
status_code | Status number for the call. The sample request for openai returned 0. |
status_msg | Status text for the call. It was an empty string in the sample response. |
log_id | Identifier string for this call. Keep it if you need to refer to a specific request. |
keyword set to openai held only log_id, status_code and status_msg. It did not include a list of suggestions, so check for extra keys before you read them.keyword string and has no pagination parameters.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/search-keyword-suggest" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "TikTok"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
keywordstringwymaganeSearch keyword
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"data": {
"data": [
{
"group_id": "2749824363733000250",
"word": "How To Go To TikTok Shop"
},
{
"group_id": "6875268609515228399",
"word": "tiktok online shop"
},
{
"group_id": "1200520232056049740",
"word": "TikTok Shop"
},
"… 4 more items in the full response"
],
"log_id": "20260929221730F395D9EAC689F46EFEA6",
"status_code": 0,
"status_msg": ""
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.05 za wywołanie | JSON |
Przewodniki:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/web/search-keyword-suggest 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.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: keyword (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. TikTok Search Keyword Suggestions 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.