ch_idstring必填
Hashtag id
https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-video-listReturns a list of videos associated with a specific Douyin hashtag. Supports sorting by comprehensive rank, most likes, or latest release along with cursor pagination.
[
{
"data": {
"log_pb": {
"impr_id": "20260820174439574388BD3F6F05227EDF"
},
"status_code": 5,
"status_msg": "参数不合法"
}
}
]选择一个示例,将其输入和结果加载到 playground 中。
Returns a page of videos posted under one Douyin hashtag. It needs the hashtag id in ch_id, and you can sort by default rank, most likes or latest release.
sort_type set to 1 to study what content works.sort_type set to 2 to watch new posts as they appear.curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-video-list" \
-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 | string | Yes | Hashtag id |
count | integer | No | Number Please keep the default, otherwise there will be BUG. |
cursor | integer | No | Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response. |
sort_type | integer | No | 0: Comprehensive sorting 1: Most likes 2: Latest release |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [],
"cursor": 10,
"extra": {
"fatal_item_ids": [],
"logid": "20261103153135911EFF7F3C1CEA5D8041",
"now": 1793691096000
},
"has_more": 1,
"log_pb": {
"impr_id": "20261103153135911EFF7F3C1CEA5D8041"
},
"mix_list": [
{
"aweme_info": {
"activity_video_type": -1,
"ad_charge_passive_unlock_config": {
"broadcast_btn_config": {
"btn_show_frequency": 1,
"btn_show_second": 5,
"btn_text": "秒后解锁下一集",
"show_second_type": 2
},
"trial_btn_config": {
"btn_show_frequency": 1,
"btn_show_second": 3,
"btn_text": "秒后解锁本集",
"show_second_type": 2
}
},
"ai_follow_images": null,
"anchors": null,
"authentication_token": "MS4wLjAA…",
"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-i-0813c000-ce_oUiarAJqYAblEMeAi89JB9lEe1gfI2DAAgdwEB",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oUiarAJqYAblEMeAi…"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-i-0813c000-ce_oUiarAJqYAblEMeAi89JB9lEe1gfI2DAAgdwEB",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oUiarAJqYAblEMeAi…"
],
"width": 720
}
},
"author_mask_tag": 0,
"author_user_id": 7640751860513522725
},
"search_result_id": "7700554531473526057",
"type": 1
}
],
"status_code": 0
}
| Field | Meaning |
|---|---|
mix_list[] | The list of results on this page. Each item wraps one video. |
mix_list[].aweme_info | The video object. It holds the author, the video controls and other video data. |
mix_list[].search_result_id | The id of the video result, as a string. It matches the video id format used by other Douyin video APIs. |
mix_list[].aweme_info.author | The creator of the video. It includes avatar images as avatar_168x168 and avatar_300x300, each with a url_list of image links. |
mix_list[].aweme_info.author_user_id | The numeric id of the creator who posted the video. |
mix_list[].aweme_info.aweme_control.can_comment / can_forward / can_share | Boolean flags that show whether commenting, forwarding and sharing are allowed on the video. |
cursor | The cursor value to send in the next request to get the following page. |
has_more | Shows whether more results exist. The value 1 means there is another page. |
status_code | The status of the call. The value 0 was returned for this successful request. |
cursor set to 0. For the next page, send the cursor value from the previous response.has_more before you request another page. The aweme_list array was empty in this response, and the videos were in mix_list.count at its default. The parameter description warns that other values can cause bugs.$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-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ch_id": "example"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
ch_idstring必填Hashtag id
countintegerNumber Please keep the default, otherwise there will be BUG.
cursorintegerCursor, used for paging, the first page is 0, the second page is the cursor value in the first response.
sort_typeinteger0: Comprehensive sorting 1: Most likes 2: Latest release
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"log_pb": {
"impr_id": "20260820174439574388BD3F6F05227EDF"
},
"status_code": 5,
"status_msg": "参数不合法"
}
}
]探索更多
| 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 |
问题
向 https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-video-list 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
必填:ch_id (string)。 可选:count (integer), cursor (integer) 和 sort_type (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Hashtag Video List 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。