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

Douyin Topic Search

API-Dokumentation
https://api.sandbase.ai/v1/api/douyin/index/topic-query

Returns Douyin topic performance metrics matching a search term over a specific date range, including item counts, like counts, and view counts.

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

Playground

Eingabe
End date YYYYMMDD
Topic keyword
Start date YYYYMMDD
Platform
AusgabeBeispiel
Antwortoutputs · 945 B · 40 Zeilen
[
  {
    "data": {
      "BaseResp": {
        "StatusCode": 0,
        "StatusMessage": ""
      },
      "topic_list": [
        {
          "datetime": "",
          "digg_cnt": "3886643",
          "item_cnt": "26313",
          "play_read_cnt": "201528869",
          "topic_id": "1576073697445901",
          "topic_index": "2729228",
          "topic_name": "人工智能"
        },
        {
          "datetime": "",
          "digg_cnt": "0",
          "item_cnt": "0",
          "play_read_cnt": "0",
          "topic_id": "1761040785381389",
          "topic_index": "0",
          "topic_name": "人工智能与就业"
        },
        {
          "datetime": "",
          "digg_cnt": "108324",
          "item_cnt": "1202",
          "play_read_cnt": "5712508",
          "topic_id": "1607024574053384",
          "topic_index": "49588",
          "topic_name": "ai人工智能"
        },
        "… 97 more items in the full response"
      ]
    }
  }
]

Beispiele

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

API-README

Douyin Topic Search API

Returns Douyin topics that match a search keyword, with item, like, and view counts for a date range. It needs a keyword, a start_date, and an end_date in YYYYMMDD format.

Use cases

  • Compare how many videos and views the topic 人工智能 has against related topics such as 人工智能机器人.
  • Find the topic_id of a Douyin topic from its name.
  • Spot topics with zero activity in a date range and drop them from a tracking list.
  • Pull weekly topic totals for a keyword to build a trend report.

Request

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

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

Parameters

NameTypeRequiredDescription
end_datestringYesEnd date YYYYMMDD
keywordstringYesTopic keyword
start_datestringYesStart date YYYYMMDD
app_namestringNoPlatform

Example response

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

{
  "BaseResp": {
    "StatusCode": 0,
    "StatusMessage": ""
  },
  "topic_list": [
    {
      "datetime": "",
      "digg_cnt": "3886643",
      "item_cnt": "26313",
      "play_read_cnt": "201528869",
      "topic_id": "1576073697445901",
      "topic_index": "2729228",
      "topic_name": "人工智能"
    }
  ]
}

Response fields

FieldMeaning
topic_list[]List of topics whose names match the keyword. Each entry is one topic.
topic_list[].topic_nameName of the topic, for example 人工智能.
topic_list[].topic_idID of the topic, returned as a string.
topic_list[].item_cntNumber of items (videos) counted for the topic. Returned as a string.
topic_list[].digg_cntLike count for the topic. Returned as a string.
topic_list[].play_read_cntView count for the topic. Returned as a string.
topic_list[].topic_indexIndex value for the topic. It is 0 for topics with no activity.
topic_list[].datetimeDate field for the entry. It is an empty string in this response.
BaseResp.StatusCode / BaseResp.StatusMessageStatus of the call. StatusCode is 0 and StatusMessage is empty in this response.

Notes

  • All counts and IDs are returned as strings. Convert them to numbers before you sort or sum them.
  • app_name accepts aweme or toutiao. It defaults to aweme.
  • Use Douyin Topic Search Suggestions to find topic keywords to search with.

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 Topic Search API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/douyin/index/topic-query 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 Topic Search 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 Topic Search 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 Topic Search 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 Topic Search 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.