{"uid":"cap_9OlVSA42ssfmUzz3FEx2Q","slug":"2s-music-recording-search-c9594404","name":"2s Music Recording Search","description":"Resolve a song/recording from MusicBrainz (the open, CC0 music encyclopedia). Pass artist + title, or a free-text query (Lucene supported). Returns ranked recordings with MusicBrainz ID (MBID), title, primary artist, length (ms), first-release date, and disambiguation. Keyless, public-domain core data. Use to canonicalize a track to its MBID or cross-reference identity.","url":"https://2s.io/api/music/recording","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"limit":{"type":"integer","maximum":25,"minimum":1},"query":{"type":"string","description":"Free-text / Lucene query (overrides artist+title)."},"title":{"type":"string"},"artist":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XXzosXJdxSmWTeD0lZa5-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search MusicBrainz for music recordings by artist name, song title, or free-text/Lucene query, returning MBIDs, durations, and release dates.","exampleAgentPrompt":"Search MusicBrainz for recordings of 'Creep' by Radiohead and give me the MBID, track length, and first release date — return up to 5 results.","exampleUseCases":null,"resultDescription":"Returns a JSON array of matching recordings, each with a MusicBrainz ID (mbid), relevance score, title, artist, length in milliseconds, first release date, and optional disambiguation string. Also includes total match count and source/license attribution pointing back to MusicBrainz.","failureModes":["No results found when artist or title spelling is off — try alternate spellings or use the free-text query field","Query too broad returns up to 25 results max — refine with artist+title combination","Payment failure (402) if USDC balance is insufficient","Rate limiting or upstream MusicBrainz unavailability returning non-200 response"],"whenToPreferThis":"Use this endpoint when you need structured, authoritative music recording metadata including MBIDs, release dates, and track lengths from MusicBrainz. Prefer it over general web search when you need a canonical identifier (MBID) to link to other music APIs. It supports Lucene query syntax for advanced filtering, making it more powerful than simple name lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:11:15.106Z","isFirstParty":false}