# StatePulse Radio Stream URL Lookup

> StatePulse Radio Stream URL Lookup is a paid API for AI agents from statepulse-api.hahavoid0.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Resolves a radio station name or identifier to its live streaming URL, bitrate, and station metadata

## Facts

- Endpoint: POST https://statepulse-api.hahavoid0.workers.dev/radio/stream-url
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/statepulse-radio-stream-url-lookup-ee90d35c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_886fM4ckmF9q2fJ0oT1Hd

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 statepulse-radio-stream-url-lookup-ee90d35c -d '<json body>'
```

Example prompt: Can you find the live stream URL for Chada FM so I can pipe it into my audio player?

## When to prefer this

Use this endpoint when you need to programmatically resolve a radio station name to a playable live stream URL, especially when building audio playback agents, media automation workflows, or AI assistants that need to tune into live radio without manual URL lookup.

## Known failure modes

- Station not found or unsupported — supported:false returned with low confidence
- Invalid or unrecognized station name — empty or null stream_url
- Network timeout reaching the upstream station directory
- Station is offline or stream URL is temporarily unavailable

## How this service works

Resolves direct Shoutcast/Icecast streaming URLs from an open-source radio station database by country or tag.

## Output

A JSON object containing the direct stream URL (e.g. http://stream.chadafm.ma:8000/;), the station name, the bitrate in kbps, a boolean indicating whether the station is supported, and a confidence level (high/medium/low) for the result.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "bitrate": 128,
   "stream_url": "http://stream.chadafm.ma:8000/;",
   "station_name": "Chada FM"
  },
  "supported": true,
  "confidence": "high"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/statepulse-radio-stream-url-lookup-ee90d35c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from statepulse-api.hahavoid0.workers.dev](https://www.zero.xyz/host/statepulse-api.hahavoid0.workers.dev/llms.txt)
