allmusic.com APIallmusic.com ↗
Access AllMusic data via API: search artists, albums, and songs; get track listings, biographies, discographies, credits, and new releases in structured JSON.
curl -X GET 'https://api.parse.bot/scraper/d7a9ab92-2f81-4e05-9fcf-ab472eae476c/search_music?query=Radiohead&search_type=artists' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for artists, albums, songs, or other music items on AllMusic. Returns a single page of results matching the query. When search_type is specified, results are filtered to that category only.
| Param | Type | Description |
|---|---|---|
| queryrequired | string | Search query string |
| search_type | string | Type of search. Accepted values: all, artists, albums, songs. |
{
"type": "object",
"fields": {
"query": "string, the original search query",
"results": "array of search result objects, each containing title, url, type, and optionally artist, artist_url, year, genres"
},
"sample": {
"data": {
"query": "Radiohead",
"results": [
{
"url": "https://www.allmusic.com/artist/radiohead-mn0000326249",
"type": "artist",
"title": "Radiohead",
"artist": "Radiohead",
"genres": [
"Pop/Rock",
"Electronic"
],
"artist_url": "https://www.allmusic.com/artist/radiohead-mn0000326249"
},
{
"url": "https://www.allmusic.com/album/the-best-of-radiohead-mw0000786632",
"type": "album",
"year": "2008",
"title": "The Best of Radiohead",
"artist": "Radiohead",
"genres": [
"Pop/Rock"
],
"artist_url": "https://www.allmusic.com/artist/radiohead-mn0000326249"
}
]
},
"status": "success"
}
}About the allmusic.com API
The AllMusic API provides 5 endpoints for retrieving music metadata from AllMusic, covering artist biographies, album track listings with credits, song details, and curated new releases. The get_album_details endpoint returns up to a full track list with per-track duration and URL, editorial ratings on a 0–5 scale, genres, styles, and contributor credits. Discographies, composer attributions, and real-time new release listings are also accessible without any per-session setup.
Search and Discovery
The search_music endpoint accepts a query string and an optional search_type parameter (all, artists, albums, or songs) to filter results to a specific category. Each result object includes a title, url, type, and where applicable, artist, artist_url, year, and genres. When search_type is omitted, results may span multiple content types in a single response.
Album and Artist Detail
get_album_details takes an AllMusic album slug (e.g. the-best-of-radiohead-mw0000786632) and returns title, artist, release_date, duration, genres, styles, an allmusic_rating_score (0–5 or null if unrated), a full tracks array with per-track name, duration, and url, and a credits array listing each contributor's name, url, and role. get_artist_details similarly accepts an artist slug and returns biography, active_dates, genres, styles, and a discography array where each entry may include year, label, and rating.
Song Details and New Releases
get_song_details resolves a song slug to its title, artist, a composers array (each with name and url), and an appears_on array listing albums the track is credited on. get_new_releases requires no inputs and returns all currently featured releases on AllMusic's new releases page as a flat array, with each entry carrying title, url, and optionally artist, artist_url, and label. There is no pagination on this endpoint.
IDs and Slugs
All detail endpoints (get_album_details, get_artist_details, get_song_details) use AllMusic slugs as their primary identifier — the human-readable URL segment that includes both a name and an ID suffix (e.g. radiohead-mn0000326249). These slugs can be extracted from url fields returned by search_music or get_artist_details discography entries.
- Build a music library app that displays editorial ratings, genre tags, and full track listings from
get_album_details. - Populate artist profile pages with biography text, active date ranges, and discography lists via
get_artist_details. - Identify all albums a specific song appears on using the
appears_onfield fromget_song_details. - Track weekly featured new releases for a music news or recommendation feed using
get_new_releases. - Resolve composer credits for songs to support rights research or metadata enrichment workflows.
- Filter album searches by genre and style fields to build genre-specific browsing experiences.
- Cross-reference contributor credits from
get_album_detailsto map session musicians across multiple releases.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does AllMusic offer an official developer API?+
What does the `allmusic_rating_score` field represent, and is it always present?+
null for albums that have not received an editorial review, so callers should handle the null case explicitly.Does `get_new_releases` support pagination or date filtering?+
Are user reviews or community ratings available through this API?+
allmusic_rating_score but does not expose user-submitted ratings, review counts, or community mood/theme tags. You can fork this API on Parse and revise it to add an endpoint that retrieves user review data.