小程序-云音乐
  1. 首页中心
小程序-云音乐
  • 使用须知
  • 首页中心
    • 榜单
      • 获取所有榜单
      • 根据榜单的ID获取榜单
    • 歌单
      • 获取推荐歌单
      • 获取歌单中所有歌曲
      • 获取歌单详情
      • 获取歌单详情动态
      • 获取歌单分类
      • 获取热门歌单分类
      • 根据歌单分类获取歌单( 网友精选碟 )
      • 收藏/取消收藏歌单
    • 电台
      • 获取热门电台
      • 获取推荐电台
      • 获取电台今日优选电台
      • 获取电台分类
      • 根据分类id获取热门电台列表
      • 获取电台详情
      • 获取电台节目列表
      • 订阅电台
    • 搜索
      • 获取默认搜索关键词
      • 获取热搜列表(简略)
      • 获取热搜列表(详细)
      • 根据关键字进行搜索
      • 获取搜索建议
    • 获取轮播图
      GET
    • 获取每日推荐歌曲
      POST
  • 登录
    • 二维码登录
      • 二维码 key 生成
      • 根据key生成二维码
      • 检测二维码扫码状态
    • 游客登录
      GET
    • 退出登录
      GET
  • 个人中心
    • 获取用户信息
      • 根据id获取用户信息
      • 获取用户信息 , 歌单,收藏,mv, dj 数量
      • 获取账号信息
      • 获取用户等级信息
      • 获取登录状态
    • 歌单
      • 获取用户歌单
    • 最近播放
      • 最近播放-歌曲
      • 最近播放-视频
      • 最近播放-歌单
      • 最近播放-专辑
      • 最近播放-播客
      • 最近播放-声音
      • 将 mlog id 转为视频 id
    • 我的收藏
      • 获取收藏的专辑
      • 获取收藏的mv
      • 获取点赞过的视频
      • 获取我收藏的电台
    • 更新用户信息
      • 更新用户信息
      • 可更新头像
  • 视频中心
    • mv
      • 获取全部 mv
      • 获取推荐的mv
      • 获取 mv 数据
      • 获取 mv 点赞转发评论数数据
      • 获取 mv 播放地址
    • 视频
      • 获取推荐的视频
      • 获取全部视频列表
      • 获取视频详情
      • 获取视频点赞转发评论数数据
      • 获取视频播放地址
      • 获取视频标签列表
      • 获取视频标签/分类下的视频
  • 通用
    • 歌曲
      • 歌曲详情字段说明
      • 获取歌曲url
      • 喜欢音乐
      • 获取喜欢音乐列表
    • 歌词
      • 获取歌曲的歌词
      • 获取歌曲的逐字歌词
    • 评论
      • 获取资源评论
      • 获取楼层评论
      • 给评论点赞
      • 发送/删除评论
    • 收藏资源
      • 收藏视频
      • 收藏 MV
      • 收藏歌单
      • 收藏专辑
    • 歌单
      • 歌单添加或删除歌曲
      • 新建歌单
      • 删除歌单
    • 点赞资源(歌曲,歌单,MV,电台,视频)
      POST
    • 心动模式/智能播放
      POST
  1. 首页中心

获取轮播图

开发中
GET
/banner
调用此接口 , 可获取 banner( 轮播图 ) 数据

请求参数

Query 参数
type
string 
可选
示例值:
1

