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": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/app-v3/video-mix-post-list に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。
必須: mix_id (string)。 任意: count (integer) と cursor (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Video Mix Post List は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。