用鼠标与指尖
让互联网更加有趣

QQ音乐MV和网易云音乐MV与音悦台MV搜索解析API接口使用说明

QQ音乐MV和网易云音乐MV与音悦台MV搜索解析API接口使用说明-小伟博客

接口来自名流互联公共API接口:https://api.mlwei.com/

欢迎投稿更多接口。

接口调用地址

https://api.mlwei.com/music/api/mv/

接口参数说明

参数名称 可否为空 参数说明
key 必需 请用作者QQ523077333 不懂直接联系,作者很热心的喔。
mv 必需 指定解析的平台。    QQ音乐:qq    网易云音乐:163  音悦台: tai
id 必需 解析MV视频信息需要的ID。
type 必需 解析类型:so 搜索,info 视频信息
page 可空 搜索的页码,每页默认100条数据,默认第一页。
word 必须 当type=so(搜索)时有效,要搜索的关键词,编程语言需要对中文进行URL编码。

接口调用方法

示例DEMO

搜索网易云MV:

  • 请求URL:
https://api.mlwei.com/music/api/mv/?key=523077333&mv=163&type=so&word=%E5%91%8A%E7%99%BD%E6%B0%94%E7%90%83&page=1
  • 搜索《告白气球》
  • 已对关键词进行URL编码:%E5%91%8A%E7%99%BD%E6%B0%94%E7%90%83
  • page=1 搜索第一页
  • 返回数据:(由于数据字符太多,我这里只展示第一个结果)
{ 
"result": { 
"mvCount": 11, //搜索结果总数量 
"mvs": [{ //包含所有搜索结果的数组 
"id": 5391192, //MV的ID,解析视频信息的时候要用到 
"cover": "http://p3.music.126.net/bQQ_KDrEoVg8xWsxbinzeg==/3299634401493495.jpg", //MV的图片 
"name": "告白气球", //MV名字 
"playCount": 0, 
"briefDesc": "周二珂翻唱周杰伦热门新单", //专辑 
"desc": null, //MV说明 
"artistName": "周二珂", //创作人 
"artistId": 1081635, 
"duration": 213000, 
"mark": 0, 
"artists": [{ 
"id": 1081635, 
"name": "二珂", 
"alias": [], 
"transNames": null 
}]}]}}

解析网易云MV详细信息:

  • 请求URL:
https://api.mlwei.com/music/api/mv/?key=523077333&mv=163&type=info&id=5391192
  • 参数ID的值是上面搜索结果MV数组中的id的值
  • 返回数据:(包含了MV详细信息和多个画质的URL)
{ 
"loadingPic": "", 
"bufferPic": "", 
"loadingPicFS": "", 
"bufferPicFS": "", 
"subed": false, 
"data": { 
"id": 5391192, 
"name": "告白气球", 
"artistId": 1081635, 
"artistName": "周二珂", 
"briefDesc": "周二珂翻唱周杰伦热门新单", 
"desc": "美女主播周二珂翻唱周杰伦《告白气球》,人美歌甜,粉丝直呼耳朵都怀孕了。", 
"cover": "http://p1.music.126.net/bQQ_KDrEoVg8xWsxbinzeg==/3299634401493495.jpg", 
"coverId": 3299634401493495, 
"playCount": 10495719, 
"subCount": 167381, 
"shareCount": 11750, 
"likeCount": 142862, 
"commentCount": 11226, 
"duration": 213000, 
"nType": 0, 
"publishTime": "2016-11-16", 
"brs": { 
"480": "http://vodkgeyttp8.vod.126.net/cloudmusic/MGRmYDE5YCAyYGAhICE1MA==/mv/5391192/db99e6e3d7dc73afb57b190e94619abc.mp4?wsSecret=dd24a2f079c135dbf67e9b23327c6bc6&wsTime=1540241013", 
"240": "http://vodkgeyttp8.vod.126.net/cloudmusic/MGRmYDE5YCAyYGAhICE1MA==/mv/5391192/a1232a74e4268d71802af6a4fa50da4b.mp4?wsSecret=0bef8a8db68596a15c34c7ce514a1648&wsTime=1540241013", 
"720": "http://vodkgeyttp8.vod.126.net/cloudmusic/MGRmYDE5YCAyYGAhICE1MA==/mv/5391192/b0bf594672f2cf982aaa63abe94a997d.mp4?wsSecret=00cc4711c477acd99b10f493c6e82d2e&wsTime=1540241013", 
"1080": "http://vodkgeyttp8.vod.126.net/cloudmusic/MGRmYDE5YCAyYGAhICE1MA==/mv/5391192/d2a2134e5e09ced8c40a333081b36128.mp4?wsSecret=78bef7f5c91496178eba6f4f105419ea&wsTime=1540241013" 
}, 
"artists": [{ 
"id": 1081635, 
"name": "周二珂" 
} 
], 
"artists": [{ 
"id": 1081635, 
"name": "周二珂" 
} 
], 
"isReward": false, 
"commentThreadId": "R_MV_5_5391192" 
}, 
"code": 200 
}

