{"uid":"cap_p8BozKxesqqDYTm7EC8g6","slug":"stablemusic-get-artist-top-tracks-5ae3ab88","name":"StableMusic – Get Artist Top Tracks","description":"Pay-per-request Last.fm music discovery for tags, tracks, artists, albums, charts, and country charts.","url":"https://stablemusic.dev/api/geo/top-tracks","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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."},"country":{"type":"string","minLength":1,"description":"Country name accepted by Last.fm, e.g. \"United States\"."},"location":{"type":"string","minLength":1,"description":"Optional metro/location supported by Last.fm."},"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_a2hqxreqTo0Si20q3xjih","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 most popular tracks for a given artist via Last.fm, with pagination and autocorrect support.","exampleAgentPrompt":"What are the top 10 most popular tracks by Radiohead according to Last.fm? Use autocorrect in case I spelled it wrong.","exampleUseCases":[{"title":"Build a greatest hits playlist","prompt":"I'm making a playlist of The Beatles' most popular songs. Can you find their top tracks on Last.fm and sort them by play count? I want to understand which songs are actually their biggest hits."},{"title":"Discover an artist's signature sound","prompt":"I just heard one song by Arctic Monkeys and loved it. What are their most-played tracks? I want to listen to the ones that really resonated with people to get a feel for their signature style."},{"title":"Music trivia for a DJ set","prompt":"I'm planning a 90s electronic music night and want to feature Daft Punk. Show me their most recognizable tracks according to Last.fm—the ones with the highest play counts that people will actually know."}],"resultDescription":"A ranked list of the artist's most popular tracks as measured by Last.fm play counts, including track names, play counts, and associated artist metadata. Optional raw Last.fm response payload if include_raw is set to true.","failureModes":["Artist not found on Last.fm — returns empty or error response","Misspelled artist name with autocorrect disabled — no results returned","Page number exceeds available pages — returns empty results","Last.fm upstream API unavailable — service returns error","Limit out of range (less than 1 or greater than 100) — validation error"],"whenToPreferThis":"Use this endpoint when you need ranked popularity data for a specific artist's tracks sourced from Last.fm's play-count data. Prefer this over genre or tag-based track discovery when the user already knows which artist they want. Useful for building playlists, music trivia, or understanding an artist's most recognizable catalog.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:14.752Z","isFirstParty":false}