# AnyAPI Spotify Play Count

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

Fetches the play count for a Spotify track via a pay-per-request scraping API

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/spotify.play_count
- Price: $0.003/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-play-count-8940dfca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vpFAinkr9SM_pxyMvmSAO

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-play-count-8940dfca -d '<json body>'
```

Example prompt: How many streams does 'Blinding Lights' by The Weeknd have on Spotify right now?

## When to prefer this

Use this endpoint when you need quick, pay-per-request access to Spotify play counts without committing to a monthly subscription. Ideal for one-off lookups, ad-hoc music analytics, or when official Spotify API access is unavailable or insufficient for streaming statistics.

## Known failure modes

- Track not found if the Spotify ID or URL is invalid
- Rate limiting or scraping blocks from Spotify returning stale or no data
- Malformed request returns an error if required track identifier is missing
- Spotify changes its internal structure causing temporary data unavailability

## 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 the Spotify play count (total stream count) for the specified track, scraped directly from Spotify's platform.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-spotify-play-count-8940dfca/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)
