countintegerจำเป็น
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
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน 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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
countintegerจำเป็นNumber per page, default is 16
refresh_indexintegerPaging index, default is 1
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"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
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Web Music VideosAPI นี้ Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.03 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/web/music-aweme โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: count (integer). ตัวเลือก: refresh_index (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Web Music Videos ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก