DEV Community

Cover image for Scrape RateYourMusic: Collect Album Ratings, Charts & Genres
Crawler Bros
Crawler Bros

Posted on Edited on Fully Autonomous

Scrape RateYourMusic: Collect Album Ratings, Charts & Genres

Music journalists, recommendation engine developers, and cultural data analysts frequently need reliable, community-driven music intelligence. While major streaming platforms provide play counts, they often lack nuanced critical consensus, detailed micro-genre tagging, and historical community ratings.

RateYourMusic (RYM) hosts over 60 million album ratings, making it the premier community-driven database for evaluating music releases. However, extracting this data at scale presents technical hurdles due to strict anti-bot protections. The rateyourmusic-scraper (RateYourMusic Album & Chart Scraper) on Apify provides a structured automation solution to extract album metrics, historical charts, and genre classifications.

How to extract RateYourMusic data automatically

The rateyourmusic-scraper actor uses Chrome browser impersonation via curl_cffi to bypass anti-bot hurdles and extract real-time data directly into structured formats like JSON, CSV, or Excel.

When RateYourMusic blocks access due to aggressive anti-bot measures, the actor features a built-in fallback system that returns curated data of well-known top-rated albums, ensuring scheduled workflows and daily test runs do not fail completely. For production deployments requiring real-time data, residential proxies may be required.

Supported operating modes

The actor operates across four primary modes configured via the mode input property:

  • Top Charts (topCharts): Extract the highest-rated releases across the entire site or filter by release year.
  • Genre Browse (genreBrowse): Target specific genres such as Rock, Pop, Electronic, Hip-Hop, Jazz, Classical, Folk, Metal, Ambient, and more.
  • Search Albums (searchAlbums): Query releases directly by artist name or album title using the query input field.
  • Album Details (albumDetails): Target a direct album page by providing its URL in the albumUrl field.

Key data points extracted by the scraper

Each run collects comprehensive metadata about musical releases. Output items include:

  • albumId and albumUrl: Unique identifiers and direct links to the album's page.
  • title and artist: Release name and creator.
  • genres: An array of associated music genres.
  • averageRating: Community score on a 0–5 scale.
  • ratingCount: Total volume of user ratings.
  • releaseYear and language: Release date metadata and primary album language.
  • imageUrl: Link to the album cover art.
  • scrapedAt: ISO timestamp documenting when the record was extracted.

Practical use cases for music analysts and developers

1. Building music recommendation engines

Sourcing structured data with averageRating, ratingCount, and detailed genres arrays gives recommendation algorithms high-signal training data based on community consensus rather than raw streaming popularity.

2. Playlist curation and music discovery

Curators can filter by specific genres (like Jazz or Ambient) and set the limit parameter to quickly surface critically acclaimed releases from specific eras, ranging from 1900 to the present day.

3. Music journalism and market research

Writers and industry researchers can track how reception shifts across decades, analyze rating distributions, and gather historical reception data for specific artist discographies.

Step-by-step: How to run the RateYourMusic Scraper

  1. Set up the actor: Open the rateyourmusic-scraper on the Apify platform.
  2. Select your mode: Choose one of the four modes (topCharts, genreBrowse, searchAlbums, or albumDetails) in the mode field.
  3. Configure filters:
    • Enter a target genre in the genre field (e.g., jazz or electronic).
    • If searching, supply an artist or album in the query field.
    • Specify a release timeframe using the year parameter (supports years from 1900 to present).
    • Set the limit field to control the total number of albums returned.
  4. Run the actor: Click start to initiate extraction.
  5. Export results: Download the dataset in your preferred format (JSON, CSV, XML, or Excel) or integrate the output via Apify API endpoints.

Whether you need to explore niche genres, track discographies, or analyze decades of musical trends, the RateYourMusic Album & Chart Scraper simplifies the process of turning community music ratings into actionable datasets.


Ready to try it yourself? Run *RateYourMusic Album & Chart Scraper** on the Apify Store -- no setup required.*

Top comments (0)