ch_idinteger必填
Hashtag id
https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-detailRetrieves comprehensive information and metadata for a specific Douyin hashtag using its unique challenge identifier.
[
{
"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。
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.
view_count and user_count of a Douyin hashtag over repeated calls.深海, for reports and dashboards.share_info.share_url or schema value.billboard_rank and billboard_name.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.
| Name | Type | Required | Description |
|---|---|---|---|
ch_id | integer | Yes | Hashtag id |
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
}
| Field | Meaning |
|---|---|
ch_info.cha_name | Display name of the hashtag, without the # sign. |
ch_info.cid | Hashtag id as a string. It matches the ch_id you sent. |
ch_info.view_count | Total views recorded for the hashtag. |
ch_info.user_count | Number of users counted as participating in the hashtag. |
ch_info.create_time / ch_info.update_time | Unix timestamps in seconds for when the hashtag was created and last updated. |
ch_info.desc | Hashtag description text. It can be an empty string. |
ch_info.share_info.share_url / ch_info.schema | Web share link and Douyin app deep link for the hashtag. |
ch_info.share_info.share_title | Share text that includes the hashtag name. |
ch_info.billboard_name / ch_info.billboard_rank | Billboard 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. |
cid value inside the schema link, for example aweme://aweme/challenge/detail?cid=1575791821492238.x-expires and x-signature parameters, so download images soon after the call.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
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": 1
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
ch_idinteger必填Hashtag id
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"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
}
}
]探索更多
| 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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:ch_id (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin Hashtag Details 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。