music_idstringrequerido
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": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]Seleccione un ejemplo para cargar sus entradas y el resultado en el 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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
music_idstringrequeridoMusic 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.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"data": {
"log_pb": {
"impr_id": "202608201745053007818DCBE339039EBB"
},
"status_code": 4,
"status_msg": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]Explorar más
| API | Precio | Respuesta |
|---|---|---|
Douyin Music Video ListEsta API Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/app-v3/music-video-list con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.001 por llamada. Cada organización obtiene 100 llamadas gratis por día UTC, compartidas entre las APIs elegibles de SandBase, incluida esta; después, cada llamada se factura a este precio desde tu saldo de SandBase. No hay suscripción.
Requeridos: music_id (string). Opcionales: count (integer) y cursor (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Douyin Music Video List funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.