Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Douyin Search keyword suggestions V2

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

Fetch search keyword suggestions V2 on Douyin. Returns the platform data as structured JSON.

Prezzo
$0.01USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
0 obbligatori · 2 opzionali

Playground

Input
The keyword to be suggested
Optional, the user's history search words (comma separated), affects the ranking of suggestions
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

Douyin Search keyword suggestions V2 API

Returns search keyword suggestions from Douyin for a given keyword. It needs one input, keyword, and accepts an optional history_words list to influence the ranking.

Use cases

  • Build a keyword list for Douyin content by expanding a seed term into related search phrases.
  • Check which phrases Douyin offers when users start typing a topic such as 人工智能.
  • Compare suggestion lists for different seed words to find topic angles for video titles and hashtags.
  • Test how a set of history_words changes the order of suggestions for the same keyword.

Request

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

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
history_wordsstringNoOptional, the user's history search words (comma separated), affects the ranking of suggestions
keywordstringNoThe keyword to be suggested

Example response

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

{
  "items": [
    {
      "content": "人工智能比赛",
      "extra_info": {
        "poi_id": "",
        "poi_location_recall_log_id": "202611031532215E8A160EA19863E55352",
        "search_params": "{\"sug_poi_id\":\"\"}"
      },
      "pos": [
        {
          "begin": 0,
          "end": 3
        }
      ],
      "sug_type": "",
      "word_record": {
        "group_id": "6596440824983065859",
        "words_content": "人工智能比赛",
        "words_position": 0,
        "words_source": "sug"
      }
    }
  ],
  "raw_key": "sug_list",
  "words": [
    "人工智能比赛"
  ]
}

Response fields

FieldMeaning
items[].contentThe suggested search phrase as shown to the user.
items[].pos[].begin / items[].pos[].endStart and end character positions in content. In the sample they cover the part of the phrase that matches the input keyword.
items[].word_record.words_contentThe suggestion text inside the word record. It matches content in the sample.
items[].word_record.words_positionZero-based rank of the suggestion in the list.
items[].word_record.words_sourceWhere the suggestion came from. The sample shows sug.
items[].word_record.group_idNumeric ID string for the suggestion word group.
items[].sug_typeType label of the suggestion. It is an empty string in the sample.
items[].extra_info.search_paramsJSON string with extra search parameters, such as sug_poi_id. The sample value has an empty POI ID.
wordsPlain list of the suggestion phrases, in the same order as items.

Notes

  • The words array is the quickest way to get just the phrases. Use items when you need rank, match positions or IDs.
  • search_params is a JSON-encoded string, so parse it before reading its keys.
  • For another suggestion endpoint, see Douyin Search Suggestions. For hashtag suggestions, use Douyin Hashtag Suggestions.
  • To search videos for a chosen suggestion, pass it to Douyin Video Search.

Pricing

$0.01 per successful call. Failed calls are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Douyin$0.01 per chiamataJSON
Douyin$0.01 per chiamataJSON
Douyin$0.01 per chiamataJSON
Douyin$0.01 per chiamataJSON
Douyin$0.01 per chiamataJSON
Douyin$0.01 per chiamataJSON

Guide:Best Douyin API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Douyin Search keyword suggestions V2?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/search/search-suggest-v2 con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Douyin Search keyword suggestions V2?

$0.01 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Douyin Search keyword suggestions V2?

Nessun parametro richiesto. Facoltativi: keyword (string) e history_words (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Douyin Search keyword suggestions V2?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Douyin?

No. Douyin Search keyword suggestions V2 funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Douyin.