Catalog feed
Introduction
This documentation provides technical guidance for integrating Musixmatch’s music metadata into your product. The feed delivers various music-related metadata, including lyrics, writing credits, translations, mood information, and the structural breakdown of tracks. Additionally, it describes the data delivery process, which includes weekly full feeds and daily incremental updates. This document outlines how to interpret and use each section of the data to enrich your product experience. Note that, depending on the contractual agreement between Musixmatch and the client accessing the feed, some of the information described here might not be available to the client.
Feed Structure Overview
The metadata feed contains multiple elements such as lyrics, song credits, translations, mood data, and song structure. The feed is delivered in two main ways:
- Full feed: A complete data feed delivered once a week.
- Incremental updates: Daily updates containing changes that have occurred since the last full feed.
These deliveries allow your system to stay up-to-date with minimal overhead by consuming only the necessary updates daily, while having access to the full dataset on a weekly basis.
Each item in the feed is delivered in a JSON format and has the following structure:
Detailed Feed Sections
Lyrics
The lyrics section provides full-text lyrics of a song, including information about explicit content, language, and the structure of time-synchronized lyrics.
- Full Lyrics: The complete text of the lyrics in the song. This is typically provided as a single string and may include markers for explicit language. Example:
- Line by line Time-Synchronized Lyrics (Syncs): Time-coded lyrics aligned with specific moments in the song. Each entry in the synchronization list will provide the start time in milliseconds and the corresponding lyric. Example:
- Word by word Time-Synchronized Lyrics (Rich Syncs): In addition to the line by line synchronisation, with this format we provide also specific timing for each word in a lyrics line. Example:
Writers
When available, Musixmatch provides song writing information for each track in the following format.
Translations
When available, the translated lyrics, are delivered in the format bellow.
Mood
The mood section describes the emotional tone or atmosphere of a track. The feed outputs a selection of 5 most relevant moods for a track from a pool of 25 possible mood labels. Each of the 5 moods is given a value between 0 and 1 defining the amount of the respective mood present in the song.
List of all possible labels:
- peaceful
- tender
- sentimental
- melancholy
- somber
- easygoin
- romantic
- sophisticated
- cool
- gritty
- upbeat
- empowering
- sensual
- yearning
- serious
- lively
- stirring
- fiery
- urgent
- brooding
- excited
- rowdy
- energizing
- defiant
- aggressive
Structure
Musixmatch provides a breakdown of the structural elements of a track, such as verses, choruses, bridges, and more. This detailed information allows for deeper insights into the composition of the song.
Sections: A breakdown of each structural element of the track (e.g., verse, chorus, bridge).
- Intro: The Intro comes at the beginning and introduces the song. It may also introduce the performers by name, especially in rap songs. This tag is used for labelling the lyrical introduction to a track and not to be confused with the instrumental part at the begging of a track.
- Hook: The Hook is the catchiest part of a song - the bit that usually sticks with the listener. Not to be confused with the Chorus as it’s often more repetitive and a little less melodic.
- Verse: The Verse is the bit of a song that is the most narrative. It tells the story and is usually a little less memorable and catchy than the Chorus or Hook. When two or more sections of the song have almost identical melodies but different lyrics, you can consider each section one verse.
- Pre-chorus: This is the linking section between the Verse and the Chorus. Not every song has a distinct Pre-chorus, but if it’s there it’s usually distinguished from the verses by a change in the melody or the instrumentation.
- Chorus: This is most likely the bit the song is famous for. It is repeated throughout the song, usually without changes to the melody or lyrics. It often contains the song title.
- Bridge: The Bridge commonly comes about 60% of the way through the song and often introduces new melodic and lyrical ideas before a final repetition of the Chorus. It does sometimes, however, ‘re-imagine’ a Verse or the Chorus - maybe presenting the same lyrics with different instrumentation to spice it up a bit.
- Outro: The Outro takes a song to its conclusion - always coming at the very end of the track. As the Intro is used just at the beginning of the track, the Outro is used only at the end.
Example:
Performers
The performers section provides information on the artists performing the song, when available. The data is a breakdown of the lyrics with each part(snippet) having associated one or more performers and in some cases the performer can also be unknown. The performer object contains the type and an id to an external artist entity (such as a Spotify artist id).
Example:
Genre
The genres associated to a track are listed as an array like described here:
Restrictions
Restrictions on content are applied for a number of reasons; however, it all comes down to preserving copyright owners and preventing legal queries.
Within every API response that includes lyrics or subtitles we’re going to provide a territory based restriction data which will allows you to identify the countries you are allowed to display that content in.
It is imperative that the client applies the updates of the country-restriction data as soon as possible. We expect these updates to happen ideally on the day the update is made available to you as they may, for example, include a restriction included as a result of a takedown notice.
This restriction block contains two sets, the allowed and the blocked countries:
- Countries are identified with the ISO 3166-1 alpha-2 standard
- XW Identifies every country
There are two different types of possible configurations:
- All the world allowed with the exception of a specific set of countries (that is usually empty)
This means you can display the lyrics in every country.
This means you can not display the lyrics in the USA and in Canada. 2. 1. All the world is NOT allowed, with the exclusion of zero or few countries
This means you can not display the lyrics in any country.
This means you can only display the lyrics in Italy.
Data Delivery and Updates
Full Data Feed
Musixmatch provides a full feed of its entire music metadata catalog once a week, typically on Tuesdays. This feed includes all available data fields for each track and serves as the base dataset for your integration.
- Delivery Time: Once a week
- Use Case: Use this feed to initialize your database or refresh the entire catalog in bulk.
Daily Incremental Updates
In addition to the weekly full feed, Musixmatch offers daily incremental updates. These updates contain only the changes (additions, modifications, or deletions) made to the data since the last full feed. This is particularly useful for keeping your metadata synchronized without having to process the entire catalog daily.
- Delivery Time: Daily
- Use Case: Use this to keep your database updated with the latest changes in the metadata, reducing processing time and overhead.