{"uid":"cap_OdrAjijOJ9LT2KQjeEkvr","slug":"spotify-api-account-top-up-07ff22fb","name":"Spotify API Account Top-Up","description":"Spotify Data API for Millions of songs & podcasts, artists, albums, playlists and more.","url":"https://spotify.jojapi.net/_jojapi/agent/topup","method":"POST","headers":{},"bodySchema":{"type":"object","required":["amount_usd"],"properties":{"subscribe":{"type":"array","description":"Optional: pay-as-you-go subscriptions to open with this balance"},"amount_usd":{"type":"number","description":"Amount to credit, in USD"}}},"responseSchema":{"type":"object","required":["status","account","topup"],"properties":{"topup":{"type":"object","properties":{"method":{"type":"string"},"amount_usd":{"type":"number"}}},"status":{"enum":["success"],"type":"string"},"account":{"type":"object","properties":{"nick":{"type":"string"},"balance_usd":{"type":"number","description":"Account-wide balance after the top-up"}}},"payment":{"type":"object","properties":{"rail":{"type":"string"},"method":{"type":"string"},"reference":{"type":"string"},"amount_usd":{"type":"number"}}},"subscriptions":{"type":"array","items":{"type":"object","properties":{"api":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}}},"plan":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"}}},"status":{"type":"string","description":"success, or why the API could not be subscribed"},"api_key":{"type":["string","null"],"description":"The key of a subscription opened by this call; null when it already existed"},"key_hint":{"type":["string","null"]},"subscription":{"type":"object","properties":{"ref":{"type":"string"},"status":{"type":"string"},"created":{"type":"boolean"}}}}},"description":"One entry per API named in subscribe (or the host API)"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H2tHFetsCGQYvPCrVv356","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Credits a prepaid USD balance to a Spotify API (jojapi.net) account, optionally opening pay-as-you-go subscriptions in the same call.","exampleAgentPrompt":"Top up my Spotify API account on jojapi.net with $5 USD and open a pay-as-you-go subscription while you're at it.","exampleUseCases":[{"title":"Fund account for music data queries","prompt":"Add $10 to my jojapi Spotify API balance so I can start pulling song and playlist data right away."},{"title":"Subscribe and deposit in one step","prompt":"Deposit $5 into my jojapi account and simultaneously open a pay-as-you-go subscription to the Spotify API so I'm ready to make calls immediately."},{"title":"Replenish depleted API credit","prompt":"My jojapi balance ran out — please top it up with $20 USD so my app can keep fetching Spotify track and artist information."}],"resultDescription":"Returns a success status, the updated USD account balance after top-up, details of the payment method used, and an array of subscription entries — each including the API name, plan details, subscription status, and the API key (or a hint if it already existed) for any APIs subscribed during the call.","failureModes":["Insufficient payment — x402 payment not accepted or underpaid, top-up not applied","Invalid amount_usd — zero or negative value rejected","Unknown API slug in subscribe array — subscription entry returns an error status for that API","Payment rail failure — blockchain or payment network error during transaction","Account not found — no account associated with the credential provided"],"whenToPreferThis":"Use this endpoint when you need to pre-fund or replenish a jojapi.net account balance before making Spotify Data API calls, or when you want to atomically deposit credit and open a pay-as-you-go subscription in a single request. Prefer this over making individual API calls without balance when the Spotify endpoints on jojapi.net require a funded account or active subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:53.588Z","isFirstParty":false}