Lyrics.ovh API

Beginner's Pick Music / No Auth Required Beginner HTTPS
Free to Use Varies (check documentation)

Overview

Lyrics.ovh is a simple, no-authentication API that returns song lyrics given an artist name and song title. There are no API keys, rate limit documentation, or accounts needed—just make a GET request and get lyrics back. It is an ideal starting point for beginners who want to add lyrics to a music app.

Beginner Tip

URL-encode the artist and title (replace spaces with %20 or use encodeURIComponent in JavaScript) to avoid errors with special characters. Always check for a "No lyrics found" error in the response before displaying lyrics to users.

Available Data

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

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

lyrics Full lyrics text of the song, with newline characters separating lines and verses.
error Error message returned when no lyrics are found for the given artist and title (only present on failure).

Implementation Example

Request
const url = "https://lyricsovh.docs.apiary.io/";
const response = await fetch(url);
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

{"error":"No lyrics found"} The artist or song title does not match any entry in the lyrics database.
Double-check the spelling and try alternate name formats (e.g., "The Beatles" vs "Beatles").
404 Not Found The URL path is malformed—artist or title segment is missing.
Use the format /v1/{artist}/{title} with both segments URL-encoded.
Request timeout The free API server can be slow during peak usage.
Set a generous timeout (10 or more seconds) in your HTTP client and retry on failure.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Music
Difficulty Beginner
Verified: 2026-04-04

Related Tags

Similar APIs

View All →