search_wordstringwymagane
Search keyword (required)
https://api.sandbase.ai/v1/api/tiktok/shop-web/search-word-suggestion-v2Returns e-commerce search keyword suggestions based on an input query. Supports filtering by target region and language code.
[
{
"data": {
"code": 0,
"data": [
"coffee tables",
"coffee table",
"coffee table living room",
"… 13 more items in the full response"
],
"message": "success"
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
Returns a list of TikTok Shop search keyword suggestions for a starting query. You send search_word, and you can set region and lang to match a market.
coffee into related shopping queries for keyword research.region values to see how shoppers phrase searches in each market.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/search-word-suggestion-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search_word": "coffee"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
search_word | string | Yes | Search keyword (required) |
lang | string | No | Language code (en-US/zh-CN etc.) |
region | string | No | Region code (US/GB/SG/MY/PH/TH/VN/ID) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
"coffee table"
],
"message": "success"
}
| Field | Meaning |
|---|---|
code | Status code of the call. 0 means the request succeeded. |
message | Text status of the call. It shows success when the request worked. |
data | List of suggested search keywords as plain strings. The list is ordered as returned. |
data[] | One suggested search phrase, such as coffee table or coffee maker machine. |
search_word is the only required parameter. region defaults to US and lang defaults to en-US.$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/shop-web/search-word-suggestion-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"lang": "en",
"region": "US",
"search_word": "coffee"
}'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.
search_wordstringwymaganeSearch keyword (required)
langstringLanguage code (en-US/zh-CN etc.)
Domyślnie: "en-US"
regionstringRegion code (US/GB/SG/MY/PH/TH/VN/ID)
Domyślnie: "US"
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"data": {
"code": 0,
"data": [
"coffee tables",
"coffee table",
"coffee table living room",
"… 13 more items in the full response"
],
"message": "success"
}
}
]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.001 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/shop-web/search-word-suggestion-v2 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: search_word (string). Opcjonalne: lang (string) i region (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 Shop Search Keyword Suggestions (V2) 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.