{"uid":"cap_eorOpeJa4eeYA0JwV_8Ty","slug":"spotify-data-api-via-jojapi-b3d2e273","name":"Spotify Data API via JoJAPI","description":"Spotify Data API for Millions of songs & podcasts, artists, albums, playlists and more.","url":"https://spotify.jojapi.net/_jojapi/agent/subscribe/pqqj6vqmq14yklm795ptw4tl99le1k3shce76h1zt4kmdmcl0lao21isozk0gf2y","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":"10","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":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_V7-FQaat-aWD0ztlA-fC-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Subscribe to access Spotify's catalog data — songs, podcasts, artists, albums, and playlists — returning an API key for subsequent data queries.","exampleAgentPrompt":"Subscribe me to the Spotify Data API through JoJAPI so I can start querying track, artist, album, and playlist metadata — I want a fresh API key and don't need to replace any existing subscription.","exampleUseCases":[{"title":"Music metadata lookup for playlist builder","prompt":"I'm building a playlist generator and need access to Spotify's catalog — subscribe me to the Spotify Data API so I get an API key I can use to search tracks and artists."},{"title":"Podcast discovery app integration","prompt":"I want to power my podcast discovery app with real Spotify data — get me a JoJAPI Spotify subscription and API key so I can query podcast episodes and show metadata."},{"title":"Replace expiring Spotify API subscription","prompt":"My current Spotify JoJAPI subscription is about to end — can you renew it and cancel the old one at the same time? Use ref 'sub_abc123' as the one to replace."}],"resultDescription":"Returns a new API key bound to the paid subscription, along with subscription metadata (period start/end, plan, status, renewal type), payment confirmation (on-chain transaction hash, amount in USD), account info (nickname, balance), and any other existing subscriptions on the same account.","failureModes":["Payment failure — insufficient USDC balance or x402 payment not accepted","Invalid 'replace' subscription reference — unknown or already cancelled subscription ref","Duplicate active subscription conflict — account already has a conflicting active plan","Network or gateway timeout from JoJAPI proxy","Spotify upstream API unavailability causing downstream key activation failure"],"whenToPreferThis":"Choose this endpoint when you need programmatic access to Spotify's music and podcast catalog data (tracks, artists, albums, playlists) via a pay-per-period API key model using x402/USDC on-chain payments. Prefer this over direct Spotify API registration when you need crypto-native, agent-friendly payment flows without OAuth app setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:04.419Z","isFirstParty":false}