Lyrix API

A node.js API that extracts synced lyrics from Musixmatch through Spotify.

Check the source code on how it works, it is well-commented/document lol. Also, do not hesitate to ask me any questions.

Endpoints

Search lyrics by Track ID

 GET  https://lyrix.vercel.app/getLyrics/{trackId}

This endpoint allows you to search for lyrics of a specific track using the Spotify Track ID.

Search lyrics by Artist Name and Track Name

 GET  https://lyrix.vercel.app/getLyricsByName/{artistName}/{trackName}?remix={true/false}

This endpoint allows you to search for lyrics of a specific track using the Artist Name and Track Name.

The remix query parameter is optional, if set to true it will only return official remix songs.

Example: Search for the official remix of "Lucid Dreams" by Juice WRLD

 GET  https://lyrix.vercel.app/getLyricsByName/JuiceWRLD/LucidDreams?remix=true

This will return lyrics of the official remix of the song "Lucid Dreams" by Juice WRLD.

Example: Search for the original version of "Lucid Dreams" by Juice WRLD

 GET  https://lyrix.vercel.app/getLyricsByName/JuiceWRLD/LucidDreams

This will return lyrics of the original version of the song "Lucid Dreams" by Juice WRLD.

API Usage

  1. Get Lyrics by Track ID:
    • Make a GET request to the endpoint https://lyrix.vercel.app/getLyrics/{trackId}.
    • Replace {trackId} with the Spotify Track ID of the desired song.
  2. Get Lyrics by Artist Name and Track Name:
    • Make a GET request to the endpoint https://lyrix.vercel.app/getLyricsByName/{artistName}/{trackName}?remix={true/false}.
    • Replace {artistName} and {trackName} with the artist and track names respectively.
    • Optionally, include ?remix=true to filter only official remixes.

Feel free to explore more functionality and let us know if you have any questions or feedback!

Contact

For more details, refer to the API documentation. For issues, contact via Telegram:

Chat on Telegram