网易云api接口
  1. 推荐
网易云api接口
  • 认证
    • 二维码 key 生成接口
      GET
    • 二维码生成接口
      GET
    • 二维码检测扫码状态接口
      GET
    • 登录状态
      GET
    • 获取账号信息
      GET
    • 游客登录
      GET
  • 推荐
    • 获取每日推荐歌曲
      GET
    • 推荐歌单
      GET
    • 获取每日推荐歌单
      GET
    • 获取音乐 url
      GET
    • 获取账号信息
      GET
    • 获取用户信息 , 歌单,收藏,mv, dj 数量
      GET
    • 签到进度
      GET
    • 签到
      GET
    • 获取用户关注列表
      GET
    • 获取用户粉丝列表
      GET
    • 获取用户动态
      GET
    • 获取精品歌单
      GET
    • 最近播放-歌曲
      GET
    • 推荐歌单
      GET
    • 获取歌单详情
      GET
    • 获取歌曲详情
      GET
    • 获取歌词
      GET
    • 获取逐字歌词
      GET
  • 搜索
    • 搜索
      GET
    • 获取热门话题
      GET
    • 搜索
      GET
  • 自己
    • 获取已收藏专辑列表
    • 获取用户歌单
  • 专辑
    • 获取专辑内容
  • 歌单
    • 歌单分类
    • 热门歌单分类
    • 获取精品歌单
    • 歌单 ( 网友精选碟 )
  • 视频
    • 推荐 mv
    • 独家放送(入口列表)
    • 视频评论
    • 视频详情
    • 获取视频播放地址
    • 获取推荐视频
    • 获取 mv 数据
    • mv 地址
    • mv 评论
  • 音乐
    • 推荐新音乐
    • 听歌打卡
    • 最近播放-歌曲
    • 新歌速递
  • 歌手
    • 歌手分类列表
    • 获取歌手详情
    • 获取歌手描述
    • 获取相似歌手
    • 获取歌手专辑
  • 发现音乐
    • 所有榜单内容摘要
    • 所有榜单
    • 获取歌单详情
  1. 推荐

最近播放-歌曲

开发中
GET
/record/recent/song

请求参数

