# AnyAPI Spotify Track Lookup

> AnyAPI Spotify Track Lookup 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).

Fetches metadata for a Spotify track by track ID or URL, returning details like title, artist, album, duration, and popularity.

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/spotify.track
- 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-track-lookup-63148068
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hh3uXxeTHosaRliRff24s

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-track-lookup-63148068 -d '<json body>'
```

Example prompt: Can you pull up the details for this Spotify track — artist, album, release date, and popularity — for track ID 3n3Ppam7vgaVa1iaRUIOKE?

## When to prefer this

Use this endpoint when you need Spotify track metadata on a pay-per-call basis without managing a Spotify Developer account, OAuth tokens, or monthly subscriptions. Ideal for low-to-medium volume lookups where a dedicated Spotify API integration is overkill.

## Known failure modes

- Invalid or malformed Spotify track ID returns an error response
- Track not found on Spotify returns a 404-equivalent error
- Rate limiting or upstream Spotify availability issues may cause transient failures
- Missing required track ID/URL parameter returns a validation error
- Wallet balance insufficient for $0.002 USDC per-call charge blocks the request

## 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

Returns a JSON object containing Spotify track metadata including track title, artist(s), album name, release date, track duration in milliseconds, popularity score, preview URL, and other Spotify-provided track fields.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-spotify-track-lookup-63148068/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)
