Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Douyin Topic Search Suggestions

API dokümanları
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.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 1 isteğe bağlı

Oynatma Alanı

Girdi
Topic keyword
Platform, aweme=Douyin, toutiao=Toutiao
ÇıktıÖrnek
Yanıtoutputs · 490 B · 25 satır
[
  {
    "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"
      ]
    }
  }
]

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON

Kılavuzlar:Best Douyin API in 2026: Pricing Compared

Sorular

SSS

Douyin Topic Search Suggestions API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/douyin/index/topic-suggest adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Douyin Topic Search Suggestions API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Douyin Topic Search Suggestions API'si hangi parametreleri kabul eder?

Gerekli: keyword (string). İsteğe bağlı: app_name (aweme, toutiao arasından biri). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Douyin Topic Search Suggestions API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Douyin geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Douyin Topic Search Suggestions, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Douyin API erişimi için ayrıca başvuru yapmanız gerekmez.