API Directory › 🎬 Movies, TV & Music › Genius
OAuthHTTPSCORS

Genius API

Song lyrics metadata, artist info and annotations.

Auth
OAuth
HTTPS
Yes
CORS
Yes
Open Genius docs ↗

What it does

The Genius API provides song and artist metadata, search, and the crowd-sourced annotations (referents) attached to lyrics. Note that the lyrics text itself is not in the API for licensing reasons — you get the song’s Genius URL, title, artist, artwork and annotation data.

Base URL

https://api.genius.com

Authentication

Create an API client to get a client access token and send it as Authorization: Bearer YOUR_TOKEN. Full OAuth is only needed to act on behalf of a Genius user (posting annotations).

Code examples

curl
curl -s "https://api.genius.com/search?q=Kendrick+Lamar+HUMBLE" \
  -H "Authorization: Bearer $GENIUS_TOKEN"
Python
import requests

H = {"Authorization": f"Bearer {TOKEN}"}
hit = requests.get("https://api.genius.com/search",
    params={"q": "Radiohead Karma Police"}, headers=H, timeout=10
).json()["response"]["hits"][0]["result"]
print(hit["full_title"], hit["url"])

Rate limits & quotas

No published hard rate limit, but treat it as modest — a few requests per second — and cache. Responses are wrapped in a meta + response envelope; meta.status mirrors the HTTP status.

Key response fields

response.hits[].result.idGenius song ID
response.hits[].result.full_title“Song by Artist”
response.hits[].result.urlLink to the lyrics page on genius.com
response.song.album / release_date_for_displayFrom /songs/{id}
response.song.song_art_image_urlArtwork

Common errors

401Missing or invalid bearer token.
404Unknown song/artist ID.
429You are being throttled — back off and cache.
(no lyrics field)By design — the API never returns lyric text; only metadata and the page URL.

When to use it (and alternatives)

Use it for song search, artist discographies, artwork and linking to annotations. If you actually need lyric text, you must license it separately (e.g. Musixmatch) — scraping the Genius page violates its terms. For pure discography data see MusicBrainz.

FAQ

Can I get lyrics from the Genius API?

No. Licensing prevents it. The API returns the song’s Genius URL and metadata; the lyrics live only on the web page, which you may not scrape under the terms of service.

What is a 'referent'?

A span of lyrics that has an annotation attached. The /referents endpoint returns these with their explanatory text, which is available through the API.

Which token do I need?

For read-only metadata and search, the client access token (generated in your API client settings) is enough. OAuth is only for writing annotations as a user.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

JSON Formatter

Related Movies, TV & Music APIs

← Back

More Movies, TV & Music APIs · All 196 APIs