搜索QQ音乐MV:

  • 请求URL:
https://api.mlwei.com/music/api/mv/?key=523077333&mv=qq&type=so&word=%E5%88%98%E5%A2%9E%E7%9E%B3&page=1
  • 返回数据:(由于数据字符太多,我这里只展示第一个结果)
{ 
"docid": "3567704536351968740", 
"duration": 209, 
"msg": "", 
"mvName_hilight": "多想留在你身边", 
"mv_id": 1429683, 
"mv_name": "多想留在你身边", 
"mv_pic_url": "http://y.gtimg.cn/music/photo_new/T015R640x360M101004cOOl80feW0G.jpg", 
"pay": 0, 
"play_count": 839378, 
"publish_date": "2017-12-13", 
"singerMID": "001hATZn3J0Hyy", 
"singerName_hilight": "<em>刘增瞳</em>", 
"singer_list": [{ 
"id": 1162883, 
"mid": "001hATZn3J0Hyy", 
"name": "刘增瞳", 
"name_hilight": "<em>刘增瞳</em>" 
} 
], 
"singer_name": "刘增瞳", 
"singerid": 1162883, 
"type": 0, 
"uploader_nick": "", 
"uploader_uin": "", 
"v_id": "h0025gmd2ll",  //MV的ID,解析视频信息的时候要用到 
"version": 0, 
"video_switch": 31 
}

解析QQ音乐MV详细信息:

  • 请求URL:
https://api.mlwei.com/music/api/mv/?key=523077333&mv=qq&type=info&id=h0025gmd2ll
  • 注意:参数ID的值要从上面搜索结果获取MV数组的v_id“的值。
  • 返回数据:(包含了MV详细信息和多个画质的URL)
{ 
"mvinfo": { 
"name": "多想留在你身边", 
"singers": [{ 
"id": 1162883, 
"mid": "001hATZn3J0Hyy", 
"name": "刘增瞳", 
"picurl": "http://y.gtimg.cn/music/photo_new/T001R150x150M000001hATZn3J0Hyy.jpg" 
} 
], 
"pic": "http://y.gtimg.cn/music/photo_new/T015R640x360M101004cOOl80feW0G.jpg", 
"desc": "" 
}, 
"mvurl": { 
"360p": "http://111.12.66.154/vcloud1049.tc.qq.com/1049_M0140200000iOrB32xgIfQ1001510192.f10.mp4?vkey=CD4041A893EFC5F1D28FEF5759944DDA103CCEB769357066FC3EF89ADF18A4D34C9044CC014B342C19158DEECB6A1F973B9B1EC011E76F15FA9CE46CF2C13B1955A42E10E1E74B61E26E054785E0E1C1415713A9C5A7E6DC", 
"480p": "http://183.232.248.30/vcloud1049.tc.qq.com/1049_M0140200000iOrB32xgIfQ1001510192.f20.mp4?vkey=23B6D3473C01B2C4FC6C176CBB5A429D9157A3757433762002942F265AC60421275E7E1BAF66CA735F757EA4EC028CE4BE63DC1AF02A1009BD4E1C815E66CA7FC77AF7212662FEE4DE5CF0B5787D54EAA83A1C4B8727F3D8", 
"720p": "http://183.232.248.12/vcloud1049.tc.qq.com/1049_M0140200000iOrB32xgIfQ1001510192.f30.mp4?vkey=63788E951D334C58EA77E66E23334B5BF00CD4100553507D36A932361C07E90EF50A5EEE0638580648E8C580931EF5317C3D634A8FA1A210B26AF4124902579B4A0C21C0A7977098E7819F53EA484014A40AF19C88CFA73A", 
"1080p": "http://183.232.254.154/vcloud1049.tc.qq.com/1049_M0140200000iOrB32xgIfQ1001510192.f40.mp4?vkey=C6897B94D111BD6A09C1F6E533C9A8859B1CF3C0E30B9312FAF737EF09EDFA086E0EBF91C980CF69790E621A0721EBE91A8C41D61B5B8AB19B63E40706D265746D055BB346DC6105E4F16B36F76C2FEEC141B10A27AF376F" 
} 
}

