mix_idstringbắt buộc
Mix id
https://api.sandbase.ai/v1/api/douyin/app-v3/video-mix-post-listReturns a list of video posts belonging to a specific Douyin video compilation or mix. Query by mix_id with cursor-based pagination to retrieve post details and metadata.
[
{
"data": {
"log_pb": {
"impr_id": "2026082017450480BDFC4D987CBA1B3C92"
},
"status_code": 4,
"status_msg": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns the video posts that belong to one Douyin mix (a video compilation). You send a mix_id and get a page of posts with author, hashtag and permission data. Paging uses cursor.
aweme_id values of a mix, then fetch each video's details or statistics.curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/video-mix-post-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"mix_id": "7384792941870450726"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
mix_id | string | Yes | Mix 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. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"activity_video_type": -1,
"admire_auth": {
"admire_button": 1,
"author_can_admire": 0,
"exit_admire_in_aweme_post": 0,
"is_admire": 0,
"is_click_admire_icon_recently": 0,
"is_fifty_admire_author_stable_fans": 0,
"is_iron_fans_in_aweme_post": 0,
"is_show_admire_button": 0
},
"ai_follow_images": null,
"ancestor_info": {
"gid": 7384475272541635072,
"product_id": 32,
"uid": 3326402489
},
"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-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0…"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0…"
],
"width": 720
}
},
"author_mask_tag": 0,
"author_user_id": 2557909361237356,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7384478157656673562",
"aweme_listen_struct": {
"listen_diversion": {
"extra": [
{
"key": "new_guide_prefix",
"val": "下载汽水"
}
],
"popup_scene": 4,
"side_desc": "听更多精彩内容",
"sub_title_type": "relation"
},
"music_cover_listen": 1,
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyrigh…"
}
}
],
"cursor": 15,
"extra": {
"fatal_item_ids": [],
"logid": "20261103153142D21BE2032677DA43D82A",
"now": 1793691102000
},
"has_more": 1,
"item_id_to_episode": "{\"7384477694525836595\":2,\"7384478157656673562\":1,\"7384480323989556506\":3,\"738479…",
"log_pb": {
"impr_id": "20261103153142D21BE2032677DA43D82A"
},
"min_cursor": 0,
"status_code": 0,
"status_msg": ""
}
| Field | Meaning |
|---|---|
aweme_list[] | One entry per video post in the mix. |
aweme_list[].aweme_id | ID of the video post, returned as a string. |
aweme_list[].author_user_id | Numeric ID of the account that posted the video. |
aweme_list[].author.avatar_168x168.url_list / avatar_300x300.url_list | Avatar image URLs for the author at the 168x168 and 300x300 sizes. Each list holds a webp and a jpeg link. |
aweme_list[].cha_list[].cha_name / cid | Name and ID of a hashtag attached to the video. |
aweme_list[].aweme_control.can_comment / can_forward / can_share | Flags that show whether viewers can comment on, forward or share the post. |
aweme_list[].commerce_info.is_ad | Shows whether the post is marked as an ad. |
aweme_list[].aweme_type | Numeric post type code. The sample posts all return 0. |
aweme_list[].comment_gid | ID used for the comments of the post. It matches aweme_id in the sample. |
mix_id is a string of digits, for example 7384792941870450726.cursor as 0 for the first page. For the next page, pass the cursor value from the previous response.count at its default value. The parameter description warns that changing it causes bugs.aweme_id to Douyin Video Statistics.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/video-mix-post-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mix_id": "example"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
mix_idstringbắt buộcMix 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.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"log_pb": {
"impr_id": "2026082017450480BDFC4D987CBA1B3C92"
},
"status_code": 4,
"status_msg": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin Video Mix Post ListAPI này Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/app-v3/video-mix-post-list với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.
Bắt buộc: mix_id (string). Tùy chọn: count (integer) và cursor (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Douyin Video Mix Post List chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.