Genius Lyrics & Songs Scraper
Pricing
from $3.60 / 1,000 song scrapeds
Genius Lyrics & Songs Scraper
Scrape song lyrics and metadata from Genius.com: search songs by title, artist or a line of lyrics, or get an artist's full discography. Full lyrics, release dates, album, Spotify/YouTube links, writer credits and pageviews.
Pricing
from $3.60 / 1,000 song scrapeds
Rating
0.0
(0)
Developer
Automation Lab
Maintained by CommunityActor stats
0
Bookmarked
194
Total users
5
Monthly active users
4 days ago
Last modified
Features
Share
Genius Scraper
What does Genius Scraper do?
Genius Scraper extracts song lyrics, metadata, and artist information from Genius.com — the world's largest lyrics and music knowledge platform. Search songs by title or artist, find songs by a line of their lyrics, scrape full artist discographies, or extract lyrics and details from specific song URLs. No API key or login required.
The scraper uses Genius's public API to collect rich metadata including release dates, Spotify/YouTube/Apple Music links, writer and producer credits, page view counts, and full lyrics text. It's the easiest way to get structured music data at scale.
Try it by clicking Start with the prefilled input — it searches for "Bohemian Rhapsody" and returns 5 songs with lyrics. Search pages through Genius results until it has the number of songs you ask for (up to 500 per query), and puts the closest title and artist match first, so an exact song title appears before translations, covers, and alternate versions.
Who Is It For?
Music researchers and analysts
- Build datasets of song metadata across genres, decades, or artists
- Analyze lyrical themes, language patterns, and songwriting credits
- Track song popularity via Genius pageview statistics
Content creators and marketers
- Source accurate lyrics for video subtitles, karaoke apps, or music blogs
- Find Spotify/YouTube/Apple Music links for playlists and recommendations
- Research songwriter and producer credits for music journalism
Data scientists and NLP engineers
- Train language models on song lyrics corpora
- Perform sentiment analysis on lyrics across genres
- Build music recommendation systems using metadata features
App developers
- Power music discovery features with structured song data
- Integrate lyrics into music players or karaoke applications
- Build artist databases with discography and credit information
Why use Genius Scraper?
- No API key needed — works out of the box, no Genius developer account required
- Rich metadata — not just lyrics: album info, release dates, credits, streaming links, pageviews
- Four ways in — search by title or artist, search by lyrics, scrape artist discographies, or target specific song URLs
- Full result counts — asks for 100 songs, gets 100 songs (search pages through Genius results)
- Full lyrics, reliably — lyrics are read from Genius's song embed, which keeps working when song pages are blocked
- Fast HTTP-only extraction — no browser overhead, runs on 512 MB memory
- Server API — look up one song or a quick search over HTTP without starting a run
- Pay-per-result pricing — only pay for songs you actually extract
- Export anywhere — JSON, CSV, Excel, or connect to 5,000+ apps via API
- Scheduled runs — monitor new releases or trending songs automatically
- Proxy rotation — reliable data collection with automatic IP rotation
What data can you extract?
Each song result includes up to 27 data fields:
| Category | Fields |
|---|---|
| 🎵 Song info | Title, Genius ID, URL, language, explicit flag |
| 👤 Artist | Name, ID, URL, image |
| 💿 Album | Name, URL, cover art |
| 📅 Release | Release date, recording location |
| 📝 Lyrics | Full lyrics text (plain text) |
| 📊 Stats | Pageviews, annotation count |
| 🔗 Streaming | Spotify URL, YouTube URL, Apple Music URL |
| ✍️ Credits | Writer names, producer names, featured artists |
| 📖 Context | Description/annotation preview |
| 🔍 Source | The search query that found the song (searchQuery) |
How much does it cost to scrape Genius?
This Actor uses pay-per-event pricing — you pay only for what you scrape. No monthly subscription. All platform costs are included.
| Free | Starter ($29/mo) | Scale ($199/mo) | Business ($999/mo) | |
|---|---|---|---|---|
| Per song | $0.0069 | $0.006 | $0.00468 | $0.0036 |
| 1,000 songs | $6.90 | $6.00 | $4.68 | $3.60 |
Higher-tier plans get additional volume discounts.
Real-world cost examples:
| Query | Songs | Duration | Cost (Free tier) |
|---|---|---|---|
| "Bohemian Rhapsody" (search, 5 songs) | 5 | ~15s | ~$0.04 |
| Artist: Eminem (top 50 songs) | 50 | ~60s | ~$0.35 |
| 2 song URLs with lyrics | 2 | ~10s | ~$0.02 |
The one-time start fee is $0.005 per run. With Apify's free plan ($5/month credit), you can scrape approximately 700 songs per month at no cost.
How to scrape Genius songs and lyrics
- Go to the Genius Scraper page on Apify Store.
- Click Try for free to open the actor in Apify Console.
- Choose your scraping mode:
- Search: Enter song titles or artist names in the "Search queries" field, or a line of lyrics with Search type set to Lyrics
- Artist: Paste Genius artist URLs (e.g.,
https://genius.com/artists/Queen) - Song URLs: Paste direct song page URLs for specific lyrics extraction
- Set Max songs to control how many results to extract (start small!).
- Toggle Include lyrics on/off depending on your needs.
- Click Start and wait for the run to finish.
- Download results in JSON, CSV, or Excel from the Dataset tab.
Example input for search:
{"searchQueries": ["Kendrick Lamar", "Taylor Swift Midnights"],"maxSongs": 20,"includeLyrics": true}
Example input for lyrics search (find songs by a line you remember):
{"searchQueries": ["is this the real life"],"searchType": "lyrics","maxSongs": 10}
Example input for artist scraping:
{"artistUrls": ["https://genius.com/artists/Drake","https://genius.com/artists/Beyonce"],"maxSongs": 100,"includeLyrics": true}
Input parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
searchQueries | string[] | [] | Song titles or artist names to search (or lyrics, with searchType: "lyrics") |
searchType | string | "songs" | songs matches titles and artists; lyrics finds songs containing the words |
artistUrls | string[] | [] | Genius artist page URLs to scrape discographies |
songUrls | string[] | [] | Direct Genius song page URLs |
maxSongs | integer | 50 | Max songs per search query or artist (1–500) |
includeLyrics | boolean | true | Whether to extract full lyrics text |
You must provide at least one of: searchQueries, artistUrls, or songUrls. A run with no valid input fails at once with a clear message and is not charged. Invalid URLs among valid input are skipped and counted in the run's status message, which always says how many songs were delivered against how many were asked for.
Output example
{"id": 1063,"title": "Bohemian Rhapsody","artistName": "Queen","artistId": 563,"artistUrl": "https://genius.com/artists/Queen","artistImageUrl": "https://images.genius.com/3bc047e8b3c654ed28aedc69f93f8663.1000x1000x1.jpg","albumName": "Studio Collection","albumUrl": "https://genius.com/albums/Queen/Studio-collection","albumCoverUrl": "https://images.genius.com/225103ef88cca1bc85c804a1ded937a5.597x597x1.jpg","releaseDate": "1975-10-31","url": "https://genius.com/Queen-bohemian-rhapsody-lyrics","thumbnailUrl": "https://images.genius.com/718de9d1fbcaae9f3c9b1bf483bfa8f1.300x300x1.png","imageUrl": "https://images.genius.com/718de9d1fbcaae9f3c9b1bf483bfa8f1.1000x1000x1.png","pageviews": 11020679,"lyrics": "[Intro]\nIs this the real life? Is this just fantasy?\nCaught in a landslide, no escape from reality\n...","language": "en","description": "Widely considered to be one of the greatest songs of all time...","spotifyUrl": "https://open.spotify.com/track/7tFiyTwD0nx5a1eklYtX2J","youtubeUrl": "https://www.youtube.com/watch?v=fJ9rUzIMcZQ","appleMusicUrl": "https://music.apple.com/song/932648449","writerNames": ["Freddie Mercury"],"producerNames": ["Roy Thomas Baker", "Queen"],"featuredArtistNames": [],"annotationCount": 33,"isExplicit": false,"recordingLocation": "Rockfield Studios, Wye Valley, Monmouthshire, Wales, United Kingdom","searchQuery": "Bohemian Rhapsody"}
Tips for best results
- Start small — use
maxSongs: 10for your first run to verify the data matches your needs - Search returns what you ask for —
maxSongs: 100returns 100 songs per query when Genius has that many, best title and artist match first - Remember a line but not the title? — use
searchType: "lyrics" - Artist mode for completeness — scrapes the full discography sorted by popularity
- Disable lyrics for speed — set
includeLyrics: falseif you only need metadata (2x faster) - Combine modes — use search queries AND artist URLs in the same run
- Schedule weekly runs — track new releases by scheduling artist scrapes
- Use song URLs for precision — paste exact Genius URLs when you know which songs you need
Integrations
Connect Genius Scraper to your existing workflows:
- Genius Scraper → Google Sheets — build a live music database with lyrics and metadata that updates automatically on a schedule
- Genius Scraper → Slack/Discord — get notified when new songs are added to an artist's discography
- Genius Scraper → Make/Zapier — trigger NLP analysis or translation workflows when new lyrics are scraped
- Genius Scraper → PostgreSQL/BigQuery — feed structured music data into your analytics warehouse
- Scheduled runs — monitor artist discographies weekly for new releases
- Webhooks — process lyrics in real-time as they're extracted
API Usage
Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('automation-lab/genius-scraper').call({searchQueries: ['Kendrick Lamar'],maxSongs: 20,includeLyrics: true,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Python
from apify_client import ApifyClientclient = ApifyClient('YOUR_API_TOKEN')run = client.actor('automation-lab/genius-scraper').call(run_input={'searchQueries': ['Kendrick Lamar'],'maxSongs': 20,'includeLyrics': True,})items = client.dataset(run['defaultDatasetId']).list_items().itemsprint(items)
cURL
curl -X POST "https://api.apify.com/v2/acts/automation-lab~genius-scraper/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"searchQueries": ["Kendrick Lamar"],"maxSongs": 20,"includeLyrics": true}'
Use with AI agents via MCP
Genius Scraper is available as a tool for AI assistants that support the Model Context Protocol (MCP).
Add the Apify MCP server to your AI client — this gives you access to all Apify actors, including this one:
Setup for Claude Code
$claude mcp add --transport http apify "https://mcp.apify.com?tools=automation-lab/genius-scraper"
Setup for Claude Desktop, Cursor, or VS Code
Add this to your MCP config file:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=automation-lab/genius-scraper"}}}
Your AI assistant will use OAuth to authenticate with your Apify account on first use.
Example prompts
Once connected, try asking your AI assistant:
- "Use automation-lab/genius-scraper to get all lyrics by Radiohead and analyze the most common themes"
- "Search Genius for songs about climate change and export the lyrics to a spreadsheet"
- "Scrape the top 50 songs by Taylor Swift and list which producers appear most frequently"
Learn more in the Apify MCP documentation.
Error reporting
Failed operations send sanitized diagnostic input, exceptions and Actor, build and run IDs to our private GlitchTip service so we can repair them. Secret fields and URL queries are removed, and reports are retained for 30 days.
Legality
Genius Scraper accesses only publicly available data on Genius.com — the same information any visitor can see in their browser. The scraper does not bypass any authentication, paywalls, or access restrictions.
Web scraping of public data is generally legal based on the 2022 US appeals court ruling in hiQ Labs v. LinkedIn, which confirmed that scraping publicly accessible data does not violate the Computer Fraud and Abuse Act (CFAA).
However, you should:
- Review Genius's Terms of Service before scraping
- Comply with GDPR and local data protection laws when processing personal data
- Use the data responsibly and respect intellectual property rights for lyrics content
- Avoid excessive request rates that could impact the website's performance
FAQ
How fast is Genius Scraper? A 5-song search typically finishes in 10-15 seconds. Scraping 50 songs from an artist takes about a minute. With lyrics disabled, runs are roughly 2x faster since it skips the lyrics request for each song.
How much does it cost? With pay-per-event pricing, you pay $0.006 per song on the Starter plan and less on higher plans, plus $0.005 per run. The free Apify plan ($5/month credit) gives you about 700 songs per month at no cost.
Does it extract full lyrics?
Yes, when includeLyrics is enabled, the scraper extracts the complete lyrics text of each song. Lyrics are returned as plain text with section markers (e.g., [Verse 1], [Chorus]).
Why are some lyrics null?
Some songs on Genius are instrumental (no lyrics), unreleased, or have incomplete lyric entries. The lyrics field will be null in these cases. The metadata (title, artist, album, etc.) is still extracted from the API.
How many search results can I get?
Up to maxSongs (max 500) per query. The scraper pages through Genius search until it has that many or Genius has no more matches; the run's status message says how many songs were found, e.g. "Got 27 of 50 songs: Genius has no more matching songs". A song already returned for an earlier query or artist in the same run is not repeated.
Can I scrape lyrics in other languages?
Yes. Genius hosts lyrics in many languages. The language field in the output indicates the song's language. Search queries work in any language supported by Genius.
Related Music and Media Scrapers
- Spotify Scraper — extract playlists, tracks, and artist data from Spotify
- YouTube Scraper — scrape video metadata, comments, and channel data
- YouTube Transcript — extract video transcripts and subtitles
- Apple App Store Scraper — scrape app reviews and ratings
- iTunes Scraper — extract music, podcast, and app data from iTunes
- Podcast Scraper — scrape podcast episodes and metadata
- MusicBrainz Scraper — extract music metadata from MusicBrainz
Server API: one song or a quick search over HTTP
Genius Scraper is also a Server Actor. Besides normal runs, it answers short HTTP requests directly, without starting a run for each lookup. Copy the server URL from the Actor's Server tab (do not build it from the Actor name) and authenticate with your Apify token. Use normal Actor runs for large searches and artist discographies.
curl -sS "$SERVER_URL/song?url=https://genius.com/Queen-bohemian-rhapsody-lyrics" -H "Authorization: Bearer $APIFY_TOKEN"curl -sS "$SERVER_URL/song?id=1063&includeLyrics=false" -H "Authorization: Bearer $APIFY_TOKEN"curl -sS "$SERVER_URL/search?q=Bohemian%20Rhapsody&maxSongs=5" -H "Authorization: Bearer $APIFY_TOKEN"curl -sS "$SERVER_URL/search?q=is%20this%20the%20real%20life&type=lyrics&maxSongs=3" -H "Authorization: Bearer $APIFY_TOKEN"
| Method and path | Input | Output and charge |
|---|---|---|
GET / | None | ready: true, the routes and limits; no lookup or charge |
GET /song | Query url (Genius song URL, genius.com/<Artist-title>-lyrics or genius.com/songs/<id>) or id (numeric Genius song ID), optional includeLyrics (true or false, default true) | {ok,count,results} with one song record, the same as a dataset item; one Song scraped event; no start fee |
GET /search | Query q (1–200 characters), optional type (songs or lyrics, default songs), maxSongs (1–10, default 5), includeLyrics (default true) | {ok,count,results} with up to maxSongs song records in relevance order; one Song scraped event per song; no start fee |
Not-found, empty and failed requests are free. Each request has a 60-second deadline and a 512 KiB response cap, and one server works on at most six requests at once. Requests go through the same US residential proxy as normal runs. Nothing is cached. Errors use { "ok": false, "error": { "code": "...", "message": "...", "retryable": false } }: 400 INVALID_SONG, INVALID_QUERY, INVALID_LIMIT or INVALID_INPUT; 402 spending limit; 404 SONG_NOT_FOUND, NO_RESULTS or unknown route; 405 wrong method; 413 RESPONSE_TOO_LARGE; 502 Genius or charging failure; 503 server busy or stopping; 504 timeout. Retry only when retryable is true. A successful answer can carry warning: { code: "CHARGE_INCOMPLETE" } when only part of its charge went through; you are charged only for what went through. The Server tab shows the full OpenAPI description.