Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Douyin Topic Search Suggestions

API दस्तावेज़
https://api.sandbase.ai/v1/api/douyin/index/topic-suggest

Returns autocomplete topic suggestions based on a search query. Supports filtering by target platform such as Douyin or Toutiao.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 1 वैकल्पिक

प्लेग्राउंड

इनपुट
Topic keyword
Platform, aweme=Douyin, toutiao=Toutiao
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 490 B · 25 पंक्तियाँ
[
  {
    "data": {
      "BaseResp": {
        "StatusCode": 0,
        "StatusMessage": ""
      },
      "topic_list": [
        {
          "topic_id": "1576073697445901",
          "topic_name": "人工智能"
        },
        {
          "topic_id": "7693001864882686006",
          "topic_name": "港股人工智能光通信逆势走强"
        },
        {
          "topic_id": "1788749732212868",
          "topic_name": "人工智能与人类的未来"
        },
        "… 17 more items in the full response"
      ]
    }
  }
]

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

Douyin Topic Search Suggestions API

Returns autocomplete topic suggestions for a search keyword. Each suggestion has a topic ID and a topic name. You send a keyword and can set app_name to choose Douyin or Toutiao.

Use cases

  • Fill a topic search box with suggestions as a user types a keyword.
  • Find the topic_id for a topic name before you pass it to another Douyin Index call.
  • Compare the topic names suggested for the same keyword on Douyin and on Toutiao.
  • Build a list of related topic names around a theme such as 人工智能.

Request

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

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

Parameters

NameTypeRequiredDescription
keywordstringYesTopic keyword
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": 0,
    "StatusMessage": ""
  },
  "topic_list": [
    {
      "topic_id": "1576073697445901",
      "topic_name": "人工智能"
    }
  ]
}

Response fields

FieldMeaning
topic_listList of suggested topics for the keyword. The first item in the sample is an exact match for the keyword.
topic_list[].topic_idID of the suggested topic, returned as a string.
topic_list[].topic_nameDisplay name of the suggested topic. It can be the keyword itself or a longer related name.
BaseResp.StatusCodeStatus code of the request. 0 in the sample response.
BaseResp.StatusMessageStatus text. It is an empty string in the sample response.

Notes

  • app_name accepts aweme for Douyin or toutiao for Toutiao. The default is aweme.
  • Treat topic_id as a string. The sample IDs have 16 to 19 digits.
  • To search topics in full instead of getting suggestions, call Douyin Topic Search.
  • To see what is trending now, call Douyin Current Hot Topics Leaderboard.

Pricing

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

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Douyin$0.001 प्रति कॉलJSON
Douyin$0.001 प्रति कॉलJSON
Douyin$0.001 प्रति कॉलJSON
Douyin$0.001 प्रति कॉलJSON
Douyin$0.001 प्रति कॉलJSON
Douyin$0.001 प्रति कॉलJSON

गाइड्स:Best Douyin API in 2026: Pricing Compared

प्रश्न

FAQ

Douyin Topic Search Suggestions API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/douyin/index/topic-suggest पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Douyin Topic Search Suggestions API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Douyin Topic Search Suggestions API कौन-से parameters स्वीकार करती है?

आवश्यक: keyword (string)। वैकल्पिक: app_name (aweme, toutiao में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Douyin Topic Search Suggestions API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Douyin developer account या API key चाहिए?

नहीं। Douyin Topic Search Suggestions SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।