amagi
  1. douyin
amagi
  • douyin
    • 获取单个作品数据【视频、图集】
      GET
    • 获取用户合辑作品数据
      GET
    • 获取单个作品评论数据
      GET
    • 获取博主主页信息数据
      GET
    • 获取指定博主主页已发布的视频列表数据
      GET
    • 获取热点词数据
      GET
    • 获取指定内容的搜索数据
      GET
    • 获取抖音表情数据
      GET
    • 获取互动表情数据
      GET
    • 获取音乐(BGM)数据
      GET
    • 获取指定博主的直播间数据
      GET
    • 获取指定视频的评论回复数据
      GET
  • bilibili
    • 登录相关
      • 申请二维码
      • 二维码状态
      • 登录基本信息
    • 获取单个视频稿件详情信息
      GET
    • 获取视频流地址
      GET
    • 获取指定稿件评论列表
      GET
    • 获取番剧基本信息
      GET
    • 获取番剧视频流地址
      GET
    • 获取指定用户的动态列表
      GET
    • 获取指定动态详情
      GET
    • 获取指定动态卡片数据
      GET
    • 获取指定用户的信息
      GET
    • 获取平台emoji表情数据
      GET
    • 获取指定直播间信息
      GET
    • 获取直播间初始化信息
      GET
    • 通过bv号获得视频aid(av)号
      GET
    • 通过av号获得视频bvid(bv)号
      GET
    • 获取指定UP主的总播放量
      GET
  • kuaishou
    • 获取单个视频作品详情信息
    • 获取单个作品评论数据
    • 获取快手表情数据
  1. douyin

获取音乐(BGM)数据

开发环境
http://localhost:4567/api
开发环境
http://localhost:4567/api
GET
http://localhost:4567/api
/douyin/fetch_music_work
最后修改时间:2024-10-02 13:30:28

请求参数

Query 参数
music_id
string 
音乐id
必需
示例值:
7347176861983640339

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:4567/api/douyin/fetch_music_work?music_id=7347176861983640339'

返回响应

