Spotify歌词数据提取器 API

API ID 10997

通过我们的API轻松访问和提取Spotify曲目的详细歌词数据

100% 正常运行时间 329 ms 平均响应

API 文档

端点

请求
提供通过简单输入曲目ID而获得的同步歌词
Endpoint ID: 20733
GET https://zylalabs.com/api/10997/spotify+lyrics+data+extractor+api/20733/get+lyrics
输入参数

获取歌词 — 端点功能

对象 描述
trackId 必需 Enter a track id

剩余免费测试请求:3 / 3。


输入参数

trackId
API 示例响应
JSON
{"success":true,"cached":false,"data":{"lrc":"[00:34.30] Look\n[00:37.19] If you had one shot, or one opportunity\n[00:44.19] To seize everything you ever wanted\n[00:47.12] One moment\n[00:49.33] Would you capture it or just let it slip?\n[00:53.08] Yo\n[00:54.15] His palms are sweaty, knees weak, arms are heavy\n[00:56.84] There's vomit on his sweater already, mom's spaghetti\n[00:59.50] He's nervous, but on the surface he looks calm and ready to drop bombs\n[01:03.39] But he keeps on forgetting what he wrote down, the whole crowd goes so loud\n[01:08.12] He opens his mouth, but the words won't come out\n[01:11.08] He's choking how, everybody's joking now\n[01:13.75] The clock's run out, time's up, over, blaow!\n[01:16.62] Snap back to reality\n[01:18.11] Oh, there goes gravity\n[01:19.82] Oh, there goes Rabbit, he choked\n[01:21.79] He's so mad, but he won't give up that easy, no\n[01:24.17] He won't have it, he knows his whole back's to these ropes\n[01:27.35] It don't matter, he's dope\n[01:28.94] He knows that but he's broke\n[01:30.21] He's so stagnant, he knows when he goes back to his mobile home, that's when it's\n[01:33.85] Back to the lab again, yo\n[01:35.50] This whole rhapsody\n[01:36.78] He better go capture this moment and hope it don't pass him\n[01:39.26] You better lose yourself in the music, the moment\n[01:41.48] You own it, you better never let it go\n[01:44.24] You only get one shot, do not miss your chance to blow\n[01:47.28] This opportunity comes once in a lifetime\n[01:49.92] You better lose yourself in the music, the moment\n[01:52.85] You own it, you better never let it go\n[01:55.46] You only get one shot, do not miss your chance to blow\n[01:58.21] This opportunity comes once in a lifetime\n[02:01.05] You better\n[02:01.95] The soul's escaping, through this hole that is gaping\n[02:04.43] This world is mine for the taking\n[02:06.38] Make me king, as we move toward a new world order\n[02:09.84] A normal life is boring, but superstardom's close to post mortem\n[02:14.09] It only grows harder, homie grows hotter\n[02:16.83] He blows, it's all over\n[02:18.44] These hoes is all on him\n[02:19.98] Coast to coast shows, he's known as the globetrotter\n[02:22.65] Lonely roads, God only knows\n[02:24.43] He's knows is grown farther from home, he's no father\n[02:26.83] He goes home and barely knows his own daughter\n[02:29.38] But hold your nose 'cause here goes the cold water\n[02:32.25] His hoes don't want him no more, he's cold product\n[02:35.15] They moved on to the next schmoe who flows\n[02:37.87] He nose dove and sold nada\n[02:39.33] So the soap opera is told and unfolds\n[02:42.11] I suppose it's old partner but the beat goes on\n[02:44.81] Da da dum, da dum da da\n[02:46.44] You better lose yourself in the music, the moment\n[02:49.06] You own it, you better never let it go\n[02:51.72] You only get one shot, do not miss your chance to blow\n[02:54.62] This opportunity comes once in a lifetime\n[02:57.03] You better lose yourself in the music, the moment\n[03:00.11] You own it, you better never let it go\n[03:02.77] You only get one shot, do not miss your chance to blow\n[03:05.72] This opportunity comes once in a lifetime\n[03:08.13] You better\n[03:09.13] No more games, I'ma change what you call rage\n[03:11.38] Tear this motherfucking roof off like two dogs caged\n[03:14.15] I was playing in the beginning, the mood all changed\n[03:17.09] I've been chewed up and spit out and booed off stage\n[03:19.94] But I kept rhyming and stepped right into the next cypher\n[03:22.99] Best believe somebody's paying the pied piper\n[03:25.77] All the pain inside amplified by the fact\n[03:28.58] That I can't get by with my 9-to-5\n[03:31.78] And I can't provide the right type of life for my family\n[03:35.70] 'Cause man, these goddamn food stamps don't buy diapers\n[03:38.33] And it's no movie, there's no Mekhi Phifer, this is my life\n[03:42.37] And these times are so hard, and it's getting even harder\n[03:45.16] Trying to feed and water my seed, plus\n[03:47.26] Teeter totter caught up between being a father and a prima donna\n[03:50.91] Baby mama drama's screaming on and\n[03:53.14] Too much for me to wanna stay in one spot, another day of monotony\n[03:56.32] Has gotten me to the point, I'm like a snail I've got to formulate a plot or I end up in jail or shot\n[04:01.97] Success is my only motherfucking option, failure's not\n[04:05.31] Mom, I love you, but this trailer's got to go\n[04:07.95] I cannot grow old in Salem's lot\n[04:10.28] So here I go it's my shot\n[04:12.03] Feet, fail me not, this may be the only opportunity that I got\n[04:15.79] You better\n[04:16.45] Lose yourself in the music, the moment\n[04:18.76] You own it, you better never let it go\n[04:21.31] You only get one shot, do not miss your chance to blow\n[04:24.39] This opportunity comes once in a lifetime\n[04:27.07] You better lose yourself in the music, the moment\n[04:29.89] You own it, you better never let it go\n[04:32.31] You only get one shot, do not miss your chance to blow\n[04:35.50] This opportunity comes once in a lifetime\n[04:38.12] You better\n[04:40.09] You can do anything you set your mind to, man\n[04:41.12] ","source":"v2"}}
获取歌词 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/10997/spotify+lyrics+data+extractor+api/20733/get+lyrics?trackId=1v7L65Lzy0j0vdpRjJewt1' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Spotify歌词数据提取器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

