Overview
Genius is a lyrics and music knowledge platform with one of the largest song annotation databases on the web. The API lets you search songs, retrieve lyrics metadata, and access community annotations. OAuth is required but Genius provides a simple client-access token for read-only requests.
Beginner Tip
For read-only searches you can use a client access token instead of the full OAuth flow—just generate one in your Genius app settings and add it as a Bearer token in the Authorization header.
Available Data
Example 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
response.hits Array of search result objects. response.hits[].result.id Unique Genius song ID used to fetch full song details. response.hits[].result.title Full song title as listed on Genius. response.hits[].result.primary_artist.name Name of the primary artist associated with the song. response.hits[].result.url Direct URL to the Genius lyrics page for the song. response.hits[].result.song_art_image_url URL of the album art thumbnail image. Implementation Example
const url = "https://docs.genius.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"Authorization": "Bearer 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
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Alternatives to Genius
Technical alternatives for different use cases.
Lyrics with annotations and artist-provided context
API-accessible full lyrics and music matching
Annotated lyrics and artist commentary
Similar APIs
View All →7digital
7digital is a music platform API that lets you search a large catalog of licensed tracks, albums, and artists and retrieve streaming previews or purchase links.
Audiomack
Audiomack is a music streaming platform API that lets you access tracks, albums, playlists, and artist profiles from its catalog.
Bandcamp
Bandcamp is an independent music marketplace API that lets you access artist and fan data, sales information, and music catalog details for authorized accounts.
Deezer
⭐ Beginner's PickDeezer is a global music streaming API that gives you access to a catalog of over 90 million tracks, playlists, albums, and artist information.
Discogs
⭐ Beginner's PickDiscogs is the world's largest music database and marketplace API, covering vinyl records, CDs, and tapes with detailed release data, artist biographies, and pricing.