# AnyAPI Spotify Search

> AnyAPI Spotify Search is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Search Spotify's catalog for tracks, artists, albums, or playlists by keyword query

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/spotify.search
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-spotify-search-d9518366
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CHWuVFcBMujQoydhjknwu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anyapi-spotify-search-d9518366 -d '<json body>'
```

Example prompt: Search Spotify for 'Blinding Lights' by The Weeknd and give me the track name, album, and Spotify URI.

## When to prefer this

Use this endpoint when you need programmatic Spotify catalog search without a Spotify developer account or OAuth setup — ideal for agents that need to resolve song/artist names to Spotify IDs, fetch metadata, or power music recommendation flows, all billed per-request with no monthly subscription.

## Known failure modes

- Empty query string returns error or empty results
- Invalid content type filter causes malformed request
- Query returns zero results for obscure or misspelled terms
- Rate limiting or quota exceeded on the underlying Spotify API
- Payment failure if USDC wallet is underfunded
- Region-restricted content may not appear for certain market values

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

A JSON response containing Spotify search results including track names, artist names, album titles, Spotify URIs/IDs, popularity scores, preview URLs, and cover art image links — structured as paginated result sets per content type (tracks, artists, albums, playlists).

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-spotify-search-d9518366/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
