Musixmatch API

Music / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

Musixmatch provides access to one of the largest lyrics databases in the world, covering millions of songs. You can search for song lyrics, match tracks by ISRC, and retrieve synchronized lyrics for music apps. An API key is required and the free tier limits the amount of lyrics you can display per request.

💡

Beginner Tip

The free plan only returns 30% of a song's lyrics per call due to licensing — for full lyrics access you need a commercial plan. Use the track.search endpoint to find a track's commontrack_id before fetching lyrics.

Available Data

track name and artist
album metadata
audio preview URLs
popularity score
genre classification
match scores and results

Example Response

JSON Response
{
  "name": "Bohemian Rhapsody",
  "artist": "Queen",
  "album": "A Night at the Opera",
  "duration_ms": 354000,
  "popularity": 92,
  "preview_url": "https://p.scdn.co/mp3-preview/..."
}

Field Reference

track_id Unique Musixmatch identifier for the track.
track_name Title of the song as stored in the Musixmatch database.
artist_name Name of the performing artist or band.
commontrack_id ID used to retrieve lyrics and synchronized data for this track.
has_lyrics Indicates whether lyrics are available for this track (1 = yes).
lyrics_body The lyrics text (truncated to 30% on the free plan).

Implementation Example

const url = "https://developer.musixmatch.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Authentication failed Missing or invalid API key in the request.
Append &apikey=YOUR_API_KEY to every request URL; double-check for typos or extra spaces.
402 Usage limit reached Exceeded the number of daily API calls allowed by the free plan.
Cache responses locally and batch requests to stay within your plan's daily quota.
Lyrics truncated at 30% Free tier licensing restriction limits the lyrics excerpt returned.
This is intentional on the free plan. Upgrade to a commercial plan if you need full lyrics access.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Music
Difficulty Intermediate
Verified: 2026-04-07

Alternatives to Musixmatch

Technical alternatives for different use cases.

Lyrics with annotations and artist-provided context

Better For

Annotated lyrics and artist commentary

Trade-off

API-accessible full lyrics and music matching

Audio features, recommendations, and playlist management

Better For

Music playback and audio analysis features

Trade-off

Lyrics data and synchronized lyrics

Similar APIs

View All →