GoAPI
  1. 音乐解析类
GoAPI
  • 音乐解析类
    • 歌曲信息
      GET
    • 歌曲搜索
      GET
    • 播放地址
      GET
    • 歌曲评论
      GET
    • 歌词信息
      GET
    • 歌单列表
      GET
    • MV信息
      GET
    • 用户信息
      GET
  • 视频解析类
    • 抖音解析
      GET
    • bilibili解析
      GET
  • 图片生成类
  • 文本生成类
    • 随机一言
      GET
    • 心灵毒鸡汤
      GET
  • 爬虫获取类
    • QQ昵称头像
      GET
  • 诗歌类
    • 诗经
      GET
    • 论语
      GET
    • 唐诗三百首
      GET
    • 宋词三百首
      GET
    • 花间集
      GET
    • 南唐二主词
      GET
  • 网络类
    • 获取重定向地址
      GET
  1. 音乐解析类

用户信息

正式环境
正式环境
GET
music/user
最后修改时间:2023-03-10 12:15:41
责任人:相左

请求参数

Query 参数
id
string 
用户id
必需
示例值:
305132432
server
string 
必需
厂商标识[ netease ]
示例值:
netease

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://goapi.ztyang.cn/api/music/user?id=305132432&server=netease'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{
  "code": 200,
  "data": {
    "adValid": true,
    "bindings": [
      {
        "bindingTime": 1468799190432,
        "expired": false,
        "expiresIn": 2147483647,
        "id": 2878882096,
        "refreshTime": 1468799190,
        "tokenJsonStr": null,
        "type": 1,
        "url": "",
        "userId": 305132432
      },
      {
        "bindingTime": 1522565261123,
        "expired": true,
        "expiresIn": 2635939,
        "id": 6567534701,
        "refreshTime": 1524823665,
        "tokenJsonStr": null,
        "type": 2,
        "url": "http://weibo.com/u/5845711920",
        "userId": 305132432
      },
      {
        "bindingTime": 1468677548974,
        "expired": false,
        "expiresIn": 7776000,
        "id": 2878882097,
        "refreshTime": 1678341522,
        "tokenJsonStr": null,
        "type": 5,
        "url": "",
        "userId": 305132432
      }
    ],
    "code": 200,
    "createDays": 2441,
    "createTime": 1468799393401,
    "level": 6,
    "listenSongs": 853,
    "mobileSign": false,
    "newUser": false,
    "pcSign": false,
    "peopleCanSeeMyPlayRecord": true,
    "profile": {
      "accountStatus": 0,
      "allSubscribedCount": 0,
      "artistIdentity": [],
      "authStatus": 0,
      "authority": 0,
      "avatarDetail": null,
      "avatarImgId": 1417270501549574,
      "avatarImgIdStr": "1417270501549574",
      "avatarUrl": "http://p1.music.126.net/RBFtyjNsl0rrd5tEobNw9Q==/1417270501549574.jpg",
      "backgroundImgId": 1423867568657052,
      "backgroundImgIdStr": "1423867568657052",
      "backgroundUrl": "http://p1.music.126.net/dl2NYk5jlj7z91t8wVh01g==/1423867568657052.jpg",
      "birthday": 920044800000,
      "blacklist": false,
      "cCount": 0,
      "city": 520100,
      "createTime": 1468799393401,
      "defaultAvatar": false,
      "description": "",
      "detailDescription": "",
      "djStatus": 0,
      "eventCount": 2,
      "expertTags": null,
      "experts": {},
      "followMe": false,
      "followTime": null,
      "followed": false,
      "followeds": 5,
      "follows": 17,
      "gender": 1,
      "inBlacklist": false,
      "mutual": false,
      "newFollows": 17,
      "nickname": "相左送快递",
      "playlistBeSubscribedCount": 0,
      "playlistCount": 10,
      "privacyItemUnlimit": {
        "age": true,
        "area": true,
        "college": true,
        "gender": true,
        "villageAge": true
      },
      "province": 520000,
      "remarkName": null,
      "sCount": 0,
      "sDJPCount": 0,
      "signature": "念念不忘,必有回响",
      "userId": 305132432,
      "userType": 0,
      "vipType": 0
    },
    "profileVillageInfo": {
      "imageUrl": null,
      "targetUrl": "https://sg.music.163.com/g/cloud-card-2?nm_style=sbt&market=personal",
      "title": "领取村民证"
    },
    "recallUser": false,
    "userPoint": {
      "balance": 0,
      "blockBalance": 0,
      "status": 0,
      "updateTime": 1679649819763,
      "userId": 305132432,
      "version": 10
    }
  },
  "msg": "请求成功",
  "developer": {
    "author": "相左",
    "home": "https://www.ztyang.com",
    "QQ": "2251513837",
    "mail": "yang2210670@163.com",
    "time": "2023-03-24 17:23:39"
  }
}
修改于 2023-03-10 12:15:41
上一页
MV信息
下一页
抖音解析
Built with