{"uid":"cap_W3fLEGq9gmOs8n9DhUIq0","slug":"stablemusic-get-top-tags-for-artist-9348ce46","name":"StableMusic - Get Top Tags for Artist","description":"Pay-per-request Last.fm music discovery for tags, tracks, artists, albums, charts, and country charts.","url":"https://stablemusic.dev/api/tracks/top-tags","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"track":{"type":"string","minLength":1,"description":"Track name."},"artist":{"type":"string","minLength":1,"description":"Artist name."},"autocorrect":{"type":"boolean","default":true,"description":"Ask Last.fm to correct misspelled artist/track names."},"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_wmiwEOpaTgA1dHHcNFSNU","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 tags (genres, moods, descriptors) most associated with a given artist, sourced from Last.fm.","exampleAgentPrompt":"What are the top Last.fm tags for Radiohead — show me up to 20 of them and autocorrect the name if needed.","exampleUseCases":[{"title":"Build personalized playlists by artist mood","prompt":"Pull the top mood and atmosphere tags for Bon Iver from Last.fm, then use those to suggest 5 similar artists my listener might enjoy."},{"title":"Categorize music library by crowd consensus","prompt":"Get the Last.fm tags for The Beatles, Fleetwood Mac, and Nirvana so I can automatically label these artists by their most common listener-applied genres."},{"title":"Enrich recommendation engine with community data","prompt":"Look up what the Last.fm community says about Daft Punk—grab their top 15 tags—and use that to understand their vibe better before recommending them to electronic music fans."}],"resultDescription":"A list of top listener-applied tags for the specified artist from Last.fm, including tag names, tag counts/weights, and tag URLs. May optionally include the raw Last.fm API response payload.","failureModes":["Artist not found on Last.fm returns empty or error response","Misspelled artist name without autocorrect enabled returns no results","artist field missing causes 400 validation error","limit out of range (>100 or <1) causes validation error","page number out of valid range causes validation error","Last.fm upstream unavailability causes 502 or timeout"],"whenToPreferThis":"Use this endpoint when you need to discover how the Last.fm community categorizes or describes a specific artist via tags — useful for genre detection, mood labeling, recommendation enrichment, or music metadata pipelines. Prefer this over general music search endpoints when you specifically want crowd-sourced descriptive tags for a known artist.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:55:38.493Z","isFirstParty":false}