Discover/Rate Your Music API
live

Rate Your Music APIrateyourmusic.com

Access RYM album ratings, artist discographies, genre hierarchies, and music charts via 7 structured endpoints. No account required.

This API takes change requests — .
Endpoint health
verified 22h ago
get_charts
get_release_details
get_artist_details
get_genres
get_genre_details
7/7 passing latest checkself-healing
Endpoints
7
Updated
23d ago

What is the Rate Your Music API?

The Rate Your Music API exposes 7 endpoints covering album details, artist discographies, genre hierarchies, charts, and search across the RYM catalog. get_release_details returns a full tracklist with durations, primary and secondary genre classifications, descriptors, average rating, and rating count for any release. get_charts delivers paginated chart entries filterable by media type, chart type, and year range, making it straightforward to pull ranked lists of albums or tracks across any time period.

This call costs3 credits / call— charged only on success
Try it
Page number for pagination (1-indexed).
Year or year range (e.g. 2024, 2020-2024, all-time).
Type of chart.
Type of media.
api.parse.bot/scraper/4543201b-0c81-4415-b1a4-83478db54412/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/4543201b-0c81-4415-b1a4-83478db54412/get_charts?page=1&year=all-time&chart_type=top&media_type=album' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace rateyourmusic-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Rate Your Music SDK — bounded, re-runnable; every call capped."""
from parse_apis.Rate_Your_Music_API import RateYourMusic, SearchType, ChartType, MediaType, ParseError

client = RateYourMusic()

# Search for an artist
for result in client.search_results.search(query="Radiohead", search_type=SearchType.A, limit=3):
    print(result.name, result.url, result.type)

# Get top chart entries
for entry in client.chart_entries.list(chart_type=ChartType.TOP, media_type=MediaType.ALBUM, year="all-time", limit=3):
    print(entry.rank, entry.release_name, entry.artist, entry.rating)

# Fetch a release detail
release = client.releases.get(url="/release/album/kendrick-lamar/to-pimp-a-butterfly/")
print(release.title, release.artist, release.average_rating)
for track in release.tracklist[:3]:
    print(track.num, track.name, track.duration)
print("Movements:", release.movements)

# Fetch a song's genre classification
song = client.songs.get(url="/song/john-mayer/in-your-atmosphere/")
print(song.title, song.artist, song.genres)

# Explore genres and get details on one
genre = client.genres.list(limit=1).first()
try:
    detail = genre.details()
    print(detail.name, detail.parents)
except ParseError as e:
    print("error:", e.code)

print("exercised: search_results.search, chart_entries.list, releases.get, songs.get, genres.list, genre.details")
All endpoints · 7 totalmissing one? ·

Extract charts data for albums or tracks. Returns paginated results with 40 items per page. Supports filtering by media type, chart type, and year.

Input
ParamTypeDescription
pageintegerPage number for pagination (1-indexed).
yearstringYear or year range (e.g. 2024, 2020-2024, all-time).
chart_typestringType of chart.
media_typestringType of media.
Response
{
  "type": "object",
  "fields": {
    "items": "array of chart entries with rank, release_name, artist, date, release_type, genres, rating info",
    "total": "integer count of items returned on this page"
  }
}

About the Rate Your Music API

Release and Artist Data

get_release_details accepts a release URL path and returns structured metadata: title, artist, average_rating, rating_count, primary_genres, secondary_genres, descriptors, and a tracklist array where each track carries num, name, duration, and has_lyrics. get_artist_details takes an artist URL and returns the artist's associated genre tags alongside a discography array that includes each release's title, url, year, rating, and ratings_count. For song-level data, get_song_details provides its own independent primary_genres and secondary_genres classification separate from the album it appears on.

Charts and Genre Taxonomy

get_charts returns 40 items per page and supports filtering via media_type, chart_type, and year (point-in-time years like 2024, ranges like 2020-2024, or all-time). Each chart entry includes rank, release_name, artist, date, release_type, genres, and rating information. get_genres lists the full genre catalog as name/URL pairs, and get_genre_details returns a genre's name, description, and parents array, letting you traverse the genre hierarchy upward from any node.

Search