示例代码

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://127.0.0.1:3000/banner?type=1'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{"banners":[{"pic":"http://p1.music.126.net/QLHYiOOCXjkMHTFtwUFR_g==/109951168649467044.jpg","targetId":165073226,"adid":null,"targetType":10,"titleColor":"red","typeTitle":"热碟推荐","url":null,"adurlV2":null,"exclusive":false,"monitorImpress":null,"monitorClick":null,"monitorType":null,"monitorImpressList":[],"monitorClickList":[],"monitorBlackList":null,"extMonitor":null,"extMonitorInfo":null,"adSource":null,"adLocation":null,"encodeId":"165073226","program":null,"event":null,"video":null,"dynamicVideoData":null,"song":null,"bannerId":"1685537740600245","alg":"banner-feature-1685537740600245","scm":"1.music-homepage.homepage_banner_force.banner.7065986.219451991.null","requestId":"","showAdTag":true,"pid":null,"showContext":null,"adDispatchJson":null,"s_ctrp":"syspf_resourceType_10-syspf_resourceId_165073226","logContext":null,"bannerBizType":"force_banner"},{"pic":"http://p1.music.126.net/aCNfFbkjE4REfGQ4TPbyOw==/109951168649472038.jpg","targetId":0,"adid":null,"targetType":3000,"titleColor":"blue","typeTitle":"活动","url":"https://y.music.163.com/m/at/64719f1ce15dbde20a9e7d3a","adurlV2":null,"exclusive":false,"monitorImpress":null,"monitorClick":null,"monitorType":null,"monitorImpressList":[],"monitorClickList":[],"monitorBlackList":null,"extMonitor":null,"extMonitorInfo":null,"adSource":null,"adLocation":null,"encodeId":"0","program":null,"event":null,"video":null,"dynamicVideoData":null,"song":null,"bannerId":"1685537850064325","alg":"banner-feature-1685537850064325","scm":"1.music-homepage.homepage_banner_force.banner.7065987.219329011.null","requestId":"","showAdTag":true,"pid":null,"showContext":null,"adDispatchJson":null,"s_ctrp":"syspf_resourceType_3000-syspf_resourceId_0","logContext":null,"bannerBizType":"force_banner"},{"pic":"http://p1.music.126.net/xdWkeRTvRC4cI9KUckBaVw==/109951168649470252.jpg","targetId":2051589617,"adid":null,"targetType":1,"titleColor":"red","typeTitle":"新歌首发","url":null,"adurlV2":null,"exclusive":false,"monitorImpress":null,"monitorClick":null,"monitorType":null,"monitorImpressList":[],"monitorClickList":[],"monitorBlackList":null,"extMonitor":null,"extMonitorInfo":null,"adSource":null,"adLocation":null,"encodeId":"2051589617","program":null,"event":null,"video":null,"dynamicVideoData":null,"song":{"name":"A Beautiful Game","id":2051589617,"pst":0,"t":0,"ar":[{"id":33184,"name":"Ed Sheeran","tns":[],"alias":[]}],"alia":["美剧《足球教练》第三季最终集插曲"],"pop":100,"st":0,"rt":"","fee":8,"v":3,"crbt":null,"cf":"","al":{"id":166648279,"name":"A Beautiful Game","picUrl":"http://p2.music.126.net/Y3AWtiq_EApjP0SmjcU1Fg==/109951168647536731.jpg","tns":[],"pic_str":"109951168647536731","pic":109951168647536740},"dt":215440,"h":{"br":320000,"fid":0,"size":8619885,"vd":-40173,"sr":48000},"m":{"br":192000,"fid":0,"size":5171949,"vd":-37570,"sr":48000},"l":{"br":128000,"fid":0,"size":3447981,"vd":-35914,"sr":48000},"sq":{"br":866225,"fid":0,"size":23327443,"vd":-40038,"sr":48000},"hr":{"br":1629603,"fid":0,"size":43885231,"vd":-40123,"sr":48000},"a":null,"cd":"01","no":1,"rtUrl":null,"ftype":0,"rtUrls":[],"djId":0,"copyright":1,"s_id":0,"mark":537141248,"originCoverType":0,"originSongSimpleData":null,"tagPicList":null,"resourceState":true,"version":3,"songJumpInfo":null,"entertainmentTags":null,"single":0,"noCopyrightRcmd":null,"rurl":null,"mst":9,"cp":7002,"mv":0,"rtype":0,"publishTime":1685462400000,"privilege":{"id":2051589617,"fee":8,"payed":0,"st":0,"pl":128000,"dl":0,"sp":7,"cp":1,"subp":1,"cs":false,"maxbr":999000,"fl":128000,"toast":false,"flag":260,"preSell":false,"playMaxbr":999000,"downloadMaxbr":999000,"maxBrLevel":"hires","playMaxBrLevel":"hires","downloadMaxBrLevel":"hires","plLevel":"standard","dlLevel":"none","flLevel":"standard","rscl":null,"freeTrialPrivilege":{"resConsumable":false,"userConsumable":false,"listenType":null},"chargeInfoList":[{"rate":128000,"chargeUrl":null,"chargeMessage":null,"chargeType":0},{"rate":192000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":320000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":999000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":1999000,"chargeUrl":null,"chargeMessage":null,"chargeType":1}]},"alg":"banner-feature-1685538002939655"},"bannerId":"1685538002939655","alg":"banner-feature-1685538002939655","scm":"1.music-homepage.homepage_banner_force.banner.7065988.219420432.null","requestId":"","showAdTag":true,"pid":null,"showContext":null,"adDispatchJson":null,"s_ctrp":"syspf_resourceType_1-syspf_resourceId_2051589617","logContext":null,"bannerBizType":"force_banner"},{"pic":"http://p1.music.126.net/CwNtfMTDKqS3cG76q0tuew==/109951168649490346.jpg","targetId":2051582458,"adid":null,"targetType":1,"titleColor":"red","typeTitle":"新歌首发","url":null,"adurlV2":null,"exclusive":false,"monitorImpress":null,"monitorClick":null,"monitorType":null,"monitorImpressList":[],"monitorClickList":[],"monitorBlackList":null,"extMonitor":null,"extMonitorInfo":null,"adSource":null,"adLocation":null,"encodeId":"2051582458","program":null,"event":null,"video":null,"dynamicVideoData":null,"song":{"name":"嘉陵","id":2051582458,"pst":0,"t":0,"ar":[{"id":12079219,"name":"李佳隆","tns":[],"alias":[]}],"alia":[],"pop":5,"st":0,"rt":"","fee":8,"v":3,"crbt":null,"cf":"","al":{"id":166646484,"name":"嘉陵","picUrl":"http://p2.music.126.net/pISMzz2dxQmvc6FkTgEDtg==/109951168647496569.jpg","tns":[],"pic_str":"109951168647496569","pic":109951168647496580},"dt":191612,"h":{"br":320000,"fid":0,"size":7666605,"vd":-44999,"sr":48000},"m":{"br":192000,"fid":0,"size":4599981,"vd":-42434,"sr":48000},"l":{"br":128000,"fid":0,"size":3066669,"vd":-40828,"sr":48000},"sq":{"br":1009698,"fid":0,"size":24183914,"vd":-45136,"sr":48000},"hr":{"br":1780015,"fid":0,"size":42634233,"vd":-45017,"sr":48000},"a":null,"cd":"01","no":1,"rtUrl":null,"ftype":0,"rtUrls":[],"djId":0,"copyright":1,"s_id":0,"mark":536879104,"originCoverType":0,"originSongSimpleData":null,"tagPicList":null,"resourceState":true,"version":3,"songJumpInfo":null,"entertainmentTags":null,"single":0,"noCopyrightRcmd":null,"rurl":null,"mst":9,"cp":1400821,"mv":0,"rtype":0,"publishTime":1685548800000,"privilege":{"id":2051582458,"fee":8,"payed":0,"st":0,"pl":128000,"dl":0,"sp":7,"cp":1,"subp":1,"cs":false,"maxbr":999000,"fl":128000,"toast":false,"flag":260,"preSell":false,"playMaxbr":999000,"downloadMaxbr":999000,"maxBrLevel":"hires","playMaxBrLevel":"hires","downloadMaxBrLevel":"hires","plLevel":"standard","dlLevel":"none","flLevel":"standard","rscl":null,"freeTrialPrivilege":{"resConsumable":false,"userConsumable":false,"listenType":null},"chargeInfoList":[{"rate":128000,"chargeUrl":null,"chargeMessage":null,"chargeType":0},{"rate":192000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":320000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":999000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":1999000,"chargeUrl":null,"chargeMessage":null,"chargeType":1}]},"alg":"banner-feature-1685538629616121"},"bannerId":"1685538629616121","alg":"banner-feature-1685538629616121","scm":"1.music-homepage.homepage_banner_force.banner.7065991.219479831.null","requestId":"","showAdTag":true,"pid":null,"showContext":null,"adDispatchJson":null,"s_ctrp":"syspf_resourceType_1-syspf_resourceId_2051582458","logContext":null,"bannerBizType":"force_banner"},{"pic":"http://p1.music.126.net/0Y8dhhSxIOxSPvEc2ZM6rw==/109951168649570051.jpg","targetId":165862413,"adid":null,"targetType":10,"titleColor":"red","typeTitle":"新碟首发","url":null,"adurlV2":null,"exclusive":false,"monitorImpress":null,"monitorClick":null,"monitorType":null,"monitorImpressList":[],"monitorClickList":[],"monitorBlackList":null,"extMonitor":null,"extMonitorInfo":null,"adSource":null,"adLocation":null,"encodeId":"165862413","program":null,"event":null,"video":null,"dynamicVideoData":null,"song":null,"bannerId":"1685540611962730","alg":"banner-feature-1685540611962730","scm":"1.music-homepage.homepage_banner_force.banner.7104003.219480075.null","requestId":"","showAdTag":true,"pid":null,"showContext":null,"adDispatchJson":null,"s_ctrp":"syspf_resourceType_10-syspf_resourceId_165862413","logContext":null,"bannerBizType":"force_banner"},{"pic":"http://p1.music.126.net/X177UEcjAuKGiHOF-Yi8MQ==/109951168649502309.jpg","targetId":165695864,"adid":null,"targetType":10,"titleColor":"red","typeTitle":"新碟首发","url":null,"adurlV2":null,"exclusive":false,"monitorImpress":null,"monitorClick":null,"monitorType":null,"monitorImpressList":[],"monitorClickList":[],"monitorBlackList":null,"extMonitor":null,"extMonitorInfo":null,"adSource":null,"adLocation":null,"encodeId":"165695864","program":null,"event":null,"video":null,"dynamicVideoData":null,"song":null,"bannerId":"1685538956774854","alg":"banner-feature-1685538956774854","scm":"1.music-homepage.homepage_banner_force.banner.7065993.219268564.null","requestId":"","showAdTag":true,"pid":null,"showContext":null,"adDispatchJson":null,"s_ctrp":"syspf_resourceType_10-syspf_resourceId_165695864","logContext":null,"bannerBizType":"force_banner"},{"pic":"http://p1.music.126.net/SszeGUbbFSOZCuwH3F7IjQ==/109951168649509498.jpg","targetId":0,"adid":null,"targetType":3000,"titleColor":"blue","typeTitle":"数字专辑","url":"https://y.music.163.com/digitalbum/detail/165533664?nm_style=sbt","adurlV2":null,"exclusive":false,"monitorImpress":null,"monitorClick":null,"monitorType":null,"monitorImpressList":[],"monitorClickList":[],"monitorBlackList":null,"extMonitor":null,"extMonitorInfo":null,"adSource":null,"adLocation":null,"encodeId":"0","program":null,"event":null,"video":null,"dynamicVideoData":null,"song":null,"bannerId":"1685539344792954","alg":"banner-feature-1685539344792954","scm":"1.music-homepage.homepage_banner_force.banner.7065994.219272403.null","requestId":"","showAdTag":true,"pid":null,"showContext":null,"adDispatchJson":null,"s_ctrp":"syspf_resourceType_3000-syspf_resourceId_0","logContext":null,"bannerBizType":"force_banner"},{"pic":"http://p1.music.126.net/8ohCJCa7rLpgHcWgTzuq2Q==/109951168649518527.jpg","targetId":2051819298,"adid":null,"targetType":1,"titleColor":"red","typeTitle":"新歌首发","url":null,"adurlV2":null,"exclusive":false,"monitorImpress":null,"monitorClick":null,"monitorType":null,"monitorImpressList":[],"monitorClickList":[],"monitorBlackList":null,"extMonitor":null,"extMonitorInfo":null,"adSource":null,"adLocation":null,"encodeId":"2051819298","program":null,"event":null,"video":null,"dynamicVideoData":null,"song":{"name":"世界冒险指南","id":2051819298,"pst":0,"t":0,"ar":[{"id":1145026,"name":"小石头和孩子们","tns":[],"alias":[]}],"alia":[],"pop":5,"st":0,"rt":"","fee":8,"v":4,"crbt":null,"cf":"","al":{"id":166712289,"name":"世界冒险指南","picUrl":"http://p2.music.126.net/P3GEpGnE6fRQq3ylX99pLg==/109951168649006920.jpg","tns":[],"pic_str":"109951168649006920","pic":109951168649006910},"dt":139297,"h":{"br":320000,"fid":0,"size":5574765,"vd":-60372,"sr":48000},"m":{"br":192000,"fid":0,"size":3344877,"vd":-57801,"sr":48000},"l":{"br":128000,"fid":0,"size":2229933,"vd":-56202,"sr":48000},"sq":{"br":1044087,"fid":0,"size":18179790,"vd":-60356,"sr":48000},"hr":{"br":1813673,"fid":0,"size":31579939,"vd":-60352,"sr":48000},"a":null,"cd":"01","no":1,"rtUrl":null,"ftype":0,"rtUrls":[],"djId":0,"copyright":0,"s_id":0,"mark":536879104,"originCoverType":0,"originSongSimpleData":null,"tagPicList":null,"resourceState":true,"version":4,"songJumpInfo":null,"entertainmentTags":null,"single":0,"noCopyrightRcmd":null,"rurl":null,"mst":9,"cp":0,"mv":14631420,"rtype":0,"publishTime":0,"privilege":{"id":2051819298,"fee":8,"payed":0,"st":0,"pl":128000,"dl":0,"sp":7,"cp":1,"subp":1,"cs":false,"maxbr":999000,"fl":128000,"toast":false,"flag":4,"preSell":false,"playMaxbr":999000,"downloadMaxbr":999000,"maxBrLevel":"hires","playMaxBrLevel":"hires","downloadMaxBrLevel":"hires","plLevel":"standard","dlLevel":"none","flLevel":"standard","rscl":null,"freeTrialPrivilege":{"resConsumable":false,"userConsumable":false,"listenType":null},"chargeInfoList":[{"rate":128000,"chargeUrl":null,"chargeMessage":null,"chargeType":0},{"rate":192000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":320000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":999000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":1999000,"chargeUrl":null,"chargeMessage":null,"chargeType":1}]},"alg":"banner-feature-1685539260261419"},"bannerId":"1685539260261419","alg":"banner-feature-1685539260261419","scm":"1.music-homepage.homepage_banner_force.banner.7065997.1392553380.null","requestId":"","showAdTag":true,"pid":null,"showContext":null,"adDispatchJson":null,"s_ctrp":"syspf_resourceType_1-syspf_resourceId_2051819298","logContext":null,"bannerBizType":"force_banner"},{"pic":"http://p1.music.126.net/tOngH4BHWzADYals8BbOHw==/109951168649558668.jpg","targetId":2049777799,"adid":null,"targetType":1,"titleColor":"red","typeTitle":"热歌推荐","url":null,"adurlV2":null,"exclusive":false,"monitorImpress":null,"monitorClick":null,"monitorType":null,"monitorImpressList":[],"monitorClickList":[],"monitorBlackList":null,"extMonitor":null,"extMonitorInfo":null,"adSource":null,"adLocation":null,"encodeId":"2049777799","program":null,"event":null,"video":null,"dynamicVideoData":null,"song":{"name":"平行时空","id":2049777799,"pst":0,"t":0,"ar":[{"id":12622588,"name":"钟易轩","tns":[],"alias":[]},{"id":46394037,"name":"海底时光机","tns":[],"alias":[]}],"alia":[],"pop":100,"st":0,"rt":"","fee":8,"v":8,"crbt":null,"cf":"","al":{"id":166223572,"name":"平行时空","picUrl":"http://p2.music.126.net/iJLSqU7ilppjqomw1hRUCw==/109951168632920685.jpg","tns":[],"pic_str":"109951168632920685","pic":109951168632920690},"dt":272500,"h":{"br":320000,"fid":0,"size":10902765,"vd":-44372,"sr":48000},"m":{"br":192000,"fid":0,"size":6541677,"vd":-41779,"sr":48000},"l":{"br":128000,"fid":0,"size":4361133,"vd":-40106,"sr":48000},"sq":{"br":906168,"fid":0,"size":30866373,"vd":-44160,"sr":48000},"hr":{"br":1672070,"fid":0,"size":56954888,"vd":-44350,"sr":48000},"a":null,"cd":"01","no":1,"rtUrl":null,"ftype":0,"rtUrls":[],"djId":0,"copyright":0,"s_id":0,"mark":536879104,"originCoverType":0,"originSongSimpleData":null,"tagPicList":null,"resourceState":true,"version":8,"songJumpInfo":null,"entertainmentTags":null,"single":0,"noCopyrightRcmd":null,"rurl":null,"mst":9,"cp":0,"mv":0,"rtype":0,"publishTime":0,"privilege":{"id":2049777799,"fee":8,"payed":0,"st":0,"pl":128000,"dl":0,"sp":7,"cp":1,"subp":1,"cs":false,"maxbr":999000,"fl":128000,"toast":false,"flag":4,"preSell":false,"playMaxbr":999000,"downloadMaxbr":999000,"maxBrLevel":"hires","playMaxBrLevel":"hires","downloadMaxBrLevel":"hires","plLevel":"standard","dlLevel":"none","flLevel":"standard","rscl":null,"freeTrialPrivilege":{"resConsumable":false,"userConsumable":false,"listenType":null},"chargeInfoList":[{"rate":128000,"chargeUrl":null,"chargeMessage":null,"chargeType":0},{"rate":192000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":320000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":999000,"chargeUrl":null,"chargeMessage":null,"chargeType":1},{"rate":1999000,"chargeUrl":null,"chargeMessage":null,"chargeType":1}]},"alg":"banner-feature-1685540387072629"},"bannerId":"1685540387072629","alg":"banner-feature-1685540387072629","scm":"1.music-homepage.homepage_banner_force.banner.7104004.219425298.null","requestId":"","showAdTag":true,"pid":null,"showContext":null,"adDispatchJson":null,"s_ctrp":"syspf_resourceType_1-syspf_resourceId_2049777799","logContext":null,"bannerBizType":"force_banner"}],"code":200}
上一页
获取搜索建议
下一页
获取每日推荐歌曲
Built with