A Rest API for fetching lyrics from Spotify which is powered by Musixmatch.
10K+
A REST API for fetching lyrics from Spotify (powered by Musixmatch).
⚠️ This project is probably against Spotify TOS. Use at your own risk.
docker run -d -p 8080:8080 -e SP_DC=your_sp_dc_cookie akashrchandran/spotify-lyrics-api
services:
spotify-lyrics-api:
image: akashrchandran/spotify-lyrics-api:latest
ports:
- "8080:8080"
environment:
- SP_DC=your_sp_dc_cookie
restart: unless-stopped
| Variable | Required | Description |
|---|---|---|
SP_DC | Yes | Spotify sp_dc cookie value (How to get it) |
Get lyrics by track ID:
GET http://localhost:8080/?trackid=5f8eCNwTlr0RJopE9vQ6mB
Get lyrics by Spotify URL:
GET http://localhost:8080/?url=https://open.spotify.com/track/5f8eCNwTlr0RJopE9vQ6mB
Available formats: id3 (default), lrc, srt, raw
GET http://localhost:8080/?trackid=5f8eCNwTlr0RJopE9vQ6mB&format=lrc
{
"error": false,
"syncType": "LINE_SYNCED",
"lines": [
{
"startTimeMs": "960",
"words": "One, two, three, four"
}
]
}
Content type
Image
Digest
sha256:c95749ad9…
Size
37.1 MB
Last updated
9 months ago
docker pull akashrchandran/spotify-lyrics-api