Genius Scraper - Song Lyrics & Metadata
Pricing
from $5.00 / 1,000 results
Go to Apify Store

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
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
| Parameter | Type | Description |
|---|---|---|
mode | string | search (keyword search) or lyrics (direct URLs). Default: search |
searchQueries | string[] | Search keywords (e.g. "bohemian rhapsody", "kendrick lamar"). Used in search mode |
startUrls | array | List of genius.com song URLs. Used in lyrics mode |
limit | integer | Max number of results. Default: 10, max: 1000 |
proxyConfiguration | object | Proxy settings (residential recommended) |
Output Fields
Each result contains:
| Field | Type | Description |
|---|---|---|
title | string | Song title |
artist | string | Primary artist name |
album | string | Album name (if available) |
releaseDate | string | Release date display string |
lyrics | string | Full song lyrics as plain text |
pageViews | integer | Genius.com page view count |
annotation_count | integer | Number of annotations on the song |
imageUrl | string | Song art / album cover URL |
url | string | Source Genius.com URL |
scrapedAt | string | ISO 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
- Search mode: Calls the
genius.com/api/search/multiendpoint which returns JSON with song results including URLs, view counts, and metadata. Then fetches each song page to extract lyrics. - Lyrics mode: Directly fetches provided song page URLs.
- 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.