🚀 企业版套餐

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

Spotify歌词数据提取API是一个旨在提供对Spotify上可用歌曲歌词及相关信息的简单高效访问的工具,这些信息包括艺术家、专辑、同步时间和相关元数据。它的主要目标是为开发者和内容创作者提供能力,以实时歌词丰富他们的音乐应用,通过与Spotify生态系统的直接集成改善用户体验。

该API允许您根据曲目的精确播放点获取完整歌词。通过这种方式,它可用于构建具有动态歌词显示的播放器、互动卡拉OK或歌词内容的语义分析。得益于其基于REST的结构,请求简单快捷,确保与多种语言和框架的兼容性。

此外,API可以用于个人和商业项目,同时始终尊重Spotify的使用和知识产权政策。其模块化设计和清晰文档使得即使是对流媒体服务经验较少的开发者也能轻松实现。

总之,Spotify歌词数据提取API代表了一种将歌曲歌词和音乐数据动态、准确和吸引人地整合的完整解决方案,增强用户、音乐和技术之间的互动。

Spotify歌词数据提取器 API FAQs

获取歌词端点返回同步的歌曲歌词以及元数据,例如专辑名称、艺术家名称、曲目时长和歌词文件的 URL。这使开发者能够在歌曲播放时实时显示歌词

响应中的关键字段包括“albumName”“artistName”“duration”“lrc_url”“spotify_track_id”和“title” 这些字段提供了显示歌词和相关歌曲细节所需的基本信息

响应数据采用JSON格式结构,每个字段都有键值对。这使得在应用程序中解析和利用变得简单,允许开发人员直接访问特定信息,如歌曲标题或艺术家姓名

获取歌词接口提供歌曲歌词、艺术家和专辑详情、曲目时长以及歌词文件的链接。这些综合数据支持各种应用,从歌词显示到卡拉OK功能

用户可以通过在GET请求中指定曲目ID来自定义他们的请求。这使他们能够检索Spotify上任何特定歌曲的歌词,按照应用程序的需求定制输出

典型的使用案例包括构建具有动态歌词显示的音乐播放器 创建交互式卡拉OK应用程序 以及对歌词进行语义分析以获取与音乐相关的见解或内容创作

数据准确性通过与Spotify数据库的直接集成得以保持 确保歌词和元数据是最新和可靠的 定期更新和检查帮助保持所提供信息的质量

用户可以通过将返回的数据集成到他们的应用程序中有效利用这些数据,以显示同步歌词、增强用户参与度,并提供有关歌曲的额外上下文,例如艺术家和专辑信息

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]