The search endpoint accepts a query string and an optional search_type filter to scope results to artists, releases, or genres. Each result object returns a name, url, and type field. URLs returned by search can be passed directly into get_release_details, get_artist_details, or get_genre_details to fetch full records.

Reliability & maintenanceVerified

The Rate Your Music API is a managed, monitored endpoint for rateyourmusic.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when rateyourmusic.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official rateyourmusic.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
22h ago
Latest check
7/7 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a music discovery tool that surfaces top-rated albums by genre using get_charts filtered by chart_type and year.
  • Populate a music database with tracklists, descriptors, and genre tags by calling get_release_details for each release URL.
  • Map the RYM genre hierarchy by traversing get_genres and resolving parent relationships via get_genre_details.
  • Aggregate an artist's full discography with ratings and years using get_artist_details.
  • Compare decade-by-decade chart rankings by querying get_charts with year ranges like 2000-2009 and 2010-2019.
  • Identify genre drift on a song versus its parent album by comparing primary_genres from get_song_details against get_release_details.
  • Build an autocomplete search backed by the search endpoint scoped to releases or artists via search_type.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Rate Your Music have an official developer API?+
No. Rate Your Music does not publish an official developer API or documented public endpoints. This Parse API provides structured access to the data available on rateyourmusic.com.
What does `get_charts` return, and how granular is the filtering?+
get_charts returns paginated arrays of 40 chart entries per page. Each entry includes rank, release_name, artist, date, release_type, genres, and rating fields. You can filter by media_type (e.g. album vs. track), chart_type, and year — which accepts a single year like 2024, a range like 2010-2019, or the string all-time. Filters can be combined.
Does the API expose user reviews or lists beyond aggregate ratings?+
Not currently. The API returns aggregate data: average_rating, rating_count, descriptors, and genre tags. Individual user reviews, user-created lists, and personal shelving data are not covered. You can fork this API on Parse and revise it to add endpoints targeting those page sections.
What is the difference between `primary_genres` and `secondary_genres` on a release?+
get_release_details returns both arrays separately, reflecting RYM's own distinction between a release's main genre classification and its supplementary genre tags. The combined genres field merges both arrays into a flat list if you don't need the distinction. get_song_details applies the same split independently at the song level.
Does the API cover release metadata like record labels, country of origin, or catalog numbers?+
Not currently. get_release_details covers title, artist, genres, tracklist, descriptors, and rating data. Fields like record label, country, catalog number, and release format details are not returned. You can fork this API on Parse and revise it to add those fields.
Page content last updated . Spec covers 7 endpoints from rateyourmusic.com.
Related APIs in MusicSee all →
allmusic.com API
Search for music, browse artist biographies and discographies, and retrieve detailed album and song information all in one place. Discover new releases and access comprehensive metadata about artists and tracks.
albumoftheyear.org API
Search for music albums and discover their release dates, genres, and record labels, while browsing the best-rated and newest releases from across the music industry. Find detailed information about any album to stay updated on new music and make informed decisions about what to listen to next.
metal-archives.com API
Search and explore music data including bands, albums, songs, and lyrics, with the ability to discover artist recommendations, view band members and discographies, and look up record label information. Get detailed information about musicians, their releases, and recommendations based on your musical interests.
musicbrainz.org API
Search MusicBrainz for artists and recordings, then fetch detailed metadata for artists, recordings, releases, and release groups, including credits, tags/genres, and track listings.
spotify.com API
Search millions of songs and artists in Spotify's catalog, then dive deep into any artist's complete discography, top tracks, fan statistics, and similar artists they're connected to. Perfect for discovering new music, researching artist backgrounds, or building personalized music recommendations.
lyrics.com API
Search and retrieve song lyrics, artist biographies, and album information across multiple genres and artists. Browse music content by artist, letter, or genre, and discover new or random songs to explore.
qobuz.com API
Search and browse millions of songs, albums, and artists on Qobuz to discover new music, explore charts, and access detailed information about tracks and performers. Explore curated new releases and trending charts to stay updated with the latest music across all genres.
api.discogs.com API
Search and browse millions of music releases, artists, and labels to discover tracklists, formats, ratings, and complete discography information. Instantly access detailed release data including community feedback to build your music knowledge and collections.