# StatePulse Marine Conditions

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

Returns live marine telemetry including water temperature, wave height, and wave period for a given NOAA buoy station

## Facts

- Endpoint: POST https://statepulse-api.hahavoid0.workers.dev/water/marine-conditions
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/statepulse-marine-conditions-fb21726f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KfwxUF1aNI4vcn_YYLmsz

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-marine-conditions-fb21726f -d '<json body>'
```

Example prompt: What are the current ocean conditions at buoy station 41002 — water temperature, wave height, and wave period right now?

## When to prefer this

Use this endpoint when you need real-time marine telemetry (water temp, wave height, wave period) keyed to a specific buoy station ID. Prefer this over general weather APIs when the user specifically needs ocean/sea surface conditions rather than atmospheric weather, and when a NOAA-style station identifier is available.

## Known failure modes

- Station ID not found or unsupported — supported field returns false
- Station has no recent data — low confidence or missing fields
- Invalid station_id format — 4xx error response
- Upstream NOAA data source unavailable — service may return error or stale data
- Network timeout from Cloudflare Worker — 5xx response

## How this service works

Fetches live observation data for a specific NOAA marine buoy station.

## Output

A JSON object containing the station ID, current water temperature in Celsius, wave height in meters, wave period in seconds, a supported boolean indicating whether the station is covered, and a confidence string (e.g. 'high').

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "station_id": "41002",
   "water_temp_c": 24.5,
   "wave_height_m": 1.8,
   "wave_period_sec": 9
  },
  "supported": true,
  "confidence": "high"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/statepulse-marine-conditions-fb21726f/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)
