Douyin Search Suggestions

https://api.sandbase.ai/v1/api/douyin/search/search-suggest

Get Douyin search autocomplete suggestions for a keyword: the related queries users see while typing in the Douyin app.

Price
$0.01USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
0 required · 1 optional
Production route

Try the model

Playground

Open playground
Input
Input keyword, e.g., "Artificial Intelligence"
OutputExample
Responseoutputs · 3.6 KB · 139 lines
[
  {
    "data": {
      "cache_conf": {
        "enable": false
      },
      "extra": {
        "fatal_item_ids": [],
        "logid": "20260820174729952B646281EB80F54B18",
        "now": 1787219249000,
        "search_request_id": ""
      },
      "log_pb": {
        "impr_id": "20260820174729952B646281EB80F54B18"
      },
      "rid": "20260820174729952B646281EB80F54B18",
      "status_code": 0,
      "status_msg": "",
      "sug_list": [
        {
          "content": "人工智能",
          "extra_info": {
            "poi_id": "",
            "poi_location_recall_log_id": "20260820174729952B646281EB80F54B18",
            "search_params": "{\"sug_poi_id\":\"\"}"
          },
          "pos": [
            {
              "begin": 0,
              "end": 3
            }
          ],
          "sug_type": "",
          "word_record": {
            "group_id": "6527568579963917582",
            "words_content": "人工智能",
            "words_position": 0,
            "words_source": "sug"
          }
        },
        {
          "content": "人工智能机器人",
          "extra_info": {
            "poi_id": "",
            "poi_location_recall_log_id": "20260820174729952B646281EB80F54B18",
            "search_params": "{\"sug_poi_id\":\"\"}"
          },
          "pos": [
            {
              "begin": 0,
              "end": 3
            }
          ],
          "sug_type": "",
          "word_record": {
            "group_id": "6527568579980694798",
            "words_content": "人工智能机器人",
            "words_position": 1,
            "words_source": "sug"
          }
        },
        {
          "content": "人工智能龙头股",
          "extra_info": {
            "poi_id": "",
            "poi_location_recall_log_id": "20260820174729952B646281EB80F54B18",
            "search_params": "{\"sug_poi_id\":\"\"}"
          },
          "pos": [
            {
              "begin": 0,
              "end": 3
            }
          ],
          "sug_type": "",
          "word_record": {
            "group_id": "6527570833508930824",
            "words_content": "人工智能龙头股",
            "words_position": 2,
            "words_source": "sug"
          }
        },
        {
          "content": "人工智能专业",
          "extra_info": {
            "poi_id": "",
            "poi_location_recall_log_id": "20260820174729952B646281EB80F54B18",
            "search_params": "{\"sug_poi_id\":\"\"}"
          },
          "pos": [
            {
              "begin": 0,
              "end": 3
            }
          ],
          "sug_type": "",
          "word_record": {
            "group_id": "6595533897193231624",
            "words_content": "人工智能专业",
            "words_position": 3,
            "words_source": "sug"
          }
        },
        {
          "content": "人工智能股票",
          "extra_info": {
            "poi_id": "",
            "poi_location_recall_log_id": "20260820174729952B646281EB80F54B18",
            "search_params": "{\"sug_poi_id\":\"\"}"
          },
          "pos": [
            {
              "begin": 0,
              "end": 3
            }
          ],
          "sug_type": "",
          "word_record": {
            "group_id": "6548685578362164484",
            "words_content": "人工智能股票",
            "words_position": 4,
            "words_source": "sug"
          }
        }
      ],
      "sug_virtual_list": null,
      "time_cost": {
        "server_engine_cost": "179",
        "stream_inner": "189"
      },
      "words_lists": [],
      "words_query_record": {
        "info": "{}",
        "query_id": "6527568579963917582",
        "words_source": "sug"
      }
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.01 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

keyword
string · optional

Access

Provider
Douyin
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/douyin/search/search-suggest
Authentication
Bearer API key

API README

Douyin Search Suggestions API

Pass a keyword and get the search suggestions Douyin shows in its search box.

Use cases

  • Research long-tail keywords for Douyin SEO.
  • Understand how users search for a topic.
  • Generate keyword lists for content planning.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/search-suggest" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "人工智能"}'

Parameters

NameTypeRequiredDescription
keywordstringNoInput keyword, e.g., "Artificial Intelligence"

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "sug_list": [
    {
      "content": "人工智能",
      "word_record": {
        "group_id": "6527568579963917582",
        "words_content": "人工智能",
        "words_position": 0,
        "words_source": "sug"
      }
    }
  ]
}

Related APIs

  • Douyin General Search: Search Douyin (Chinese TikTok) from the app's general search tab and get videos with descriptions, authors and play, like, comment and share counts.
  • Douyin Video Search (V1): Search Douyin videos by keyword: descriptions, authors and play, like, comment and share counts, with sort, publish-time, duration and content-type filters.
  • Douyin Video Search: Search Douyin videos by keyword and get descriptions, authors and play, like, comment and share counts.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/douyin/search/search-suggest
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/douyin/search/search-suggest" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "keyword": "人工智能"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Douyin$0.01 per callJSONJul 31, 2026
Douyin$0.01 per callJSONJul 31, 2026
Douyin$0.01 per callJSONJul 31, 2026
Douyin$0.01 per callJSONJul 31, 2026
Douyin$0.01 per callJSONJul 31, 2026
Douyin$0.01 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Douyin Search Suggestions API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/search/search-suggest with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Douyin Search Suggestions API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Douyin Search Suggestions API accept?

No parameters are required. Optional: keyword (string). The Parameters table and the Playground on this page list every field.

What does the Douyin Search Suggestions API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Douyin developer account or API key?

No. Douyin Search Suggestions runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.