menu Ten·Api 文档
color_lens
near_me
filter_center_focus
二维码类
keyboard_arrow_down
fiber_dvr
短视频去水印类
keyboard_arrow_down
check_box_outline_blank
Bilibili类
keyboard_arrow_down
border_color
photo_size_select_actual
location_on
brightness_7
check_box_outline_blank
color_lens
format_shapes

网易云/QQ歌曲直链获取 总调用 410 次

使用教程

请求地址(https):https://tenapi.cn/music

请求示例(网易云):https://tenapi.cn/music?id=1307374414&type=song&media=netease

请求示例(QQ音乐):https://tenapi.cn/music?id=000z3WzC4LOSIj&type=song&media=tencent

返回数据(网易云):{"name":"ADDICT","mp3url":"https:\/\/m8.music.126.net\/20190616153141\/2316fa62ec90e2d041b8b32a22b19d92\/ymusic\/9b97\/2781\/f978\/2fa98ce49bdef19dad7e8fe4840b2840.mp3","song_id":1307374414,"cover":"https:\/\/p3.music.126.net\/KeP4XIy_4LWQDrRPbzztGg==\/109951163533403297.jpg?param=300y300","author":"\u5ba3\u7f8e"}

返回数据(QQ音乐):{"name":"Venice Bitch","mp3url":"https:\/\/dl.stream.qqmusic.qq.com\/M800000z3WzC4LOSIj.mp3?guid=771434393&vkey=90FEC363F156CBF3132EC44CE2CBDE5F76470D2468B64E63BEFD02502BD5E7BCAEE9D6902FD3F8AC57AB9A3DDBF7F94D435A65E0E9F0B98B&uin=0&fromtag=66","song_id":"000z3WzC4LOSIj","cover":"https:\/\/y.gtimg.cn\/music\/photo_new\/T002R300x300M000000xfxNC0XdpiO.jpg?max_age=2592000","author":"Lana Del Rey"}

Example

调用效果:暂无

暂无

请求参数

参数名称 类型 参数值 描述
id 必填 id 网易云/QQ的歌曲id 使用教程红色字体即为歌曲id
type 必填 song 暂无
media 必填 tencent/netease 选择网易云或者QQ
设置文档主题

主题色

主色

强调色