搜索音悦台MV:

  • 请求URL:
https://api.mlwei.com/music/api/mv/?key=523077333&mv=tai&type=so&word=云烟成雨
  • 返回数据:(由于数据字符太多,我这里只展示第一个结果)
{"message":"","error":false,"videos":{"data":[{"id":3239185,"title":"云烟成雨 - 二珂直播单曲 18/06/23","headImg":"//img3.c.yinyuetai.com/video/mv/180627/0/d4580fbfc336e1e9dffd66849497b25f_240x135.jpg","duration":"03:49","sh":true,"artists":[{"id":42194,"name":"二珂","hlName":"二珂"}],"value":"2.6万","hltitle":"\u003cem\u003e云烟\u003c/em\u003e\u003cem\u003e成\u003c/em\u003e\u003cem\u003e雨\u003c/em\u003e - 二珂直播单曲 18/06/23","pubDate":"2018.06.27","userId":56871236,"userName":"二珂的迷猴桃小站","userHeadImg":"//img4.c.yinyuetai.com/user/avatar/180504/56871236-1525405331338/-M-bf982d33326095ef08d0c8517f16c1e4_50x50.jpg","videoType":"sh"},{"id":3242608,"title":"云烟成雨","headImg":"//img3.c.yinyuetai.com/video/mv/180703/0/a3c0dbbb4384077fdc9f7bfae4d96a02_240x135.jpg","duration":"01:51","sh":false,"artists":[{"id":708,"name":"群星","hlName":"群星"}],"value":"1.9万","hltitle":"\u003cem\u003e云烟\u003c/em\u003e\u003cem\u003e成\u003c/em\u003e\u003cem\u003e雨\u003c/em\u003e","pubDate":"2018.07.03","userId":2099526,"userName":"和平","userHeadImg":"//img4.c.yinyuetai.com/uploads/default/headImg/header63.gif","videoType":"shd"},{"id":3266089,"title":"云烟成雨-夜色钢琴曲-赵海洋演奏版","headImg":"//img3.c.yinyuetai.com/video/mv/180808/0/43520a3974ee06a69d89004af6474c1c_240x135.jpg","duration":"04:15","sh":true,"artists":[{"id":28079,"name":"赵海洋","hlName":"赵海洋"}],"value":"7329","hltitle":"\u003cem\u003e云烟\u003c/em\u003e\u003cem\u003e成\u003c/em\u003e\u003cem\u003e雨\u003c/em\u003e-夜色钢琴曲-赵海洋演奏版","pubDate":"2018.08.08","userId":16881732,"userName":"夜色钢琴曲","userHeadImg":"//img4.c.yinyuetai.com/user/avatar/171011/16881732-1507724844762/-M-cc37439817fd62e0d8fbfcfa01714eed_50x50.jpg","videoType":"sh"},{"id":3254572,"title":"聆听拇指琴演奏《云烟成雨》","headImg":"//img4.c.yinyuetai.com/video/mv/180721/0/90d778985ba995984315a52f4fe641a5_240x135.jpg","duration":"01:43","sh":false,"artists":[{"id":708,"name":"群星","hlName":"群星"}],"value":"5456","hltitle":"聆听拇指琴演奏《\u003cem\u003e云烟\u003c/em\u003e\u003cem\u003e成\u003c/em\u003e\u003cem\u003e雨\u003c/em\u003e》","pubDate":"2018.07.21","userId":56726313,"userName":"聆听拇指琴","userHeadImg":"//img3.c.yinyuetai.com/user/avatar/180321/56726313-1521641490452/-M-c2168b1d7c69eb3c997b7517be57a813_50x50.jpg","videoType":""},{"id":3246244,"title":"清唱版《云烟成雨》,能否挽回已成云烟的你?","headImg":"//img2.c.yinyuetai.com/video/mv/180707/0/906cc8a2f20869dbd3c988f61b112b2f_240x135.jpg","duration":"00:32","sh":true,"artists":[{"id":27843,"name":"FindaVox寻声人声乐团","hlName":"FindaVox寻声人声乐团"}],"value":"4039","hltitle":"清唱版《\u003cem\u003e云烟\u003c/em\u003e\u003cem\u003e成\u003c/em\u003e\u003cem\u003e雨\u003c/em\u003e》,能否挽回已\u003cem\u003e成\u003c/em\u003e\u003cem\u003e云烟\u003c/em\u003e的你?","pubDate":"2018.07.07","userId":16576930,"userName":"FindaVox寻声人声乐团","userHeadImg":"//img3.c.yinyuetai.com/user/avatar/180926/16576930-1537975743960/-M-17e465a009f212421dea3049fa7df1dd_50x50.jpg","videoType":"sh"},{"id":3253198,"title":"《云烟成雨》姜创钢琴 即兴演奏","headImg":"//img0.c.yinyuetai.com/video/mv/180719/0/fd91055b2b16c4eefd5f30737074971f_240x135.jpg","duration":"02:50","sh":true,"artists":[{"id":15655,"name":"音乐短片","hlName":"音乐短片"}],"value":"2974","hltitle":"《\u003cem\u003e云烟\u003c/em\u003e\u003cem\u003e成\u003c/em\u003e\u003cem\u003e雨\u003c/em\u003e》姜创钢琴 即兴演奏","pubDate":"2018.07.19","userId":44711468,"userName":"姜创钢琴","userHeadImg":"//img0.c.yinyuetai.com/user/avatar/180914/44711468-1536904984502/-M-f218cbcf1e72ed6f233b3c3f62ca6a3a_50x50.jpg","videoType":"sh"},{"id":2771190,"title":"世事苍茫成云烟 电影\u003c东邪西毒\u003e剪辑 饭制版","headImg":"//img4.c.yinyuetai.com/video/mv/170112/2771190/-M-d1aaa280bf2d03ffb31022756fc318ec_240x135.jpg","duration":"02:52","sh":false,"artists":[{"id":10498,"name":"林青霞","hlName":"林青霞"}],"value":"1.0万","hltitle":"世事苍茫\u003cem\u003e成\u003c/em\u003e\u003cem\u003e云烟\u003c/em\u003e 电影\u003c东邪西毒\u003e剪辑 饭制版","pubDate":"2017.01.12","userId":26694671,"userName":"无言影片","userHeadImg":"//img0.c.yinyuetai.com/user/avatar/180407/26694671-1523084861424/-M-7f64cf98b1c78bae7283969375db2015_50x50.jpg","videoType":"shd"},{"id":2339474,"title":"世事苍茫成云烟","headImg":"//img0.c.yinyuetai.com/video/mv/160918/2339474/-M-10a84b0a4fe132b03e024cec7ccc2167_240x135.jpg","duration":"02:52","sh":false,"artists":[{"id":15655,"name":"音乐短片","hlName":"音乐短片"}],"value":"4816","hltitle":"世事苍茫\u003cem\u003e成\u003c/em\u003e\u003cem\u003e云烟\u003c/em\u003e","pubDate":"2015.07.29","userId":7639969,"userName":"Mary","userHeadImg":"//img1.c.yinyuetai.com/user/avatar/170209/7639969-1486592416346/-M-e6276f0104c8f49e4da9970eec914d3c_50x50.jpg","videoType":"shd"}],"totalCount":8,"totalStr":"8","cacheAble":true,"correctWord":"","correctResult":false,"returnCode":0},"keyword":"云烟成雨","pages":[{"index":1,"text":"1","link":false,"url":"/search/video-search?orderType\u003dTOTALVIEWS\u0026keyword\u003d%E4%BA%91%E7%83%9F%E6%88%90%E9%9B%A8\u0026durationStart\u003d0\u0026pageSize\u003d100\u0026offset\u003d0\u0026pageIndex\u003d1","nextPage":false,"prePage":false}],"pageInfo":{"pageNum":1,"pageCount":1,"totalCount":8,"startIndex":0,"endIndex":8},"logined":false,"vchartVideos":[]}

