Genius Scraper
by epctex
Extract songs, lyrics, artist info, and comments from Genius.com. Perfect for building music datasets, lyric analysis, or research projects.
Opens on Apify.com
About Genius Scraper
Need to pull song lyrics or artist data from Genius.com for a project? I've been there. Manually copying that stuff is a nightmare, which is why I built this scraper. It's a straightforward actor that handles the heavy lifting, letting you programmatically extract exactly what you need. Point it at a song, album, or artist page, and it will grab the lyrics, metadata, and even the community comments. You can also use it to run searches on the platform or pull content based on specific tags, which is perfect for building music databases, sentiment analysis on lyrics, or tracking artist discographies. I use it to feed clean, structured data into my own analysis scripts without ever touching a browser. It saves hours of manual work and avoids those pesky rate limits by managing requests intelligently. If you're working with music data, this tool turns Genius.com from a website into a usable dataset.
What does this actor do?
Genius Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Genius Scraper
Overview
This actor scrapes songs and lyrics from Genius.com. It can extract data from song, album, and artist detail pages, tag pages, and search results. You can control the scope of the scrape and choose to include comments.
Key Features
- Song Detail: Extract lyrics and metadata from individual song pages.
- Album Detail: Scrape all songs and lyrics from an album's page.
- Artist Detail: Retrieve an artist's discography and corresponding lyrics.
- Tags: Fetch songs from tag pages (e.g., genres, themes).
- Search: Perform keyword searches on Genius.
- Comments: Optional inclusion of user comments with songs.
How to Use
Provide a JSON input configuration. The scraper can run from startUrls (direct links) or a search query. Proxy configuration is required; you can use your own proxies or Apify Proxy.
For paginated lists (search results, tag pages), use endPage to control depth. Set maxItems to limit the total number of scraped songs.
Performance: The actor is optimized for speed. Under normal conditions, it scrapes ~100 listings in 2 minutes, consuming approximately 0.02-0.04 compute units.
Input/Output
Input (JSON configuration)
{
"startUrls": ["https://genius.com/Artist-song-lyrics"],
"search": "(Optional) Search keyword",
"searchMode": "(Optional) Search type",
"includeComments": false,
"endPage": 1,
"maxItems": 100,
"proxy": {
"useApifyProxy": true
},
"extendOutputFunction": "(Optional) Custom JS function string",
"customMapFunction": "(Optional) Custom JS function string"
}
startUrls: Array of Genius URLs (song, album, artist, or tag pages).search&searchMode: Perform a keyword search instead of using startUrls.includeComments: Set totrueto scrape user comments.endPage: The final page number to scrape for paginated results. Default isInfinite.maxItems: Hard limit on total items scraped.proxy: Required. Proxy configuration object.extendOutputFunction&customMapFunction: Optional JavaScript functions (provided as strings) to extend or transform the scraped data.
Tip: To scrape a specific page range from a list, set a startUrl to the first desired page and endPage to the last. For example, a startUrl of page 5 with endPage: 6 will scrape only pages 5 and 6.
Output
The actor outputs a dataset of items, where each item typically represents a song and contains structured data like:
* Song title, URL, and lyrics.
* Artist and album information.
* Metadata from the source page.
* Comments (if includeComments was enabled).
Note: This scraper is under active development. For bug reports or feature requests, create an issue here.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Genius Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- epctex
- Pricing
- Paid
- Total Runs
- 57,314
- Active Users
- 239
Related Actors
🏯 Tweet Scraper V2 - X / Twitter Scraper
by apidojo
Instagram Scraper
by apify
TikTok Scraper
by clockworks
Instagram Profile Scraper
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support