Genius Scraper - Song Lyrics & Metadata avatar

Genius Scraper - Song Lyrics & Metadata

Pricing

from $5.00 / 1,000 results

Go to Apify Store
Genius Scraper - Song Lyrics & Metadata

Genius Scraper - Song Lyrics & Metadata

Scrape song lyrics and metadata from Genius.com. Search songs, artists, or albums. Get lyrics text, page views, annotations, featured artists, Spotify URLs, and more.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

lulz bot

lulz bot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Genius Lyrics Scraper - Song Lyrics & Metadata

Scrape song lyrics and metadata from Genius.com -- the world's largest collection of song lyrics and musical knowledge.

What it does

  • Search mode: Search for songs by keyword (artist, title, album) and extract lyrics + metadata
  • Lyrics mode: Provide direct Genius.com song URLs to scrape specific songs

Uses the Genius search API for finding songs and CheerioCrawler for extracting lyrics from the SSR HTML.

Input Parameters

ParameterTypeDescription
modestringsearch (keyword search) or lyrics (direct URLs). Default: search
searchQueriesstring[]Search keywords (e.g. "bohemian rhapsody", "kendrick lamar"). Used in search mode
startUrlsarrayList of genius.com song URLs. Used in lyrics mode
limitintegerMax number of results. Default: 10, max: 1000
proxyConfigurationobjectProxy settings (residential recommended)

Output Fields

Each result contains:

FieldTypeDescription
titlestringSong title
artiststringPrimary artist name
albumstringAlbum name (if available)
releaseDatestringRelease date display string
lyricsstringFull song lyrics as plain text
pageViewsintegerGenius.com page view count
annotation_countintegerNumber of annotations on the song
imageUrlstringSong art / album cover URL
urlstringSource Genius.com URL
scrapedAtstringISO 8601 timestamp

Example Output

{
"title": "Bohemian Rhapsody",
"artist": "Queen",
"album": "A Night at the Opera",
"releaseDate": "October 31, 1975",
"lyrics": "Is this the real life?\nIs this just fantasy?\nCaught in a landslide...",
"pageViews": 11084955,
"annotation_count": 68,
"imageUrl": "https://images.genius.com/...",
"url": "https://genius.com/Queen-bohemian-rhapsody-lyrics",
"scrapedAt": "2026-04-26T10:00:00.000Z"
}

Example Inputs

Search for songs by keyword

{
"mode": "search",
"searchQueries": ["bohemian rhapsody", "stairway to heaven"],
"limit": 20
}

Scrape specific song URLs

{
"mode": "lyrics",
"startUrls": [
{ "url": "https://genius.com/Queen-bohemian-rhapsody-lyrics" },
{ "url": "https://genius.com/Led-zeppelin-stairway-to-heaven-lyrics" }
]
}

How it works

  1. Search mode: Calls the genius.com/api/search/multi endpoint which returns JSON with song results including URLs, view counts, and metadata. Then fetches each song page to extract lyrics.
  2. Lyrics mode: Directly fetches provided song page URLs.
  3. Data extraction: Lyrics are in [data-lyrics-container="true"] div elements. Metadata comes from a combination of JSON-LD, meta tags, and the __PRELOADED_STATE__ JSON blob.

Notes

  • Genius.com is the largest lyrics database with millions of songs annotated by the community.
  • Page views reflect the total number of times a song's page has been viewed on Genius.
  • Annotation count shows how many user-contributed explanations exist for the song.
  • Some songs may not have album information if they are standalone singles.
  • Residential proxies recommended to avoid rate limiting.