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

TikTok Search Keyword Suggestions

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/web/search-keyword-suggest

Returns autocomplete and related search suggestions for a given query term on TikTok Web. Use this to discover trending search variations based on input keywords.

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

Phòng thử nghiệm

Đầu vào
Search keyword
Đầu raVí dụ
Phản hồioutputs · 517 B · 24 dòng
[
  {
    "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": ""
    }
  }
]

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 Search Keyword Suggestions API

Returns autocomplete and related search suggestions for a keyword on TikTok Web. Send one keyword string, such as openai.

Use cases

  • Collect autocomplete phrases for a topic to plan TikTok video titles and hashtags.
  • Check how people phrase searches around a brand name or product.
  • Build a keyword list for a topic by running a seed term and its variations through the API.
  • Feed suggested phrases into a search tool to see what content they return.

Request

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.

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword

Example response

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": ""
}

Response fields

FieldMeaning
status_codeStatus number for the call. The sample request for openai returned 0.
status_msgStatus text for the call. It was an empty string in the sample response.
log_idIdentifier string for this call. Keep it if you need to refer to a specific request.

Notes

  • The sample response for 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.
  • The API takes a single required keyword string and has no pagination parameters.
  • To see current popular terms without a seed keyword, call TikTok Daily Trending Search Words.
  • To see the results for a suggested phrase, pass it to TikTok Web General Search.

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.05 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 Search Keyword Suggestions?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/web/search-keyword-suggest 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 Search Keyword Suggestions 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 Search Keyword Suggestions chấp nhận những tham số nào?

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

API TikTok Search Keyword Suggestions 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 Search Keyword Suggestions 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.