Socket
Book a DemoInstallSign in
Socket

musixmatch-lyrics-api

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

musixmatch-lyrics-api

Get lyrics from Musixmatch

2.14.0
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Musixmatch Lyrics

A Node.js library to fetch song lyrics from Musixmatch.

Installation

npm install musixmatch-lyrics-api

Usage

const { Musixmatch } = require('musixmatch-lyrics-api');

const musixmatch = new Musixmatch();

async function getLyrics() {
    try {
        const lyrics = await musixmatch.findLyrics('Never Gonna Give You Up - Rick Astley');
        console.log(lyrics);
    } catch (error) {
        console.error(error);
    }
}

getLyrics();

API

new Musixmatch()

Creates a new instance of the Musixmatch client.

musixmatch.findLyrics(query)

Searches for lyrics on Musixmatch.

  • query (string): The song title and artist to search for.

Returns a Promise that resolves to a LyricsData object or null if no lyrics are found.

LyricsData Object

  • text (string | null): The plain text lyrics.
  • lines (Array | null): An array of lyric lines with timestamps.
    • range.start (number): The start time of the line in milliseconds.
    • line (string): The text of the lyric line.
  • track (object): Information about the song.
    • title (string): The song title.
    • author (string): The artist's name.
    • albumArt (string | undefined): The URL of the album art.
  • source (string): The source of the lyrics (always 'Musixmatch').

Keywords

musixmatch

FAQs

Package last updated on 07 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.