Query 参数
cookie
string 
可选
默认值:
__csrf=2e33d2a9ada3def5f003938fd1b632be; Max-Age=1296010; Expires=Tue, 09 May 2023 01:34:34 GMT; Path=/;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/api/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/neapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/weapi/clientlog;;MUSIC_A=bf8bfeabb1aa84f9c8c3906c04a04fb864322804c83f5d607e91a04eae463c9436bd1a17ec353cf7ae828e194cadae835b08cd50c26c5c2b993166e004087dd32a6e15f85ca34515067c97fb050751446fc7c3df09ff8c448b114540caa07eb4807e650dd04abd3fb8130b7ae43fcc5b; Max-Age=1296000; Expires=Tue, 09 May 2023 01:34:24 GMT; Path=/;;MUSIC_R_T=; Max-Age=0; Expires=Mon, 24 Apr 2023 01:34:24 GMT; Path=/;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/api/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/weapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/neapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/neapi/clientlog;;MUSIC_SNS=; Max-Age=0; Expires=Mon, 24 Apr 2023 01:34:24 GMT; Path=/;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/eapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/openapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/weapi/clientlog;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/api/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/openapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/wapi/feedback;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/wapi/clientlog;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/weapi/feedback;;MUSIC_A_T=; Max-Age=0; Expires=Mon, 24 Apr 2023 01:34:24 GMT; Path=/;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/eapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/api/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/wapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/eapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/neapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/wapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/eapi/clientlog;
timestamp
string 
可选
默认值:
1503019930000

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/record/recent/song?cookie=__csrf=2e33d2a9ada3def5f003938fd1b632be; Max-Age=1296010; Expires=Tue, 09 May 2023 01:34:34 GMT; Path=/;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/api/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/neapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/weapi/clientlog;;MUSIC_A=bf8bfeabb1aa84f9c8c3906c04a04fb864322804c83f5d607e91a04eae463c9436bd1a17ec353cf7ae828e194cadae835b08cd50c26c5c2b993166e004087dd32a6e15f85ca34515067c97fb050751446fc7c3df09ff8c448b114540caa07eb4807e650dd04abd3fb8130b7ae43fcc5b; Max-Age=1296000; Expires=Tue, 09 May 2023 01:34:24 GMT; Path=/;;MUSIC_R_T=; Max-Age=0; Expires=Mon, 24 Apr 2023 01:34:24 GMT; Path=/;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/api/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/weapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/neapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/neapi/clientlog;;MUSIC_SNS=; Max-Age=0; Expires=Mon, 24 Apr 2023 01:34:24 GMT; Path=/;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/eapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/openapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/weapi/clientlog;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/api/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/openapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/wapi/feedback;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/wapi/clientlog;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/weapi/feedback;;MUSIC_A_T=; Max-Age=0; Expires=Mon, 24 Apr 2023 01:34:24 GMT; Path=/;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/eapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/api/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/wapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/eapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/neapi/feedback;;MUSIC_R_T=0; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/wapi/clientlog;;MUSIC_A_T=1682132907815; Max-Age=2147483647; Expires=Sat, 12 May 2091 04:48:31 GMT; Path=/eapi/clientlog;&timestamp=1503019930000'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{
    "code": 200,
    "data": {
        "total": 100,
        "list": [
            {
                "resourceId": "33894312",
                "playTime": 1680530816264,
                "resourceType": "SONG",
                "data": {
                    "name": "情非得已 (童声版)",
                    "id": 33894312,
                    "pst": 0,
                    "t": 0,
                    "ar": [
                        {
                            "id": 122455,
                            "name": "群星",
                            "tns": [],
                            "alias": []
                        }
                    ],
                    "alia": [],
                    "pop": 75,
                    "st": 0,
                    "rt": null,
                    "fee": 0,
                    "v": 717,
                    "crbt": null,
                    "cf": "",
                    "al": {
                        "id": 3263929,
                        "name": "热门华语275",
                        "picUrl": "http://p4.music.126.net/cpoUinrExafBHL5Nv5iDHQ==/109951166361218466.jpg",
                        "tns": [],
                        "pic_str": "109951166361218466",
                        "pic": 109951166361218460
                    },
                    "dt": 267232,
                    "h": {
                        "br": 320000,
                        "fid": 0,
                        "size": 10691439,
                        "vd": -23075
                    },
                    "m": {
                        "br": 192000,
                        "fid": 0,
                        "size": 6414880,
                        "vd": -23075
                    },
                    "l": {
                        "br": 128000,
                        "fid": 0,
                        "size": 4276601,
                        "vd": -23075
                    },
                    "a": null,
                    "cd": "1",
                    "no": 1,
                    "rtUrl": null,
                    "ftype": 0,
                    "rtUrls": [],
                    "djId": 0,
                    "copyright": 2,
                    "s_id": 0,
                    "mark": 524416,
                    "originCoverType": 0,
                    "originSongSimpleData": null,
                    "single": 0,
                    "noCopyrightRcmd": null,
                    "mv": 0,
                    "rtype": 0,
                    "rurl": null,
                    "mst": 9,
                    "cp": 0,
                    "publishTime": 1388505600004
                },
                "banned": false,
                "multiTerminalInfo": {
                    "icon": "https://p6.music.126.net/obj/wo3DlcOGw6DClTvDisK1/25945717310/68ad/326b/b170/043e4506502303be2c89adb7f8ec4c8b.png",
                    "osText": "网页"
                }
            },
            {
                "resourceId": "2024541034",
                "playTime": 1680333538714,
                "resourceType": "SONG",
                "data": {
                    "name": "切り傷",
                    "id": 2024541034,
                    "pst": 0,
                    "t": 0,
                    "ar": [
                        {
                            "id": 29151370,
                            "name": "sajou no hana",
                            "tns": [],
                            "alias": []
                        }
                    ],
                    "alia": [
                        "TV动画《期待在地下城邂逅有错吗 Ⅳ 深章 灾厄篇》片尾曲"
                    ],
                    "pop": 95,
                    "st": 0,
                    "rt": "",
                    "fee": 0,
                    "v": 3,
                    "crbt": null,
                    "cf": "",
                    "al": {
                        "id": 160543907,
                        "name": "TVアニメ「ダンジョンに出会いを求めるのは間違っているだろうかIV 深章 厄災篇」エンディングテーマ「切り傷」",
                        "picUrl": "http://p4.music.126.net/95YZHMMO2cuo7KZnV3w5Tw==/109951168369407649.jpg",
                        "tns": [],
                        "pic_str": "109951168369407649",
                        "pic": 109951168369407650
                    },
                    "dt": 217000,
                    "h": {
                        "br": 320002,
                        "fid": 0,
                        "size": 8683146,
                        "vd": -61033
                    },
                    "m": {
                        "br": 192002,
                        "fid": 0,
                        "size": 5209905,
                        "vd": -58439
                    },
                    "l": {
                        "br": 128002,
                        "fid": 0,
                        "size": 3473284,
                        "vd": -56825
                    },
                    "a": null,
                    "cd": "01",
                    "no": 1,
                    "rtUrl": nul
上一页
获取精品歌单
下一页
推荐歌单
Built with