# x402 Content Hub – Spotify Track Lookup

> x402 Content Hub – Spotify Track Lookup is a paid API for AI agents from x402-content-hub.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Retrieves detailed metadata for a Spotify track by its track ID, paid via USDC on Base using the x402 protocol.

## Facts

- Endpoint: POST https://x402-content-hub.vercel.app/api/spotify/track
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-content-hub-spotify-track-lookup-135241d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T9O6nQ40G-KqNFhE5IQ2b

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 x402-content-hub-spotify-track-lookup-135241d8 -d '<json body>'
```

Example prompt: Can you pull up the Spotify track details for the song with track ID 3n3Ppam7vgaVa1iaRUIOKE — I want to know the title, artist, and album info.

## When to prefer this

Use this endpoint when you have a specific Spotify track ID and need structured metadata about that track without needing a full Spotify API client setup or OAuth flow. Ideal for agents enriching music-related data, resolving track IDs to human-readable info, or building music recommendation context. Best when paying per-call via USDC on Base is acceptable.

## Known failure modes

- Invalid or malformed Spotify track ID returns an error or empty data object
- Track ID for a removed or region-restricted track may return no results
- Payment failure via x402/USDC results in 402 response before data is returned
- Network timeout if Spotify upstream API is slow or unavailable
- Missing required 'id' field in request body returns a validation error

## How this service works

Amazon products, real-time news, image search, Medium articles, and Spotify data. Pay with USDC on Base.

## Output

Returns a JSON object containing detailed Spotify track metadata, likely including track name, artist(s), album, duration, release date, popularity score, and other Spotify-native fields for the given track ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "Spotify track ID"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-content-hub-spotify-track-lookup-135241d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-content-hub.vercel.app](https://www.zero.xyz/host/x402-content-hub.vercel.app/llms.txt)