🟢200成功
application/json
Body
extra
object 
必需
fatal_item_ids
array[string]
必需
logid
string 
必需
now
integer 
必需
feature_data
object 
必需
high_upload_ratio
integer 
必需
log_pb
object 
必需
impr_id
string 
必需
msg
string 
必需
music_info
object 
必需
album
string 
必需
artist_user_infos
null 
必需
artists
array[string]
必需
audition_duration
integer 
必需
author
string 
必需
author_deleted
boolean 
必需
author_position
null 
必需
author_status
integer 
必需
avatar_large
object 
必需
avatar_medium
object 
必需
avatar_thumb
object 
必需
binded_challenge_id
integer 
必需
can_background_play
boolean 
必需
collect_stat
integer 
必需
cover_hd
object 
必需
cover_large
object 
必需
cover_medium
object 
必需
cover_thumb
object 
必需
dmv_auto_show
boolean 
必需
dsp_status
integer 
必需
duration
integer 
必需
end_time
integer 
必需
external_song_info
array[string]
必需
extra
string 
必需
id
integer 
必需
id_str
string 
必需
is_audio_url_with_cookie
boolean 
必需
is_commerce_music
boolean 
必需
is_del_video
boolean 
必需
is_matched_metadata
boolean 
必需
is_original
boolean 
必需
is_original_sound
boolean 
必需
is_pgc
boolean 
必需
is_restricted
boolean 
必需
is_video_self_see
boolean 
必需
luna_info
object 
必需
lyric_short_position
null 
必需
matched_pgc_sound
object 
必需
mid
string 
必需
music_chart_ranks
null 
必需
music_collect_count
integer 
必需
music_cover_atmosphere_color_value
string 
必需
music_status
integer 
必需
musician_user_infos
null 
必需
mute_share
boolean 
必需
offline_desc
string 
必需
original_musician_display_name
string 
必需
owner_handle
string 
必需
owner_id
string 
必需
owner_nickname
string 
必需
pgc_music_type
integer 
必需
play_url
object 
必需
position
null 
必需
prevent_download
boolean 
必需
prevent_item_download_status
integer 
必需
preview_end_time
integer 
必需
preview_start_time
integer 
必需
reason_type
integer 
必需
redirect
boolean 
必需
schema_url
string 
必需
search_impr
object 
必需
sec_uid
string 
必需
share_info
object 
必需
shoot_duration
integer 
必需
song
object 
必需
source_platform
integer 
必需
start_time
integer 
必需
status
integer 
必需
strong_beat_url
object 
必需
tag_list
null 
必需
title
string 
必需
trend_music_start_time
integer 
必需
unified_music_group
object 
必需
unshelve_countries
null 
必需
user_count
integer 
必需
video_duration
integer 
必需
rec_list
array[string]
必需
related_effects
null 
必需
related_musics
null 
必需
small_banner
array[string]
必需
status_code
integer 
必需
trends_infos
null 
必需
示例
{"extra":{"fatal_item_ids":[],"logid":"2025020119273778CB61B05B303B339708","now":1738409257000},"feature_data":{},"high_upload_ratio":70,"log_pb":{"impr_id":"2025020119273778CB61B05B303B339708"},"msg":"success","music_info":{"album":"","artist_user_infos":null,"artists":[],"audition_duration":26,"author":"芊芊龍","author_deleted":false,"author_position":null,"author_status":1,"avatar_large":{"height":720,"uri":"1080x1080/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1","url_list":["https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1.jpeg?from=889713528"],"width":720},"avatar_medium":{"height":720,"uri":"720x720/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1","url_list":["https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1.jpeg?from=889713528"],"width":720},"avatar_thumb":{"height":720,"uri":"100x100/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1","url_list":["https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1.jpeg?from=889713528"],"width":720},"binded_challenge_id":0,"can_background_play":true,"collect_stat":0,"cover_hd":{"height":720,"uri":"1080x1080/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1","url_list":["https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1.jpeg?from=889713528"],"width":720},"cover_large":{"height":720,"uri":"1080x1080/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1","url_list":["https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1.jpeg?from=889713528"],"width":720},"cover_medium":{"height":720,"uri":"720x720/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1","url_list":["https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1.jpeg?from=889713528"],"width":720},"cover_thumb":{"height":720,"uri":"100x100/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1","url_list":["https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_c1adfb7e8aa6cc2becb3a6eeb462e8b1.jpeg?from=889713528"],"width":720},"dmv_auto_show":false,"dsp_status":10,"duration":26,"end_time":0,"external_song_info":[],"extra":"{\"aed_music_score\":0.04,\"aed_singing_score\":0.96,\"aggregate_exempt_conf\":[],\"beats\":{},\"cover_colors\":null,\"douyin_beats_info\":{},\"dsp_switch\":0,\"extract_item_id\":7347176817821895963,\"has_edited\":1,\"hit_high_follow_auto\":false,\"hit_high_follow_extend\":false,\"hit_high_follow_original\":false,\"hotsoon_review_time\":-1,\"is_aed_music\":1,\"is_high_follow_user\":false,\"is_red\":0,\"is_subsidy_exp\":false,\"music_label_id\":null,\"music_tagging\":{\"AEDs\":[\"Female\",\"Vocal\"],\"Genres\":[\"Others\",\"DJ\"],\"Instruments\":null,\"Languages\":[\"Chinese\"],\"Moods\":[\"Happy\",\"Dynamic\"],\"SingingVersions\":[\"Seed\"],\"Themes\":[\"Low\",\"Dance\"]},\"review_unshelve_reason\":0,\"reviewed\":1,\"schedule_search_time\":0,\"uniqa_speech_score\":0.12,\"with_aed_model\":1}","id":7347176861983641000,"id_str":"7347176861983640339","is_audio_url_with_cookie":false,"is_commerce_music":false,"is_del_video":false,"is_matched_metadata":false,"is_original":false,"is_original_sound":true,"is_pgc":false,"is_restricted":false,"is_video_self_see":false,"luna_info":{"has_copyright":true,"is_luna_user":false},"lyric_short_position":null,"matched_pgc_sound":{"author":"晴儿妹妹","cover_medium":{"height":720,"uri":"tos-cn-v-2774c002/oM0ZEwiGAmogcxyNAABBEOhysQzwxAAWAuizfx","url_list":["https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oM0ZEwiGAmogcxyNAABBEOhysQzwxAAWAuizfx.jpeg","https://p11.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oM0ZEwiGAmogcxyNAABBEOhysQzwxAAWAuizfx.jpeg","https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oM0ZEwiGAmogcxyNAABBEOhysQzwxAAWAuizfx.jpeg"],"width":720},"id":7425809880600070000,"mixed_author":"","mixed_title":"","title":"Da Da Da"},"mid":"7347176861983640339","music_chart_ranks":null,"music_collect_count":0,"music_cover_atmosphere_color_value":"","music_status":1,"musician_user_infos":null,"mute_share":false,"offline_desc":"","original_musician_display_name":"芊芊龍","owner_handle":"98106230916","owner_id":"1829240893875021","owner_nickname":"芊芊龍","pgc_music_type":2,"play_url":{"height":720,"uri":"https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7347176861773957899.mp3","url_key":"7347176861983640339","url_list":["https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7347176861773957899.mp3","https://sf3-cdn-tos.douyinstatic.com/obj/ies-music/7347176861773957899.mp3"],"width":720},"position":null,"prevent_download":false,"prevent_item_download_status":0,"preview_end_time":0,"preview_start_time":0,"reason_type":0,"redirect":false,"schema_url":"","search_impr":{"entity_id":"7347176861983640339"},"sec_uid":"MS4wLjABAAAAigzqThuHGFUhkNma5CyFGn9TYDDwA-plDgWWJWdFcYfXagPcALawwa5DTsOMJASZ","share_info":{"bool_persist":0,"share_desc":"在抖音,记录美好生活","share_desc_info":"@芊芊龍创作的原声 >>","share_quote":"","share_signature_desc":"","share_signature_url":"","share_title":"@芊芊龍创作的原声 >>","share_title_myself":"","share_title_other":"","share_url":"https://www.iesdouyin.com/share/music/7347176861983640339?from_ssr=1","share_weibo_desc":"@芊芊龍创作的原声 >>"},"shoot_duration":26,"song":{"artists":null,"chorus_v3_infos":null,"id":7425809880600021000,"id_str":"7425809880600021008"},"source_platform":23,"start_time":0,"status":1,"strong_beat_url":{"height":720,"uri":"https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/pattern/ca31a6e81b580deb5354dd1cd8af7f2b.json","url_list":["https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/pattern/ca31a6e81b580deb5354dd1cd8af7f2b.json","https://sf3-cdn-tos.douyinstatic.com/obj/ies-music/pattern/ca31a6e81b580deb5354dd1cd8af7f2b.json"],"width":720},"tag_list":null,"title":"@芊芊龍创作的原声","trend_music_start_time":0,"unified_music_group":{"author":"晴儿妹妹","medium_cover_url":{"uri":"tos-cn-v-2774c002/oM0ZEwiGAmogcxyNAABBEOhysQzwxAAWAuizfx","url_list":["https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oM0ZEwiGAmogcxyNAABBEOhysQzwxAAWAuizfx.jpeg","https://p11.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oM0ZEwiGAmogcxyNAABBEOhysQzwxAAWAuizfx.jpeg","https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oM0ZEwiGAmogcxyNAABBEOhysQzwxAAWAuizfx.jpeg"]},"song_id":7425809880600021000,"title":"Da Da Da"},"unshelve_countries":null,"user_count":73256,"video_duration":26},"rec_list":[],"related_effects":null,"related_musics":null,"small_banner":[],"status_code":0,"trends_infos":null}
修改于 2024-10-02 13:30:28
上一页
获取互动表情数据
下一页
获取指定博主的直播间数据
Built with