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

问题

常见问题

如何使用 Douyin Hashtag Details API?

向 https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-detail 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。Douyin Hashtag Details 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。