解析音悦台MV详细信息:

  • 请求URL:
https://api.mlwei.com/music/api/mv/?key=523077333&mv=tai&type=info&id=3239185
  • 注意:参数ID的值要从上面搜索结果获取MV数组的id“的值。
  • 返回数据:(包含了MV详细信息和多个画质的URL)
{"message":"","error":false,"logined":false,"videoInfo":{"pageUrl":"http://v.yinyuetai.com/video/3239185","secretKeyUri":"http://api.yinyuetai.com/mv/secret-key","coreVideoInfo":{"videoId":3239185,"videoName":"云烟成雨 - 二珂直播单曲 18/06/23","headImage":"//img3.c.yinyuetai.com/video/mv/180627/0/d4580fbfc336e1e9dffd66849497b25f_120x67.jpg","bigHeadImage":"//img4.c.yinyuetai.com/video/mv/180627/3239185/-M-57a4255fd8f279511f8c3da44906099a_640x360.jpg","videoUrlModels":[{"bitrateType":1,"bitrate":780,"qualityLevel":"hc","qualityLevelName":"流畅","QualityLevelName":"流畅","videoUrl":"http://hc.yinyuetai.com/uploads/videos/common/42E1016441308442389FC8284724B9AE.mp4?sc\u003d818aeae2ef57dece\u0026br\u003d780\u0026vid\u003d3239185\u0026aid\u003d42194\u0026area\u003dML\u0026vst\u003d3","fileSize":22432598,"sha1":"05ada62c4cf09ce6e88d4c8e4e7fae3fcd2517ea","md5":"7a519b92644910997d6ff1420af74160"},{"bitrateType":2,"bitrate":1100,"qualityLevel":"hd","qualityLevelName":"高清","QualityLevelName":"高清","videoUrl":"http://hd.yinyuetai.com/uploads/videos/common/EC6E016441653029E0779BDA3D35D562.mp4?sc\u003d49c1fce864c3e532\u0026br\u003d1100\u0026vid\u003d3239185\u0026aid\u003d42194\u0026area\u003dML\u0026vst\u003d3","fileSize":31649296,"sha1":"540167e75fd774a64173005e383a6f50bd079c77","md5":"591e15b6105528c057a6eb4db5c9c479"},{"bitrateType":3,"bitrate":3123,"qualityLevel":"he","qualityLevelName":"超清","QualityLevelName":"超清","videoUrl":"http://he.yinyuetai.com/uploads/videos/common/1FFA016441653022AC4A2C7CB236FD10.mp4?sc\u003d61de95540cf7bda8\u0026br\u003d3123\u0026vid\u003d3239185\u0026aid\u003d42194\u0026area\u003dML\u0026vst\u003d3","fileSize":89808849,"sha1":"8608d1f0e1c2116dd4e776cfd23e8f25a427cffc","md5":"7da382ffbff6b60991f9fb83a1389103"}],"duration":230,"artistIds":"42194","artistNames":"二珂","threeD":false,"error":false,"errorMsg":"","source":"fan_video","modelType":"common"},"partner":false}}

版权声明

本接口数据均来自于各音乐平台,本站不提供下载和存储任何数据,转载请注明版权,禁止商用,否则我们将下线API接口。

  • 原创作者:小伟 QQ 523077333
  • 软件开发、前端开发技术交流QQ群34544417
  • 如需要技术支持,需要源代码的,请加好本站友链再联系本人,非诚勿扰谢谢!
  • 本接口来自名流互联公共API接口https://api.mlwei.com/  欢迎投稿更多接口。
支付宝扫码打赏 微信扫码打赏

如果文章对你有帮助,欢迎点击上方按钮打赏作者

未经允许不得转载:小伟博客 » QQ音乐MV和网易云音乐MV与音悦台MV搜索解析API接口使用说明

分享到:更多 ()

评论 4

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #1

    朋友 链接撤掉了
    如果可以放首页的话,我再补上。

    搬瓦工3周前 (10-31)Reply
    • 好的,后续开发到首页,请关注。

      小伟2周前 (11-02)Reply

小伟博客 · 给你感兴趣的内容

联系我们官方交流群