# Spotify Music Scraper API (x402)

> Spotify Music Scraper API (x402) is a paid API for AI agents from x402.186-241-26-229.sslip.io, paid per call via x402, $0.06/call, status unknown (last checked 2026-10-02).

Scrapes structured track metadata from Spotify public URLs or URIs — including title, artists, duration, artwork, and release date — on a pay-per-call basis.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/spotify-music?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spotify-music-scraper-api-x402-c7d8e6dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_owgV2WH_v6Wn9_QjMA_C7

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 spotify-music-scraper-api-x402-c7d8e6dc -d '<json body>'
```

Example prompt: Can you pull all the track titles, artists, and durations from this Spotify playlist — https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M — and give me the full list, up to 200 tracks?

## When to prefer this

Choose this endpoint when you need structured Spotify track metadata — titles, artists, durations, artwork — from public playlists, albums, or artist pages without using the official Spotify API or managing OAuth credentials. Ideal for agents that need quick, pay-per-call music data without a recurring subscription. Prefer it when official API access is unavailable or when you want to avoid rate-limit complexity.

## Known failure modes

- Private or region-locked Spotify content returns empty results (not charged)
- Invalid or malformed Spotify URLs/URIs result in an error or zero items
- Spotify rate limiting or page structure changes may cause empty runs (not charged)
- maxItems set to a very low value may truncate results unexpectedly
- Network timeouts on large playlists with includeTrackDetails enabled

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of tracks found and an items array where each entry contains the track URL, title, artist list, track ID, duration string, thumbnail image URL, duration in milliseconds, and Spotify URI. Empty or failed runs are not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "links": {
   "type": "array",
   "description": "Public track, playlist, album, or artist URLs or Spotify URIs. Each collection contributes its visible tracks."
  },
  "maxItems": {
   "type": "integer",
   "default": 100,
   "minimum": 0,
   "description": "Stop after this many unique tracks across all links. Set to 0 for every visible track."
  },
  "includeTrackDetails": {
   "type": "boolean",
   "default": true,
   "description": "Visit each track page for its artwork, artist list, release date, and other details. Disable for faster collection scans."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "url": null,
    "title": null,
    "artists": null,
    "trackId": null,
    "duration": null,
    "thumbnail": null,
    "durationMs": null,
    "spotifyUri": null
   }
  ],
  "product": "spotify-music"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spotify-music-scraper-api-x402-c7d8e6dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.186-241-26-229.sslip.io](https://www.zero.xyz/host/x402.186-241-26-229.sslip.io/llms.txt)
