Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Shop Search Keyword Suggestions (V2)

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/shop-web/search-word-suggestion-v2

Returns e-commerce search keyword suggestions based on an input query. Supports filtering by target region and language code.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Search keyword (required)
Language code (en-US/zh-CN etc.)
Region code (US/GB/SG/MY/PH/TH/VN/ID)
Đầu raVí dụ
Phản hồioutputs · 232 B · 14 dòng
[
  {
    "data": {
      "code": 0,
      "data": [
        "coffee tables",
        "coffee table",
        "coffee table living room",
        "… 13 more items in the full response"
      ],
      "message": "success"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

TikTok Shop Search Keyword Suggestions (V2) API

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.

Use cases

  • Fill a product search box with autocomplete suggestions for a partial keyword.
  • Expand a seed word like coffee into related shopping queries for keyword research.
  • Compare the suggestions returned for different region values to see how shoppers phrase searches in each market.
  • Pick search phrases to feed into a product search call.

Request

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.

Parameters

NameTypeRequiredDescription
search_wordstringYesSearch keyword (required)
langstringNoLanguage code (en-US/zh-CN etc.)
regionstringNoRegion code (US/GB/SG/MY/PH/TH/VN/ID)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "data": [
    "coffee table"
  ],
  "message": "success"
}

Response fields

FieldMeaning
codeStatus code of the call. 0 means the request succeeded.
messageText status of the call. It shows success when the request worked.
dataList 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.

Notes

  • search_word is the only required parameter. region defaults to US and lang defaults to en-US.
  • The response is a flat list of strings. It has no counts, scores or IDs for each suggestion.
  • Pass a suggestion into TikTok Shop Product Search to find products for that phrase.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Shop Search Keyword Suggestions (V2)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/shop-web/search-word-suggestion-v2 với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Shop Search Keyword Suggestions (V2) có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok Shop Search Keyword Suggestions (V2) chấp nhận những tham số nào?

Bắt buộc: search_word (string). Tùy chọn: lang (string) và region (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Shop Search Keyword Suggestions (V2) trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Shop Search Keyword Suggestions (V2) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.