{"uid":"cap_oEJPxemrjKl3WB7gx4mO3","slug":"stablemusic-artist-top-tags-3b642ded","name":"StableMusic Artist Top Tags","description":"Pay-per-request Last.fm music discovery for tags, tracks, artists, albums, charts, and country charts.","url":"https://stablemusic.dev/api/artists/top-tags","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artist":{"type":"string","minLength":1,"description":"Artist name."},"autocorrect":{"type":"boolean","default":true,"description":"Ask Last.fm to correct misspelled artist names."},"include_raw":{"type":"boolean","default":false,"description":"Include the upstream Last.fm response payload."}}},"responseSchema":null,"example":{"request":{"page":1,"limit":10,"artist":"The Beatles","autocorrect":true,"include_raw":false},"response":{"count":10,"results":[{"url":"https://www.last.fm/tag/classic+rock","name":"classic rock","count":100},{"url":"https://www.last.fm/tag/rock","name":"rock","count":79},{"url":"https://www.last.fm/tag/british","name":"british","count":45},{"url":"https://www.last.fm/tag/60s","name":"60s","count":43},{"url":"https://www.last.fm/tag/pop","name":"pop","count":14},{"url":"https://www.last.fm/tag/Psychedelic+Rock","name":"Psychedelic Rock","count":4},{"url":"https://www.last.fm/tag/psychedelic","name":"psychedelic","count":3},{"url":"https://www.last.fm/tag/pop+rock","name":"pop rock","count":1},{"url":"https://www.last.fm/tag/The+Beatles","name":"The Beatles","count":1},{"url":"https://www.last.fm/tag/british+invasion","name":"british invasion","count":1}]}},"exampleRequest":{"page":1,"limit":10,"artist":"The Beatles","autocorrect":true,"include_raw":false},"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_-xv5_yRr5wCdT66rw5vno","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":"Retrieves the top tags applied to a specific artist on Last.fm, with optional pagination and autocorrect.","exampleAgentPrompt":"What are the top Last.fm tags for Radiohead? Give me the top 20 tags and correct any spelling mistakes automatically.","exampleUseCases":[{"title":"Build playlist recommendations by artist vibe","prompt":"I'm creating a playlist and want songs similar to Björk. Can you pull up the top Last.fm tags for her so I know what mood and genre to match?"},{"title":"Discover emerging artist comparisons","prompt":"My listeners love Tame Impala. What tags does Last.fm use to describe them? I want to find artists with overlapping styles."},{"title":"Enrich music metadata for recommendations","prompt":"We're building artist profiles for our app. Fetch the top 15 Last.fm tags for The Weeknd and make sure you autocorrect any typos so our database stays clean."}],"resultDescription":"A ranked list of tags (e.g. genre labels, mood descriptors, era tags) that Last.fm users have applied to the specified artist, including tag names and counts, optionally with the raw Last.fm API response payload.","failureModes":["Unknown or misspelled artist name returns empty results or error (autocorrect can mitigate misspellings)","Limit out of range (1-100) returns validation error","Page number exceeding available results returns empty list","Last.fm upstream API unavailable causes request failure","Missing required 'artist' field returns 400-level error"],"whenToPreferThis":"Use this endpoint when you need to understand how an artist is categorized or described by Last.fm's user community via folksonomy tags, useful for genre discovery, music recommendation context, or enriching artist metadata. Prefer this over a general music search when you specifically need tag/genre classification for a known artist.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:36:27.682Z","isFirstParty":false}