# StatePulse API - Live Stream Temperature Lookup

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

Returns live water stream/river temperature readings from USGS or similar gauge stations for a given US state

## Facts

- Endpoint: POST https://statepulse-api.hahavoid0.workers.dev/water/stream-temp
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/statepulse-api-live-stream-temperature-lookup-b13729e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CHXJwcu55UVmvWPDjHodS

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-api-live-stream-temperature-lookup-b13729e0 -d '<json body>'
```

Example prompt: What's the current water temperature at river gauge stations in California right now? I need live stream temp readings with station names.

## When to prefer this

Use this endpoint when you need real-time or near-real-time water stream/river temperature readings by US state, particularly for environmental monitoring, fishing conditions, hydrological research, or water quality assessments. Prefer this over static datasets when freshness matters and when per-call pay-as-you-go pricing ($0.02 USDC) is acceptable.

## Known failure modes

- State not supported — 'supported: false' returned with empty gauges array
- No live gauge data available for the requested state at time of call
- Invalid state input returns an error or empty result
- Upstream USGS or telemetry source temporarily unavailable causing stale or missing data
- Payment failure via x402 prevents the call from completing

## How this service works

Queries live stream water temperature telemetry from active USGS gauges in a US state.

## Output

Returns a JSON object containing the US state queried, a list of gauge stations with their names and current water temperatures in Celsius, a 'supported' boolean indicating whether data is available for that state, and a confidence level string (e.g. 'high').

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "state": "CA",
   "gauges": [
    {
     "station_name": "Sacramento River",
     "temp_celsius": 14.5
    }
   ]
  },
  "supported": true,
  "confidence": "high"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/statepulse-api-live-stream-temperature-lookup-b13729e0/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)
