Genius Search & Lyrics Scraper
Pricing
from $2.90 / 1,000 results
Genius Search & Lyrics Scraper
Search Genius for songs and extract full lyrics. Provide search queries or song IDs to get structured JSON with song details, artist info, media links, stats, and clean plain-text lyrics. Apify proxy support included.
Pricing
from $2.90 / 1,000 results
Rating
0.0
(0)
Developer
Headless Agent
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
Search Genius for songs and scrape lyrics. Get structured JSON with song details, artist info, and full lyrics text.
๐ค What can Genius Search & Lyrics Scraper do?
This Actor lets you search Genius for songs and extract lyrics data. Just provide search queries or song IDs and get structured results:
๐ Search Genius by song title or artist name and get back detailed song data
๐ค Fetch full lyrics by song ID โ extracted as clean plain text
๐ Get song metadata: title, release date, recording location, description
๐ค Collect artist info โ primary, featured, producer, and writer artists
๐ Get song stats: pageviews, annotation count, pyongs count
๐ต Fetch media links (YouTube, Spotify, SoundCloud)
๐ Use Apify proxy to rotate IPs and avoid rate limiting (optional)
๐ฆ Download results in JSON, CSV, XML, or Excel from the Apify Dataset
๐ฆพ Integrate via API, webhooks, SDKs (Python & Node.js), or connect with tools like Zapier, n8n, Make, and more
โ What data can I scrape from Genius?
From each search result:
- ๐ Song ID and Genius URL
- ๐ Title and full title
- ๐ผ๏ธ Header image and song art image URLs
- ๐ค Primary artist names and artist details
- ๐ Lyrics state (complete, incomplete, etc.)
- ๐ฌ Annotation count and pyongs count
- ๐ Song stats (hot, pageviews)
From each song detail (lyrics fetch):
- All search result fields above
- ๐ค Full lyrics as plain text
- ๐ Release date
- ๐ Recording location
- ๐ Song description
- ๐ฌ Comment count
- ๐ Lyrics updated timestamp
- ๐ฅ Featured, producer, and writer artists
- ๐ต Media links (YouTube, Spotify, SoundCloud)
๐ง How to scrape lyrics from Genius
- Create a free Apify account.
- Open Genius Search & Lyrics Scraper.
- Add search queries (one or more) to search for songs, or provide song IDs to fetch lyrics directly.
- Optionally set max results per query and configure proxy.
- Click Save & Start and wait for the data to be extracted.
- Download your data in JSON, CSV, XML, Excel, or access it via API.
โฌ๏ธ Input
| Field | Type | Description |
|---|---|---|
queries | string[] | List of search queries to search on Genius. |
songIds | number[] | List of Genius song IDs to fetch lyrics for (e.g. from search results). |
maxResults | integer | Maximum number of results per search query. |
proxy | object | Optional. Apify proxy configuration with useApifyProxy, apifyProxyGroups, apifyProxyCountry. |
Example input โ Search
{"queries": ["Bohemian Rhapsody", "Shape of You"],"maxResults": 5}
Example input โ Fetch lyrics by ID
{"songIds": [1063, 2554116]}
Example input โ Both
{"queries": ["Bohemian Rhapsody"],"maxResults": 3,"songIds": [1063],"proxy": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"],"apifyProxyCountry": "US"}}
โฌ๏ธ Output
Results are pushed to the Apify Dataset. Search results include the search_query field so you know which query produced each result.
๐ Search result sample
{"search_query": "Bohemian Rhapsody","id": 1063,"title": "Bohemian Rhapsody","full_title": "Bohemian Rhapsody by Queen","url": "https://genius.com/Queen-bohemian-rhapsody-lyrics","header_image_url": "https://images.genius.com/xxx.jpg","song_art_image_url": "https://images.genius.com/xxx.jpg","primary_artist_names": "Queen","primary_artists": [{"id": 563,"name": "Queen","url": "https://genius.com/artists/Queen","image_url": "https://images.genius.com/xxx.jpg","is_verified": false}],"lyrics_state": "complete","annotation_count": 33,"pyongs_count": 701,"stats": {"status": "","hot": false,"pageviews": 11195763,"concurrency": 0,"contributors": 0}}
๐ค Lyrics detail sample
{"id": 1063,"title": "Bohemian Rhapsody","full_title": "Bohemian Rhapsody by Queen","url": "https://genius.com/Queen-bohemian-rhapsody-lyrics","release_date": "1975-10-31","release_date_for_display": "October 31, 1975","recording_location": "Rockfield Studios, Wales","lyrics": "[Intro]\n\nIs this the real life? Is this just fantasy?\n...\n\n[Verse 1]\n\nMama, just killed a man\n...","primary_artists": [...],"featured_artists": [],"producer_artists": [...],"writer_artists": [...],"media": [{ "provider": "youtube", "type": "video", "url": "https://www.youtube.com/watch?v=fJ9rUzIMcZQ" },{ "provider": "spotify", "type": "audio", "url": "https://open.spotify.com/track/..." }],"stats": { "pageviews": 11195764, "contributors": 521 }}
๐ Integrations
You can connect Genius Search & Lyrics Scraper with almost any cloud service or web app through Apify integrations. Connect with Zapier, n8n, Make, Slack, Google Sheets, Google Drive, Airbyte, GitHub, and many more.
You can also use webhooks to trigger actions whenever a run finishes โ for example, getting a notification or automatically processing the scraped data.
๐ฆพ Using the Apify API
The Apify API gives you programmatic access to Genius Search & Lyrics Scraper. You can start runs, fetch datasets, monitor execution, and integrate the scraper into your own workflows.
- Python: Use the
apify-clientPyPI package - Node.js: Use the
apify-clientNPM package
โ FAQ
Can I search multiple queries in one run?
Yes. The queries field accepts an array. Each query is processed sequentially and search results are tagged with the search_query field.
Can I fetch lyrics directly by song ID?
Yes. Use the songIds field to pass Genius song IDs. You can get song IDs from search results or from Genius song URLs (e.g. https://genius.com/Queen-bohemian-rhapsody-lyrics โ the ID is 1063).
How many results can I get per query?
There is no hard limit, but you can control it with the maxResults field. If not set, all search results are returned.
Can I use Apify proxy?
Yes. The proxy field uses the standard Apify proxy configuration. You can enable useApifyProxy, select proxy groups with apifyProxyGroups, or set a country with apifyProxyCountry. IPs are rotated automatically.
Does this require a Genius API key?
No. The access token is built into the scraper.
Is it legal to scrape Genius?
This scraper only extracts publicly available data from Genius. However, ensure you comply with Genius's Terms of Service and applicable regulations. See also Apify's blog post on the legality of web scraping.