Spotify API
Spotify data through one normalized API - per-request USD pricing and no subscriptions.
Track
Most usedSearch
Artist
Podcast episodes
Album
Play count
Podcast
About the Spotify API
Open an endpoint for its live route, a copy-paste cURL and a sample response.
Call the Spotify API
https://api.getanyapi.comAuthorization: Bearer $ANYAPI_KEYcurl -X POST https://api.getanyapi.com/v1/run/spotify.track \ -H "Authorization: Bearer $ANYAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT"}'
Measured performance
What the Spotify API actually does
Every call through AnyAPI over the last 30 days, counted here rather than promised.
- Weighted p50 estimate
- 2.4s
- Request-weighted average of endpoint p50 values, not a combined request percentile
- Weighted p99 estimate
- 15.5s
- Request-weighted average of endpoint p99 values, not a combined request percentile
FAQ
About the Spotify API
The AnyAPI Spotify API returns Spotify data as normalized JSON across 7 endpoints: album, artist, play count, podcast, podcast episodes, search, and track. You call one endpoint per job with a single key, and AnyAPI routes each request across 2 sources, falling back automatically when one fails. Pricing is in US dollars, from $1.20 per 1,000 requests on the cheapest endpoint, with no subscription and no monthly minimum. Over the last 30 days, 99.7% of Spotify calls through AnyAPI succeeded, with a request-weighted median response time of 2.4 seconds across 1,978 measured calls.