music_idstringwajib
Music id
https://api.sandbase.ai/v1/api/douyin/app-v3/music-video-listReturns a paginated list of Douyin videos that feature a specified audio track, identified by its music ID.
[
{
"data": {
"log_pb": {
"impr_id": "202608201745053007818DCBE339039EBB"
},
"status_code": 4,
"status_msg": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
Returns a paginated list of Douyin videos that use a given audio track. You send the track's music_id and get back video entries with caption, author, hashtags and creation time.
aweme_id values for later lookups.curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/music-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"music_id": "7348905216869174025"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
music_id | string | Yes | Music 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": 0,
"ai_follow_images": null,
"anchors": null,
"authentication_token": "MS4wLjAA…",
"author": {
"account_cert_info": "{}",
"ad_cover_url": null,
"allow_story_normal_like": true,
"authority_status": 0,
"avatar_168x168": {
"height": 720,
"uri": "168x168/aweme-avatar/tos-cn-avt-0015_08c81910adcc8424b0095ff35df40625",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_08c81910adcc8424b0095f…"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-avt-0015_08c81910adcc8424b0095ff35df40625",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_08c81910adcc8424b0095f…"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_08c81910adcc8424b0095ff35df40625",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_08c81910ad…"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "720x720/aweme-avatar/tos-cn-avt-0015_08c81910adcc8424b0095ff35df40625",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_08c81910adcc…"
],
"width": 720
}
},
"author_mask_tag": 0,
"author_user_id": 4055412235572862,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7357708701425224997",
"aweme_listen_struct": {
"listen_diversion": {
"extra": [
{
"key": "new_guide_prefix",
"val": "下载汽水"
}
],
"popup_scene": 4,
"side_desc": "听更多精彩内容",
"sub_title_type": "relation"
},
"trace_info": "{\"copyright_not_speech\":\"true\",\"copyright_reason\":\"not_intercept\",\"copyright_tag…"
},
"aweme_type": 68,
"aweme_type_tags": ""
}
],
"cursor": 10,
"extra": {
"fatal_item_ids": [],
"logid": "20261103153136BE9467C4608A615EE8A7",
"now": 1793691097000
},
"has_more": 1,
"log_pb": {
"impr_id": "20261103153136BE9467C4608A615EE8A7"
},
"status_code": 0
}
| Field | Meaning |
|---|---|
aweme_list | List of videos that use the requested audio track. |
aweme_list[].aweme_id | ID of the video, as a string. Use it to look up that video in other APIs. |
aweme_list[].caption / aweme_list[].desc | Text the creator wrote for the video, including any # hashtags. |
aweme_list[].create_time | Time the video was created, as a Unix timestamp in seconds. |
aweme_list[].author_user_id | Numeric ID of the account that posted the video. |
aweme_list[].author.avatar_larger.url_list | Image URLs for the author's avatar. Smaller sizes are in avatar_168x168, avatar_300x300, avatar_medium and avatar_thumb. |
aweme_list[].cha_list[].cha_name | Name of a hashtag (challenge) attached to the video. |
aweme_list[].cha_list[].cid | ID of that hashtag, as a string. |
aweme_list[].city | City code for the video. Values such as 130400 and 440100 appear in the response. |
aweme_list[].commerce_info.is_ad | Shows whether the video is an ad. |
music_id as a string. The example uses 7348905216869174025.cursor as 0 for the first page. For the next page, send the cursor value returned in the previous response.count. The parameter description warns that changing it can cause bugs.aweme_id.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/music-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"music_id": "example"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
music_idstringwajibMusic 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.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {
"log_pb": {
"impr_id": "202608201745053007818DCBE339039EBB"
},
"status_code": 4,
"status_msg": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin Music Video ListAPI ini Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/app-v3/music-video-list dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.
Wajib: music_id (string). Opsional: count (integer) dan cursor (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Music Video List berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.