La API de Letras de Spotify Line proporciona acceso instantáneo a letras sincronizadas de millones de canciones disponibles en Spotify. Diseñada para desarrolladores, entusiastas de la música y creadores de aplicaciones, esta API te permite recuperar las letras completas de las canciones en tiempo real simplemente pasando un ID de pista de Spotify. Ya sea que estés construyendo una aplicación de karaoke, una plataforma de educación musical o una herramienta interactiva para mostrar letras, esta API ofrece letras precisas y de alta calidad que mejoran el compromiso del usuario y la experiencia musical.
Cada respuesta de la API contiene datos de letras limpios y estructurados que se pueden sincronizar con la reproducción para una visualización o análisis dinámico. Con soporte para géneros populares y de nicho, la API garantiza una amplia cobertura de canciones, desde éxitos en las listas hasta lanzamientos independientes. Además, su rendimiento optimizado y escalabilidad permiten una integración sin problemas tanto en plataformas de gran escala como en aplicaciones móviles ligeras.
Para utilizar este punto final, debes especificar el ID de una canción de Spotify en el parámetro.
Obtener letras. - Características del Endpoint
Objeto | Descripción |
---|---|
id |
[Requerido] Indicates a song ID |
{"lyrics":{"syncType":"LINE_SYNCED","lines":[{"startTimeMs":"7960","words":"I've been reading books of old, the legends and the myths","syllables":[],"endTimeMs":"0"},{"startTimeMs":"12880","words":"Achilles and his gold, Hercules and his gifts","syllables":[],"endTimeMs":"0"},{"startTimeMs":"18200","words":"Spider-Man's control and Batman with his fists","syllables":[],"endTimeMs":"0"},{"startTimeMs":"22670","words":"And clearly, I don't see myself upon that list","syllables":[],"endTimeMs":"0"},{"startTimeMs":"26300","words":"But she said, \"Where d'you wanna go? How much you wanna risk?","syllables":[],"endTimeMs":"0"},{"startTimeMs":"31130","words":"I'm not looking for somebody with some superhuman gifts","syllables":[],"endTimeMs":"0"},{"startTimeMs":"35910","words":"Some superhero, some fairy tale bliss","syllables":[],"endTimeMs":"0"},{"startTimeMs":"40710","words":"Just something I can turn to, somebody I can kiss\"","syllables":[],"endTimeMs":"0"},{"startTimeMs":"45080","words":"I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"47700","words":"Doo-doo-doo, doo-doo-doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"50050","words":"Doo-doo-doo, doo, doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"52450","words":"Doo-doo-doo, doo-doo-doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"54150","words":"Oh, I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"57050","words":"Doo-doo-doo, doo-doo-doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"59620","words":"","syllables":[],"endTimeMs":"0"},{"startTimeMs":"61780","words":"Doo-doo-doo, doo, doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"61920","words":"Doo-doo-doo, doo-doo-doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"63520","words":"Oh, I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"67240","words":"\u266a","syllables":[],"endTimeMs":"0"},{"startTimeMs":"73030","words":"I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"76240","words":"\u266a","syllables":[],"endTimeMs":"0"},{"startTimeMs":"82680","words":"I've been reading books of old, the legends and the myths","syllables":[],"endTimeMs":"0"},{"startTimeMs":"87330","words":"The testaments they told, the moon and its eclipse","syllables":[],"endTimeMs":"0"},{"startTimeMs":"92000","words":"And Superman unrolls a suit before he lifts","syllables":[],"endTimeMs":"0"},{"startTimeMs":"97720","words":"But I'm not the kind of person that it fits","syllables":[],"endTimeMs":"0"},{"startTimeMs":"100930","words":"She said, \"Where d'you wanna go? How much you wanna risk?","syllables":[],"endTimeMs":"0"},{"startTimeMs":"105680","words":"I'm not looking for somebody with some superhuman gifts","syllables":[],"endTimeMs":"0"},{"startTimeMs":"110570","words":"Some superhero, some fairy tale bliss","syllables":[],"endTimeMs":"0"},{"startTimeMs":"115250","words":"Just something I can turn to, somebody I can miss\"","syllables":[],"endTimeMs":"0"},{"startTimeMs":"119690","words":"I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"123400","words":"\u266a","syllables":[],"endTimeMs":"0"},{"startTimeMs":"128930","words":"I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"133140","words":"\u266a","syllables":[],"endTimeMs":"0"},{"startTimeMs":"138070","words":"Oh, I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"141470","words":"Doo-doo-doo, doo-doo-doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"143550","words":"Doo-doo-doo, doo, doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"146130","words":"Doo-doo-doo, doo-doo-doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"147150","words":"Oh, I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"150740","words":"Doo-doo-doo, doo-doo-doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"155400","words":"Doo-doo-doo, doo, doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"155670","words":"Doo-doo-doo, doo-doo-doo","syllables":[],"endTimeMs":"0"},{"startTimeMs":"157570","words":"Where d'you wanna go? How much you wanna risk?","syllables":[],"endTimeMs":"0"},{"startTimeMs":"161620","words":"I'm not looking for somebody with some superhuman gifts","syllables":[],"endTimeMs":"0"},{"startTimeMs":"166480","words":"Some superhero, some fairy tale bliss","syllables":[],"endTimeMs":"0"},{"startTimeMs":"171150","words":"Just something I can turn to, somebody I can kiss","syllables":[],"endTimeMs":"0"},{"startTimeMs":"175510","words":"I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"178440","words":"\u266a","syllables":[],"endTimeMs":"0"},{"startTimeMs":"193930","words":"Oh, I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"196810","words":"\u266a","syllables":[],"endTimeMs":"0"},{"startTimeMs":"212510","words":"Oh, I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"215030","words":"\u266a","syllables":[],"endTimeMs":"0"},{"startTimeMs":"231270","words":"Oh, I want something just like this","syllables":[],"endTimeMs":"0"},{"startTimeMs":"232990","words":"","syllables":[],"endTimeMs":"0"}],"provider":"MusixMatch","providerLyricsId":"70055156","providerDisplayName":"Musixmatch","syncLyricsUri":"","isDenseTypeface":false,"alternatives":[],"language":"en","isRtlLanguage":false,"capStatus":"UNCAPPED","previewLines":[{"startTimeMs":"7960","words":"I've been reading books of old, the legends and the myths","syllables":[],"endTimeMs":"0"},{"startTimeMs":"12880","words":"Achilles and his gold, Hercules and his gifts","syllables":[],"endTimeMs":"0"},{"startTimeMs":"18200","words":"Spider-Man's control and Batman with his fists","syllables":[],"endTimeMs":"0"},{"startTimeMs":"22670","words":"And clearly, I don't see myself upon that list","syllables":[],"endTimeMs":"0"},{"startTimeMs":"26300","words":"But she said, \"Where d'you wanna go? How much you wanna risk?","syllables":[],"endTimeMs":"0"}]},"colors":{"background":-1241843,"text":-16777216,"highlightText":-1},"hasVocalRemoval":false}
curl --location --request GET 'https://zylalabs.com/api/7566/spotify+line+lyrics+api/12185/get+lyrics?id=6RUKPb4LETWmmr3iAEQktW' --header 'Authorization: Bearer YOUR_API_KEY'
Encabezado | Descripción |
---|---|
Autorización
|
[Requerido] Debería ser Bearer access_key . Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito. |
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
El endpoint Obtener letras devuelve letras de canciones sincronizadas para una pista específica de Spotify. La respuesta incluye el texto completo de la letra, información de tiempo para la sincronización y metadatos sobre la canción, como el ID de la pista y el nombre del artista.
Los campos clave en los datos de respuesta incluyen "letra" (el texto completo de la letra), "track_id" (el ID de la pista de Spotify), "artista" (el nombre del artista) y "timestamp" (datos de tiempo para la sincronización de la letra).
Los datos de respuesta están estructurados en un formato JSON, con pares clave-valor claros. La letra se presenta típicamente como una sola cadena, mientras que los campos de metadatos están organizados para un acceso fácil, lo que permite a los desarrolladores analizar y mostrar la información de manera eficiente.
El endpoint Obtener Letras proporciona letras en tiempo real para canciones, incluyendo el texto completo de las letras, el tiempo de sincronización y metadatos asociados como el ID de la pista y el nombre del artista, abarcando una amplia variedad de géneros y artistas.
La precisión de los datos se mantiene a través de asociaciones con organizaciones de derechos musicales y actualizaciones continuas de fuentes verificadas. Las revisiones de calidad regulares garantizan que las letras proporcionadas sean correctas y estén actualizadas.
Los casos de uso típicos incluyen aplicaciones de karaoke, plataformas de educación musical y herramientas interactivas de visualización de letras. Los desarrolladores pueden utilizar la API para mejorar el compromiso del usuario sincronizando las letras con la reproducción de música.
Los usuarios pueden personalizar sus solicitudes especificando el ID de la pista de Spotify en el parámetro del punto final. Esto permite la recuperación específica de letras de canciones, lo que facilita experiencias personalizadas en las aplicaciones.
Si la API devuelve resultados parciales o vacíos, los desarrolladores deben implementar un manejo de errores para notificar a los usuarios. También pueden ofrecer opciones de respaldo, como mostrar un mensaje o sugerir pistas alternativas para las que están disponibles las letras.
El endpoint Obtener Letras requiere principalmente el parámetro "track_id", que es el identificador único de una pista de Spotify. Esto permite a los usuarios especificar de qué canción quieren recuperar la letra.
La API abarca una amplia gama de canciones de múltiples géneros, incluyendo pop, rock, hip-hop e indie. Incluye tanto éxitos de gran popularidad como pistas menos conocidas, asegurando una amplia accesibilidad para los usuarios en todo el mundo.
El parámetro "track_id" acepta cualquier ID de pista de Spotify válido, que normalmente es una cadena de caracteres alfanuméricos. Los usuarios deben asegurarse de que el ID corresponda a una pista existente en el catálogo de Spotify para una recuperación exitosa.
En la respuesta, "letras" contiene el texto completo de la canción, "track_id" identifica la canción, "artista" proporciona el nombre del artista, y "timestamp" indica el momento para la sincronización de la letra, lo que permite una visualización dinámica durante la reproducción.
Los usuarios pueden analizar la respuesta JSON para extraer letras y metadatos para mostrarlos en sus aplicaciones. Al utilizar los datos de "timestamp", los desarrolladores pueden sincronizar las letras con la reproducción de música, mejorando el compromiso del usuario.
Los controles de calidad incluyen auditorías regulares y actualizaciones de fuentes verificadas, asegurando que la letra sea precisa y refleje las versiones más recientes. Las asociaciones con organizaciones de derechos musicales mejoran aún más la fiabilidad de los datos.
La respuesta típicamente incluye un objeto JSON estructurado con campos para la letra, ID de la pista, nombre del artista y marcas de tiempo. Los usuarios pueden esperar un formato consistente, lo que facilita su integración en varias aplicaciones.
Los usuarios deben implementar el manejo de errores para capturar identificadores de pista no válidos, proporcionando retroalimentación a los usuarios. Esto puede incluir mostrar un mensaje de error o sugerir pistas alternativas, asegurando una experiencia de usuario fluida.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.
To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.
The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.
Nivel de Servicio:
100%
Tiempo de Respuesta:
0ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
0ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
749ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
0ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
381ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2,316ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
361ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
712ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1,898ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
609ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
8,561ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
8,561ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
8,561ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
8,561ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
20,002ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3,722ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
4,880ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3,722ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2,139ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
4,880ms