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

Douyin Keyword Crowd Portrait

Documentazione API
https://api.sandbase.ai/v1/api/douyin/index/portrait

Returns crowd portrait analysis for a specific keyword over a defined date range. Allows querying data for Douyin or Toutiao platforms.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
3 obbligatori · 1 opzionali

Playground

Input
End date YYYYMMDD
The keyword to analyze
Start date YYYYMMDD
Platform, aweme=Douyin, toutiao=Toutiao
OutputEsempio
Rispostaoutputs · 120 B · 10 righe
[
  {
    "data": {
      "BaseResp": {
        "StatusCode": 500,
        "StatusMessage": "关键词不为空"
      }
    }
  }
]

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

Douyin Keyword Crowd Portrait API

Returns crowd portrait analysis for one keyword over a date range on Douyin or Toutiao. It needs a keyword, a start_date and an end_date. app_name is optional and picks the platform.

Use cases

  • Check which audience a search term such as 人工智能 attracts on Douyin.
  • Compare the crowd behind the same keyword on Douyin (aweme) and Toutiao (toutiao).
  • Run the same keyword over different date ranges to see how its audience changes.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/portrait" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date": "1735660799", "keyword": "人工智能", "start_date": "1730044800"}'

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

Parameters

NameTypeRequiredDescription
end_datestringYesEnd date YYYYMMDD
keywordstringYesThe keyword to analyze
start_datestringYesStart date YYYYMMDD
app_namestringNoPlatform, aweme=Douyin, toutiao=Toutiao

Example response

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

{
  "BaseResp": {
    "StatusCode": 500,
    "StatusMessage": "日期格式满足%Y%m%d"
  }
}

Response fields

FieldMeaning
BaseRespStatus block of the response. In the sample call it is the only top-level key.
BaseResp.StatusCodeNumeric status of the call. The sample call returned 500, which means the request failed.
BaseResp.StatusMessageText that explains the status. The sample call returned 日期格式满足%Y%m%d, which says the date must match the %Y%m%d format.

Notes

  • Send start_date and end_date as YYYYMMDD strings, for example 20241101. The sample request used Unix-style numbers such as 1730044800, and the call failed with the date format error shown above.
  • Set app_name to aweme for Douyin or toutiao for Toutiao.
  • To pick dates that have data, call Douyin Index Valid Dates first.

Pricing

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

Esplora altro

API correlate

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

Guide:Best Douyin API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Douyin Keyword Crowd Portrait?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/index/portrait 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 Keyword Crowd Portrait?

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

Quali parametri accetta l'API Douyin Keyword Crowd Portrait?

Richiesti: end_date (string), keyword (string) e start_date (string). Facoltativi: app_name (uno tra aweme, toutiao). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Douyin Keyword Crowd Portrait?

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 Keyword Crowd Portrait 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.