看见音乐API
  1. 星接歌词信息
看见音乐API
  • 看见音乐公共开放平台概述
  • 新手指引
    • 开发者入驻流程
  • 认证接入指引
    • 密钥方式接入
  • 星接开发能力
    • 接入指南
    • 星接歌曲信息
      • 星接歌曲查询接口
      • 星接歌曲试听接口
      • 星接歌曲下载接口
      • 星接歌曲歌词查询接口
      • 星接歌曲伴奏查询接口
    • 星接歌单信息
      • 星接歌单详情查询接口
      • 星接歌单列表查询接口
    • 星接歌曲附属信息
      • 星接歌曲授权书信息
    • 星接歌词信息
      • 星接站内歌曲歌词获取接口
        GET
      • 星接全网歌曲歌词搜索
        GET
      • 星接全网歌词获取接口
        GET
      • 歌词SDK的search方法
        GET
      • 歌词SDK获取歌词方法
        GET
    • 星接运营数据上报接口
      • 星接歌曲数据上报
      • 星接歌词数据上报
  • 公共开放数据
  • 看见标准
  1. 星接歌词信息

歌词SDK获取歌词方法

云端 Mock
https://m1.apifoxmock.com/m1/3789893-0-8e8ea0d7
云端 Mock
https://m1.apifoxmock.com/m1/3789893-0-8e8ea0d7
GET
/sdk/display

请求参数

Query 参数
trackid
string 
可选
track field lfid
amgid
string 
AMG id
可选
isrc
string 
isrc
可选
示例值:
USGF19925401
trackname
string 
歌名
可选
artistname
string 
艺人名
可选
useragent
string 
可选

示例代码

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://m1.apifoxmock.com/m1/3789893-0-8e8ea0d7/sdk/display?trackid&amgid&isrc=USGF19925401&trackname&artistname&useragent'

返回响应

🟢200成功
application/json
Body
totalresults
integer 
必需
totalpages
integer 
必需
tracks
array [object {15}] 
必需
lfid
string 
必需
instrumental
boolean 
必需
viewable
boolean 
必需
has_lrc
boolean 
必需
lrc_verified
boolean 
必需
title
string 
必需
duration
string 
必需
artists
array [object {2}] 
必需
artist
object 
必需
last_update
string 
必需
lyrics
string 
必需
lrc_version
string 
必需
lrc
array [object {4}] 
必需
copyright
string 
必需
writer
string 
必需
示例
{
  "totalresults": 50,
  "totalpages": 25,
  "tracks": [
    {
      "lfid": "002-169182",
      "instrumental": false,
      "viewable": true,
      "has_lrc": true,
      "lrc_verified": true,
      "title": "BlitzkriegBop",
      "duration": "2:12",
      "artists": [
        {
          "name": "TheRamones",
          "is_primary": true
        }
      ],
      "artist": {
        "name": "TheRamones"
      },
      "last_update": "2018-07-1814:31:55",
      "lyrics": "Heyho,let'sgo!heyho,let'sgo!Heyho,let'sgo!heyho,let'sgo!They'reforminginstraightlineThey'regoingthroughatightwindThekidsarelosingtheirmindsTheblitzkriegbop",
      "lrc_version": "1.1",
      "lrc": [
        {
          "lrc_timestamp": "[00:21.63]",
          "milliseconds": "21630",
          "duration": "5340",
          "line": "Heyho,let'sgo!heyho,let'sgo!"
        },
        {
          "lrc_timestamp": "[00:26.97]",
          "milliseconds": "26970",
          "duration": "5250",
          "line": "Heyho,let'sgo!heyho,let'sgo!"
        },
        {
          "line": ""
        },
        {
          "lrc_timestamp": "[00:32.22]",
          "milliseconds": "32220",
          "duration": "1940",
          "line": "They'reforminginstraightline"
        },
        {
          "lrc_timestamp": "[00:34.16]",
          "milliseconds": "34160",
          "duration": "3390",
          "line": "They'regoingthroughatightwind"
        },
        {
          "lrc_timestamp": "[00:37.55]",
          "milliseconds": "37550",
          "duration": "2370",
          "line": "Thekidsarelosingtheirminds"
        },
        {
          "lrc_timestamp": "[00:39.92]",
          "milliseconds": "39920",
          "duration": "2830",
          "line": "Theblitzkriegbop"
        }
      ],
      "copyright": "Lyrics©BMGRightsManagement",
      "writer": "TommyRamone,DeeDeeRamone,JohnnyRamone,JoeyRamone"
    },
    {
      "lfid": "002-169182",
      "instrumental": false,
      "viewable": true,
      "has_lrc": true,
      "lrc_verified": true,
      "title": "BlitzkriegBop",
      "duration": "2:12",
      "artists": [
        {
          "name": "TheRamones",
          "is_primary": true
        }
      ],
      "artist": {
        "name": "TheRamones"
      },
      "last_update": "2018-07-1814:31:55",
      "lyrics": "Heyho,let'sgo!heyho,let'sgo!Heyho,let'sgo!heyho,let'sgo!They'reforminginstraightlineThey'regoingthroughatightwindThekidsarelosingtheirmindsTheblitzkriegbop",
      "lrc_version": "1.1",
      "lrc": [
        {
          "lrc_timestamp": "[00:21.63]",
          "milliseconds": "21630",
          "duration": "5340",
          "line": "Heyho,let'sgo!heyho,let'sgo!"
        },
        {
          "lrc_timestamp": "[00:26.97]",
          "milliseconds": "26970",
          "duration": "5250",
          "line": "Heyho,let'sgo!heyho,let'sgo!"
        },
        {
          "line": ""
        },
        {
          "lrc_timestamp": "[00:32.22]",
          "milliseconds": "32220",
          "duration": "1940",
          "line": "They'reforminginstraightline"
        },
        {
          "lrc_timestamp": "[00:34.16]",
          "milliseconds": "34160",
          "duration": "3390",
          "line": "They'regoingthroughatightwind"
        },
        {
          "lrc_timestamp": "[00:37.55]",
          "milliseconds": "37550",
          "duration": "2370",
          "line": "Thekidsarelosingtheirminds"
        },
        {
          "lrc_timestamp": "[00:39.92]",
          "milliseconds": "39920",
          "duration": "2830",
          "line": "Theblitzkriegbop"
        }
      ],
      "copyright": "Lyrics©BMGRightsManagement",
      "writer": "TommyRamone,DeeDeeRamone,JohnnyRamone,JoeyRamone"
    }
  ]
}
上一页
歌词SDK的search方法
下一页
星接歌曲数据上报
Built with