Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Douyin Keyword Crowd Portrait

API-Dokumentation
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.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
3 erforderlich · 1 optional

Playground

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

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON

Anleitungen:Best Douyin API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die Douyin Keyword Crowd Portrait API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/douyin/index/portrait mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Douyin Keyword Crowd Portrait API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Douyin Keyword Crowd Portrait API?

Erforderlich: end_date (string), keyword (string) und start_date (string). Optional: app_name (eines von aweme, toutiao). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Douyin Keyword Crowd Portrait API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Douyin-Entwicklerkonto oder einen API-Schlüssel?

Nein. Douyin Keyword Crowd Portrait läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Douyin API beantragen.