music_idstringobrigatório
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": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]Selecione um exemplo para carregar as entradas e o resultado no 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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento 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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
music_idstringobrigatórioMusic 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.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"data": {
"log_pb": {
"impr_id": "202608201745053007818DCBE339039EBB"
},
"status_code": 4,
"status_msg": "啊哦,服务器打瞌睡了,再试一次吧~"
}
}
]Explorar mais
| API | Preço | Resposta |
|---|---|---|
Douyin Music Video ListEsta API Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/app-v3/music-video-list com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.001 por chamada. Cada organização recebe 100 chamadas grátis por dia UTC, compartilhadas entre as APIs elegíveis da SandBase, incluindo esta; depois disso, cada chamada é cobrada nesse valor do seu saldo SandBase. Não há assinatura.
Obrigatórios: music_id (string). Opcionais: count (integer) e cursor (integer). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Douyin Music Video List funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Douyin separadamente.