keywordstring必須
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": ""
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
keywordstring必須Search keyword
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"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": ""
}
}
]さらに探索
| API | 価格 | レスポンス |
|---|---|---|
TikTok | $0.001 / 回 | JSON |
TikTok | $0.001 / 回 | JSON |
TikTok | $0.001 / 回 | JSON |
TikTok | $0.001 / 回 | JSON |
TikTok | $0.001 / 回 | JSON |
TikTok | $0.05 / 回 | JSON |
ガイド:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/tiktok/web/search-keyword-suggest に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: keyword (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。TikTok Search Keyword Suggestions は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。TikTok の API アクセスを別途申請する必要はありません。