MENU

全民K歌详情解析API接口

January 18, 2020 • 接口

简要描述:

  • 通过全民K歌的分享链接,获取歌曲详情

请求URL:

  • https://data.zhai78.com/openKg.php

请求方式:

  • GET

参数:

参数名必选类型说明
urlstring全民K歌内作品的分享链接

请求示例

  • https://data.zhai78.com/openKg.php?url=https://kg.qq.com/node/play?s=d-GYCadMOClC7d_0&shareuid=64959a822728338a32&topsource=a0_pn201001006_z1_u687725416_l1_t1579315797__

返回示例

 {
  "work": {
    "payurl": "http://tx.stream.kg.qq.com/szkge-btfs/e02b002e996c773b2136c90fba06408ea0f9616d?ftnrkey=8a4f5873b20516bc2a78dcb0231d5cf807e3313a22ae611e5511effe57cd36145765024548b5b51c2e846a2b05c3d89215b3fd445bed3bea36e6ba1bfb9421d7&vkey=C44C5746B6C5D1750846F5B631E8755CA379660AB8754F1D737E44EDFE0CA6BE66374E4B28C4CF6DC4FA13E1524EE337A255BEF9AADBD0C080E343E519282E182C62FFB1436FA18BC8471E32BFA8B6B55B549530BF47229A&fname=1021_df8257e8b3727cb4547e47ef80f967fc498150af.0.m4a&fromtag=1418&sdtfrom=v1418&ugcid=259747750_1576677261_300",
    "equipment": "iPad7,11",
    "song_name": "桥边姑娘",
    "cover": "http://y.gtimg.cn/music/photo_new/T002R500x500M0000037Yq3H3RznaX.jpg?max_age=2592000",
    "content": "我刚唱了一首歌曲,快来听听吧。",
    "singer_name": "海伦"
  },
  "num": {
    "flower_num": 5,
    "comment_num": 0,
    "gift_num": 0,
    "score": 914
  },
  "author": {
    "avatar": "http://shp.qlogo.cn/ttsing/259747750/259747750/100",
    "nick": "Xpt"
  },
  "status": 1
}

返回参数说明

参数名类型说明
workstring作品信息
numstring相关数据
authorstring作者信息
statusnumber0失败;1成功

备注

  • 免费低并发使用
  • 接口源码可售(微信:xuhuai66)
转载请注明出处,并添加原文地址

Archives QR Code Tip
QR Code for this page
Tipping QR Code