mix_idstring必填
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": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]選擇一個範例,將其輸入與結果載入 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.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
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"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
mix_idstring必填Mix 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.
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"log_pb": {
"impr_id": "2026082017450480BDFC4D987CBA1B3C92"
},
"status_code": 4,
"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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/app-v3/video-mix-post-list。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。
必要:mix_id (string)。 選填:count (integer) 和 cursor (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin Video Mix Post List 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。