# httpay.xyz Spotify Web API Gateway

> httpay.xyz Spotify Web API Gateway is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-08).

Proxies requests to the Spotify Web API through an x402 micropayment gateway, enabling pay-per-call access to all Spotify endpoints without managing API credentials.

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/spotify/%7B*path%7D/*
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-9a0a6d5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kDqNP3Qv0XAgAMDpGRAfh

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 httpay-xyz-9a0a6d5e -d '<json body>'
```

Example prompt: Search the Spotify catalog for the top 5 tracks by Taylor Swift and return their names, album titles, and audio feature data like tempo and energy.

## When to prefer this

Prefer this endpoint when you need access to the Spotify Web API without setting up your own Spotify developer credentials or managing OAuth tokens, and you want pay-per-call billing via x402 micropayments in USDC instead of a subscription.

## Known failure modes

- Invalid or unsupported Spotify API path returns 404 or error JSON
- Missing or malformed request body causes 400 Bad Request from Spotify
- Spotify rate limits triggered returns 429 Too Many Requests
- Payment failure or insufficient USDC balance returns 402 Payment Required
- Spotify token or auth issues on gateway side return 401 Unauthorized

## How this service works

API Gateway: Spotify Web API

## Output

Returns the raw JSON response from the Spotify Web API for the requested path — including track metadata, search results, audio features, playlist contents, artist info, or user data depending on the Spotify endpoint called.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-9a0a6d5e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
