网易云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
  • 搜索
    • 搜索
    • 获取热门话题
    • 搜索
  • 自己
    • 获取已收藏专辑列表
    • 获取用户歌单
  • 专辑
    • 获取专辑内容
  • 歌单
    • 歌单分类
    • 热门歌单分类
    • 获取精品歌单
    • 歌单 ( 网友精选碟 )
  • 视频
    • 推荐 mv
      GET
    • 独家放送(入口列表)
      GET
    • 视频评论
      GET
    • 视频详情
      GET
    • 获取视频播放地址
      GET
    • 获取推荐视频
      GET
    • 获取 mv 数据
      GET
    • mv 地址
      GET
    • mv 评论
      GET
  • 音乐
    • 推荐新音乐
    • 听歌打卡
    • 最近播放-歌曲
    • 新歌速递
  • 歌手
    • 歌手分类列表
    • 获取歌手详情
    • 获取歌手描述
    • 获取相似歌手
    • 获取歌手专辑
  • 发现音乐
    • 所有榜单内容摘要
    • 所有榜单
    • 获取歌单详情
  1. 视频

视频评论

开发中
GET
/comment/video
调用此接口 , 传入音乐 id 和 limit 参数 , 可获得该 视频 的所有评论 ( 不需要登录 )

请求参数

Query 参数
id
string 
视频的 id
必需
示例值:
89ADDE33C0AAE8EC14B99F6750DB954D
limit
string 
可选
取出评论数量 , 默认为 20
offset
string 
可选
偏移数量 , 用于分页 , 如 :( 评论页数 -1)*20, 其中 20 为 limit 的值
before
string 
可选
分页参数,取上一页最后一项的 time 获取下一页数据(获取超过 5000 条评论的时候需要用到)
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 '/comment/video?id=89ADDE33C0AAE8EC14B99F6750DB954D&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}
示例
{
    "isMusician": false,
    "userId": -1,
    "topComments": [],
    "moreHot": true,
    "hotComments": [
        {
            "user": {
                "locationInfo": null,
                "liveInfo": null,
                "anonym": 0,
                "commonIdentity": null,
                "userId": 354889142,
                "avatarDetail": null,
                "userType": 0,
                "avatarUrl": "http://p4.music.126.net/npMwIkiy8qMultdREv_Nmg==/109951163676100533.jpg",
                "followed": false,
                "mutual": false,
                "remarkName": null,
                "socialUserId": null,
                "vipRights": {
                    "associator": null,
                    "musicPackage": null,
                    "redplus": null,
                    "redVipAnnualCount": -1,
                    "redVipLevel": 0
                },
                "nickname": "-歌起",
                "authStatus": 0,
                "expertTags": null,
                "experts": null,
                "vipType": 0,
                "target": null
            },
            "beReplied": [],
            "pendantData": null,
            "showFloorComment": null,
            "status": 0,
            "commentId": 3569758358,
            "content": "我们只听到作品  不知道他和音乐老师们背后的付出   这个视频让我看到了他的认真  想把最完美的作品呈现出来  为我嵩哥点赞!",
            "richContent": null,
            "contentResource": null,
            "time": 1520656835760,
            "timeStr": "2018-03-10",
            "needDisplayTime": true,
            "likedCount": 2895,
            "expressionUrl": null,
            "commentLocationType": 0,
            "parentCommentId": 0,
            "decoration": null,
            "repliedMark": null,
            "grade": null,
            "userBizLevels": null,
            "ipLocation": {
                "ip": null,
                "location": "",
                "userId": null
            },
            "owner": false,
            "liked": false
        },
        {
            "user": {
                "locationInfo": null,
                "liveInfo": null,
                "anonym": 0,
                "commonIdentity": null,
                "userId": 352996064,
                "avatarDetail": null,
                "userType": 0,
                "avatarUrl": "http://p4.music.126.net/0KHSJ_L6KU1i3q72zf8uNg==/109951163085178602.jpg",
                "followed": false,
                "mutual": false,
                "remarkName": null,
                "socialUserId": null,
                "vipRights": {
                    "associator": null,
                    "musicPackage": null,
                    "redplus": null,
                    "redVipAnnualCount": -1,
                    "redVipLevel": 0
                },
                "nickname": "大大大眼眸",
                "authStatus": 0,
                "expertTags": null,
                "experts": null,
                "vipType": 0,
                "target": null
            },
            "beReplied": [],
            "pendantData": null,
            "showFloorComment": null,
            "status": 0,
            "commentId": 3569758504,
            "content": "你们看到没有,许嵩用的是:您[强]",
            "richContent": null,
            "contentResource": null,
            "time": 1520665161086,
            "timeStr": "2018-03-10",
            "needDisplayTime": true,
            "likedCount": 2520,
            "expressionUrl": null,
            "commentLocationType": 0,
            "parentCommentId": 0,
            "decoration": null,
            "repliedMark": null,
            "grade": null,
            "userBizLevels": null,
            "ipLocation": {
                "ip": null,
                "location": "",
                "userId": null
            },
            "owner": false,
            "liked": false
        },
        {
            "user": {
                "locationInfo": null,
                "liveInfo": null,
                "anonym": 0,
                "commonIdentity": null,
                "userId": 630791641,
                "avatarDetail": null,
                "userType": 0,
                "avatarUrl": "http://p4.music.126.net/JgztDSGvJDv5Oca0oGIsjg==/109951165138718396.jpg",
                "followed": false,
                "mutual": false,
                "remarkName": null,
                "socialUserId": null,
                "vipRights": {
                    "associator": null,
                    "musicPackage": null,
                    "redplus": null,
                    "redVipAnnualCount": -1,
                    "redVipLevel": 0
                },
                "nickname": "白衣不蔽体",
                "authStatus": 0,
                "expertTags": null,
                "experts": null,
                "vipType": 0,
                "target": null
            },
            "beReplied": [],
            "pendantData": null,
            "showFloorComment": null,
            "status": 0,
            "commentId": 3569758252,
         
上一页
独家放送(入口列表)
下一页
视频详情
Built with