countintegerbắt buộc
Number per page, default is 16
https://api.sandbase.ai/v1/api/douyin/web/music-awemeRetrieves music videos from Douyin Web based on pagination settings. Returns a list of video items using the specified count and refresh index parameters.
[
{
"data": {
"aweme_list": [
{
"ad_candidates": null,
"ai_follow_images": null,
"anchors": null,
"authentication_token": "MS4wLjAAAAAA8hJcVanhrv5b1_5Jy2TdTcUUVE93ERJFIgnR-x2FpzOzftyOR3EKiTez-IU9jxsOYxresnLlpbbMEO0qs7SX5FLkJHT30KWfDn3qehBVs8WHaicKWh51TCAV5KVaLUWmX-CGccGaQx-ebXaknL92Ko20Ix1pB0u2P-DGlOkB8xW81cKI2UMumN6hQE8sIsZrLMMzwgJBT56W2mQmv4ZagzL6X1tbVYDA2xrj15eJ96dokXgY8LSrhPickT-at_0L",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-0813c000-ce_o0EAA2FHvFAAqBbAEQED9zfaIA46gZjbJ8Oee7",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_o0EAA2FHvFAAqBbAEQED9zfaIA46gZjbJ8Oee7.jpeg?from=327834062&se=false&biz_tag=feed_avatar&l=20260820174343F174C8063A7BA2D43822"
],
"width": 720
},
"cha_list": null,
"common_interest": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=HpVZ04fWlIIyWQ796gm1v3%2BBjOc%3D&from=327834062"
],
"width": 720
}
],
"custom_verify": "",
"enterprise_verify_reason": "",
"follow_status": 0,
"follower_status": 0,
"nickname": "乐感音乐徐老师",
"not_seen_item_id_list": null,
"prevent_download": false,
"private_relation_list": null,
"region": "CN",
"sec_uid": "MS4wLjABAAAAO2HJUJalEzO_XpqWwsma4lY8UaFa3-t3cg_xs_nzeIWXqHXUuNvdVC0M70v1GIna",
"secret": 0,
"share_info": {
"share_desc": "",
"share_qrcode_url": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"short_id": "70663389021",
"signature": "这是一个音乐全内容博主,已经做了这些系列!\n🎞乐坛盘点|✈音乐旅行|📰乐坛资讯|🎹零基础钢琴|🎵专辑MV解读\n合作👀抖音号,请注明来意!!!\n永远的神:@方大同",
"uid": "2610703807575915",
"unique_id": "yuegan_X",
"verification_type": 1
},
"author_user_id": 2610703807575915,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7653145117871705379",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"label_risk_music_or_speech\",\"copyright_tag_hit\":\"6060504\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"true\",\"hit_high_risk\":\"true\",\"media_type\":\"4\",\"reason\":\"hit_listen_video_sta…"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "欢迎收看华语乐坛编年史,第一期我们从2000年开始! #周杰伦 #孙燕姿 #陈奕迅 #林俊杰 #华语乐坛天花板",
"challenge_position": null,
"chapter_abstract": "",
"chapter_bar_color": null,
"chapter_data": {
"ad_chapter_auto_skip_index_list": null,
"ad_chapter_index_list": null,
"recommend_type": ""
},
"chapter_list": [
{
"desc": "2000年",
"detail": "",
"points": null,
"timestamp": 14000,
"url": "https://p3-pc-sign.douyinpic.com/obj/tos-cn-p-0015/508102aa23b84e79ad1ad701282d0f0c?lk3s=138a59ce&x-expires=1787238000&x-signature=n7Ypg403yH0jX6zFAnSyFQBDZKY%3D&from=327834062"
},
{
"desc": "2001年",
"detail": "",
"points": null,
"timestamp": 84000,
"url": "https://p3-pc-sign.douyinpic.com/obj/tos-cn-p-0015/dcd964a4b2304db0a381b4aca1874c6d?lk3s=138a59ce&x-expires=1787238000&x-signature=4O469ErHW2DdclLl8WS974Xd5Pc%3D&from=327834062"
},
"… 4 more items in the full response"
],
"chapter_review_status": 2,
"collect_stat": 0,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": false,
"press_entry": false,
"toast_guide": false
},
"commerce_config_data": null,
"commerce_top_labels": null,
"create_scale_type": null,
"create_time": 1781971200,
"desc": "华语乐坛神作之下的第二名,真的没人记得吗? 欢迎收看华语乐坛编年史,第一期我们从2000年开始! #周杰伦 #孙燕姿 #陈奕迅 #林俊杰 #华语乐坛天花板",
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"diversion_bar_info": null,
"douyin_p_c_video_extra": "{\"ai_summary\":1,\"ai_summary_mashup\":1,\"video_highlight_bar\":1}",
"duet_aggregate_in_music_tab": false,
"duration": 444220,
"effect_inflow_effects": null,
"encrypt_interest_point_list": null,
"encrypt_key_phrase_list": null,
"entertainment_product_info": {
"biz": 0,
"market_info": {
"limit_free": {
"in_free": false
},
"marketing_tag": null
},
"sub_title": null
},
"feed_comment_config": {
"input_config_text": "善语结善缘,恶言伤人心"
},
"feed_comment_panel_ai_tab": {
"fit_ai_summarize": true,
"show_comment_ai_tab": true
},
"follow_shot_assets": null,
"friend_recommend_info": {
"friend_recommend_source": 5,
"label_user_list": null,
"recommend_predict_rate": -1,
"recommend_predict_score": 0
},
"…": "75 more fields in the full response"
}
],
"chime_video_list": null,
"filter_infos": null,
"log_pb": {
"impr_id": "20260820174343F174C8063A7BA2D43822"
},
"status_code": 0,
"video_cover_image_list": null,
"video_cover_url_list": null
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns a page of music-related videos from Douyin Web as a list of video items in aweme_list. It needs only count, the number of items per page. You can add refresh_index to move through pages.
caption and desc.aweme_id values and author IDs to feed into video detail or user lookups.duration.curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/music-aweme" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"count": 16, "refresh_index": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
count | integer | Yes | Number per page, default is 16 |
refresh_index | integer | No | Paging index, default is 1 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"ad_candidates": null,
"ai_follow_images": null,
"anchors": null,
"authentication_token": "MS4wLjAA…",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-0813_41ceaf508ceb46e0a555bec09f119930",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_41ceaf508ce…"
],
"width": 720
},
"cha_list": null,
"common_interest": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expire…"
],
"width": 720
}
],
"custom_verify": "",
"enterprise_verify_reason": "",
"follow_status": 0,
"follower_status": 0
},
"author_user_id": 102008689680,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7673013362283891977",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyrigh…"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "#地下八英里 结束了,是时候从头到尾好好说一下这场比赛的历史了#说唱 #说场比赛 #抖音创作者大会 #贝贝李京泽"
}
],
"chime_video_list": null,
"filter_infos": null,
"log_pb": {
"impr_id": "202611031532328B5907C61486A95FC51D"
},
"status_code": 0,
"video_cover_image_list": null,
"video_cover_url_list": null
}
| Field | Meaning |
|---|---|
aweme_list[] | The list of video items on this page. |
aweme_list[].aweme_id | The ID of the video, as a string. Use it to look up the video in other APIs. |
aweme_list[].desc / aweme_list[].caption | The video text, including hashtags. desc can be longer than caption. |
aweme_list[].create_time | When the video was created, as a Unix timestamp in seconds. |
aweme_list[].duration | The video length. The values look like milliseconds, for example 535175 for a video of about nine minutes. |
aweme_list[].author_user_id | The numeric user ID of the video author. |
aweme_list[].author.avatar_thumb.url_list[] | URLs of the author's avatar thumbnail image. |
aweme_list[].chapter_list[] | Chapters for videos that have them. Each has a desc title, a detail summary, a timestamp and a url for an image. timestamp values look like milliseconds. |
aweme_list[].chapter_abstract | A text summary of the video content, present only on some videos. |
aweme_list[].aweme_control.can_comment / aweme_list[].aweme_control.can_share | Flags that show whether commenting and sharing are allowed on the video. |
count is required. refresh_index is the paging index and starts at 1.null on some items, and chapter_list is null for videos without chapters. Check for null before reading nested values.aweme_id to Douyin Single Video Details (V1).$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/web/music-aweme" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 1,
"refresh_index": 1
}'Đặ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.
countintegerbắt buộcNumber per page, default is 16
refresh_indexintegerPaging index, default is 1
Đâ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": {
"aweme_list": [
{
"ad_candidates": null,
"ai_follow_images": null,
"anchors": null,
"authentication_token": "MS4wLjAAAAAA8hJcVanhrv5b1_5Jy2TdTcUUVE93ERJFIgnR-x2FpzOzftyOR3EKiTez-IU9jxsOYxresnLlpbbMEO0qs7SX5FLkJHT30KWfDn3qehBVs8WHaicKWh51TCAV5KVaLUWmX-CGccGaQx-ebXaknL92Ko20Ix1pB0u2P-DGlOkB8xW81cKI2UMumN6hQE8sIsZrLMMzwgJBT56W2mQmv4ZagzL6X1tbVYDA2xrj15eJ96dokXgY8LSrhPickT-at_0L",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-0813c000-ce_o0EAA2FHvFAAqBbAEQED9zfaIA46gZjbJ8Oee7",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_o0EAA2FHvFAAqBbAEQED9zfaIA46gZjbJ8Oee7.jpeg?from=327834062&se=false&biz_tag=feed_avatar&l=20260820174343F174C8063A7BA2D43822"
],
"width": 720
},
"cha_list": null,
"common_interest": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=HpVZ04fWlIIyWQ796gm1v3%2BBjOc%3D&from=327834062"
],
"width": 720
}
],
"custom_verify": "",
"enterprise_verify_reason": "",
"follow_status": 0,
"follower_status": 0,
"nickname": "乐感音乐徐老师",
"not_seen_item_id_list": null,
"prevent_download": false,
"private_relation_list": null,
"region": "CN",
"sec_uid": "MS4wLjABAAAAO2HJUJalEzO_XpqWwsma4lY8UaFa3-t3cg_xs_nzeIWXqHXUuNvdVC0M70v1GIna",
"secret": 0,
"share_info": {
"share_desc": "",
"share_qrcode_url": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"short_id": "70663389021",
"signature": "这是一个音乐全内容博主,已经做了这些系列!\n🎞乐坛盘点|✈音乐旅行|📰乐坛资讯|🎹零基础钢琴|🎵专辑MV解读\n合作👀抖音号,请注明来意!!!\n永远的神:@方大同",
"uid": "2610703807575915",
"unique_id": "yuegan_X",
"verification_type": 1
},
"author_user_id": 2610703807575915,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7653145117871705379",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"label_risk_music_or_speech\",\"copyright_tag_hit\":\"6060504\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"true\",\"hit_high_risk\":\"true\",\"media_type\":\"4\",\"reason\":\"hit_listen_video_sta…"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "欢迎收看华语乐坛编年史,第一期我们从2000年开始! #周杰伦 #孙燕姿 #陈奕迅 #林俊杰 #华语乐坛天花板",
"challenge_position": null,
"chapter_abstract": "",
"chapter_bar_color": null,
"chapter_data": {
"ad_chapter_auto_skip_index_list": null,
"ad_chapter_index_list": null,
"recommend_type": ""
},
"chapter_list": [
{
"desc": "2000年",
"detail": "",
"points": null,
"timestamp": 14000,
"url": "https://p3-pc-sign.douyinpic.com/obj/tos-cn-p-0015/508102aa23b84e79ad1ad701282d0f0c?lk3s=138a59ce&x-expires=1787238000&x-signature=n7Ypg403yH0jX6zFAnSyFQBDZKY%3D&from=327834062"
},
{
"desc": "2001年",
"detail": "",
"points": null,
"timestamp": 84000,
"url": "https://p3-pc-sign.douyinpic.com/obj/tos-cn-p-0015/dcd964a4b2304db0a381b4aca1874c6d?lk3s=138a59ce&x-expires=1787238000&x-signature=4O469ErHW2DdclLl8WS974Xd5Pc%3D&from=327834062"
},
"… 4 more items in the full response"
],
"chapter_review_status": 2,
"collect_stat": 0,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": false,
"press_entry": false,
"toast_guide": false
},
"commerce_config_data": null,
"commerce_top_labels": null,
"create_scale_type": null,
"create_time": 1781971200,
"desc": "华语乐坛神作之下的第二名,真的没人记得吗? 欢迎收看华语乐坛编年史,第一期我们从2000年开始! #周杰伦 #孙燕姿 #陈奕迅 #林俊杰 #华语乐坛天花板",
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"diversion_bar_info": null,
"douyin_p_c_video_extra": "{\"ai_summary\":1,\"ai_summary_mashup\":1,\"video_highlight_bar\":1}",
"duet_aggregate_in_music_tab": false,
"duration": 444220,
"effect_inflow_effects": null,
"encrypt_interest_point_list": null,
"encrypt_key_phrase_list": null,
"entertainment_product_info": {
"biz": 0,
"market_info": {
"limit_free": {
"in_free": false
},
"marketing_tag": null
},
"sub_title": null
},
"feed_comment_config": {
"input_config_text": "善语结善缘,恶言伤人心"
},
"feed_comment_panel_ai_tab": {
"fit_ai_summarize": true,
"show_comment_ai_tab": true
},
"follow_shot_assets": null,
"friend_recommend_info": {
"friend_recommend_source": 5,
"label_user_list": null,
"recommend_predict_rate": -1,
"recommend_predict_score": 0
},
"…": "75 more fields in the full response"
}
],
"chime_video_list": null,
"filter_infos": null,
"log_pb": {
"impr_id": "20260820174343F174C8063A7BA2D43822"
},
"status_code": 0,
"video_cover_image_list": null,
"video_cover_url_list": null
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin Web Music VideosAPI 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.03 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/web/music-aweme 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, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: count (integer). Tùy chọn: refresh_index (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 Web Music Videos 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.