Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Hashtag Details

API 文件
https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-detail

Retrieves comprehensive information and metadata for a specific Douyin hashtag using its unique challenge identifier.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填

Playground

輸入
Hashtag id
輸出範例
回應outputs · 385 B · 19 行
[
  {
    "data": {
      "dynamic_list": null,
      "extra": {
        "fatal_item_ids": [],
        "logid": "20260820174548D9D6192597E969325FD6",
        "now": 1787219148000
      },
      "log_pb": {
        "impr_id": "20260820174548D9D6192597E969325FD6"
      },
      "rec_list": null,
      "shoot_mob_extras": {},
      "slide_list": null,
      "status_code": 0
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Douyin Hashtag Details API

Returns metadata for one Douyin hashtag (also called a challenge), including its name, creation time, participant count and total view count. It needs the numeric hashtag id in ch_id.

Use cases

  • Track the total view_count and user_count of a Douyin hashtag over repeated calls.
  • Resolve a hashtag id to its readable name, such as 深海, for reports and dashboards.
  • Build a share link or app deep link for a hashtag from its share_info.share_url or schema value.
  • Check whether a hashtag is on a billboard by reading its billboard_rank and billboard_name.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ch_id": 1575791821492238}'

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

Parameters

NameTypeRequiredDescription
ch_idintegerYesHashtag id

Example response

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

{
  "ch_info": {
    "allow_upload_cover": true,
    "author": {
      "accept_private_policy": false,
      "account_region": "",
      "ad_cover_url": null,
      "allow_story_normal_like": false,
      "apple_account": 0,
      "authority_status": 0,
      "avatar_168x168": {
        "height": 720,
        "uri": "168x168/aweme-avatar/tos-cn-avt-0015_e92dd08ff04ba878a6104672877eece4",
        "url_list": [
          "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_e92dd08ff04ba878a61046…"
        ],
        "width": 720
      },
      "avatar_300x300": {
        "height": 720,
        "uri": "300x300/aweme-avatar/tos-cn-avt-0015_e92dd08ff04ba878a6104672877eece4",
        "url_list": [
          "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_e92dd08ff04ba878a61046…"
        ],
        "width": 720
      },
      "avatar_larger": {
        "height": 720,
        "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_e92dd08ff04ba878a6104672877eece4",
        "url_list": [
          "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_e92dd08ff0…"
        ],
        "width": 720
      },
      "avatar_medium": {
        "height": 720,
        "uri": "720x720/aweme-avatar/tos-cn-avt-0015_e92dd08ff04ba878a6104672877eece4",
        "url_list": [
          "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_e92dd08ff04b…"
        ],
        "width": 720
      },
      "avatar_schema_list": null,
      "avatar_thumb": {
        "height": 720,
        "uri": "100x100/aweme-avatar/tos-cn-avt-0015_e92dd08ff04ba878a6104672877eece4",
        "url_list": [
          "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_e92dd08ff04b…"
        ],
        "width": 720
      }
    },
    "banner_list": null,
    "billboard_name": "",
    "billboard_rank": 0,
    "billboard_type": 0,
    "billboard_url": "",
    "cha_attrs": null,
    "cha_name": "深海",
    "challenge_status": 1,
    "cid": "1575791821492238",
    "collect_stat": 0
  },
  "dynamic_list": null,
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026110315313535B3DB839B42701199A0",
    "now": 1793691095000
  },
  "log_pb": {
    "impr_id": "2026110315313535B3DB839B42701199A0"
  },
  "rec_list": null,
  "shoot_mob_extras": {},
  "slide_list": null,
  "status_code": 0
}

Response fields

FieldMeaning
ch_info.cha_nameDisplay name of the hashtag, without the # sign.
ch_info.cidHashtag id as a string. It matches the ch_id you sent.
ch_info.view_countTotal views recorded for the hashtag.
ch_info.user_countNumber of users counted as participating in the hashtag.
ch_info.create_time / ch_info.update_timeUnix timestamps in seconds for when the hashtag was created and last updated.
ch_info.descHashtag description text. It can be an empty string.
ch_info.share_info.share_url / ch_info.schemaWeb share link and Douyin app deep link for the hashtag.
ch_info.share_info.share_titleShare text that includes the hashtag name.
ch_info.billboard_name / ch_info.billboard_rankBillboard name and rank for the hashtag. Empty and 0 values mean no billboard entry is shown.
ch_info.author.avatar_larger.url_list[]Image URLs for the avatar of the user attached to the hashtag in ch_info.author.

Notes

  • The hashtag id is the cid value inside the schema link, for example aweme://aweme/challenge/detail?cid=1575791821492238.
  • Image URLs in the response carry x-expires and x-signature parameters, so download images soon after the call.
  • To list videos under a hashtag, call Douyin Hashtag Video List.
  • To see trending hashtags, try Douyin Hot Challenge List.

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.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Hashtag Details API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Hashtag Details API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Douyin Hashtag Details API 接受哪些參數?

必要:ch_id (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Hashtag Details API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Hashtag Details 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。