{"uid":"cap_AqvkaKs7qPQMMjCp_BQuz","slug":"stablemusic-top-albums-by-artist-05ecb00a","name":"StableMusic – Top Albums by Artist","description":"Pay-per-request Last.fm music discovery for tags, tracks, artists, albums, charts, and country charts.","url":"https://stablemusic.dev/api/tags/top-albums","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tag":{"type":"string","minLength":1,"description":"Last.fm tag, genre, or category."},"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1,"description":"Last.fm page number. Defaults to 1."},"limit":{"type":"integer","default":10,"maximum":100,"minimum":1,"description":"Number of results to return. Defaults to 10, max 100."},"include_raw":{"type":"boolean","default":false,"description":"Include the upstream Last.fm response payload."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UyAJgFG8XSiXGEkB5g6Zg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the top albums for a given artist using Last.fm data, with pagination and autocorrect support.","exampleAgentPrompt":"What are the top 20 most popular albums by Radiohead according to Last.fm? Use autocorrect in case I spelled the name wrong.","exampleUseCases":[{"title":"Build a fan discovery playlist","prompt":"I want to create a playlist of my favorite artist's biggest hits. Can you look up the top albums by Beyoncé on Last.fm and pull the most-played tracks from those records?"},{"title":"Compare discography popularity across eras","prompt":"Show me the top albums from The Rolling Stones using Last.fm data, with play counts so I can see which era of their music is most popular with listeners."},{"title":"Research emerging artist catalog depth","prompt":"I discovered this new indie artist and want to dive deep into their work. Pull up their complete album discography ranked by popularity on Last.fm—and if you're not sure about the artist name, go ahead and autocorrect it for me."}],"resultDescription":"A paginated list of top albums for the specified artist, including album names, play counts, and Last.fm URLs. Optionally includes the raw upstream Last.fm response payload.","failureModes":["Artist not found on Last.fm — returns empty results or error","Misspelled artist name with autocorrect disabled — no match found","Page number out of range — empty results returned","Rate limit or upstream Last.fm API failure — service error response","Invalid limit value (below 1 or above 100) — validation error"],"whenToPreferThis":"Use this endpoint when you need to retrieve a ranked list of top albums for a specific artist from Last.fm. Prefer this over general music search endpoints when you know the artist name and want discography popularity data specifically. Ideal for music recommendation agents, playlist builders, or research tools needing per-artist album charts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:42.515Z","isFirstParty":false}