{"uid":"cap_TyepCRWJCG6PnrlbrdPtG","slug":"spotify-data-api-via-jojapi-subscription-96227b90","name":"Spotify Data API via JoJAPI (Subscription)","description":"Spotify Data API for Millions of songs & podcasts, artists, albums, playlists and more.","url":"https://spotify.jojapi.net/_jojapi/agent/subscribe/cryf3z6lc6m3o6y1jjxhnkna1izjedek48p7zhp99bmz4960n882gkd083m9o0x2","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"replace":{"type":"string","description":"Optional: ref of one of your own subscriptions on this API to cancel when the new one starts"}}},"responseSchema":{"type":"object","required":["status","api_key","subscription"],"properties":{"auth":{"type":"object","properties":{"header":{"type":"string"},"alternatives":{"type":"array","items":{"type":"string"}}}},"status":{"enum":["success"],"type":"string"},"account":{"type":"object","properties":{"nick":{"type":"string"},"balance_usd":{"type":"number"}}},"api_key":{"type":"string","description":"The new API key, bound to this subscription. Send it as the X-JoJAPI-Key header (or Authorization: Bearer)."},"payment":{"type":"object","properties":{"rail":{"type":"string"},"method":{"type":"string"},"reference":{"type":"string","description":"On-chain transaction hash or rail reference"},"amount_usd":{"type":"number"}}},"existing":{"type":"array","items":{"type":"object"},"description":"Other subscriptions of this account on the same API"},"key_hint":{"type":"string","description":"Last characters of the key, for lists"},"subscription":{"type":"object","properties":{"ref":{"type":"string","description":"Subscription reference (use it in /keys/rotate)"},"plan":{"type":"object"},"status":{"type":"string"},"renewal":{"type":"string","description":"prepaid: no automatic charge, a 402 renewal offer comes when the period ends"},"period_end":{"type":"string","format":"date-time"},"period_start":{"type":"string","format":"date-time"}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"30","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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":"$30/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"30","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"30","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x5EdWR9mFXIyfT1tyrWuB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"30","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Subscribes to the Spotify Data API on JoJAPI, returning an API key granting access to Spotify catalog data including songs, podcasts, artists, albums, and playlists.","exampleAgentPrompt":"I need programmatic access to Spotify's music catalog — can you subscribe me to the Spotify Data API on JoJAPI so I get an API key I can use to search songs, artists, albums, and playlists?","exampleUseCases":[{"title":"Music catalog search integration","prompt":"I'm building a music discovery tool and need access to Spotify's full catalog via API — can you subscribe to the Spotify Data API on JoJAPI and give me the API key so I can start querying songs, albums, and artists?"},{"title":"Podcast metadata retrieval pipeline","prompt":"I need to pull podcast metadata — episode titles, descriptions, and show info — from Spotify for my content aggregator. Can you get me subscribed to the Spotify Data API via JoJAPI and return the key?"},{"title":"Replace expiring Spotify API subscription","prompt":"My current Spotify API subscription on JoJAPI is about to expire — can you subscribe to a new one and cancel the old one at the same time? The reference for my existing subscription is sub_abc123."}],"resultDescription":"Returns a new API key (sent as X-JoJAPI-Key or Authorization: Bearer header) tied to the subscription, along with subscription metadata (ref, plan, status, period start/end, renewal type), payment confirmation (rail, method, on-chain hash, amount in USD), account info (nickname, balance), and a list of any other existing subscriptions on the same API.","failureModes":["Insufficient USDC balance to cover $30 subscription fee — payment fails","Invalid or expired 'replace' subscription reference — replacement cannot be processed","Network or gateway timeout from JoJAPI intermediary","API key generation failure on JoJAPI side","Duplicate subscription conflict if no replace ref provided but one already exists"],"whenToPreferThis":"Use this endpoint when you need programmatic, ongoing access to Spotify catalog data (songs, artists, albums, playlists, podcasts) and require a stable API key. Prefer this over direct Spotify OAuth flows when operating in an agent or automated context where x402 crypto payment rails are available and per-period prepaid access is acceptable. Choose the 'replace' option to seamlessly rotate subscriptions without downtime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:31:18.960Z","isFirstParty":false}