# Hawaii Conditions — Ocean Safety

> Hawaii Conditions — Ocean Safety is a paid API for AI agents from hawaii-conditions.vercel.app, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-13).

Returns real-time ocean safety conditions for a specified Hawaiian island, including beach flag status, rip current risk, jellyfish and shark advisories, and lifeguard availability.

## Facts

- Endpoint: GET https://hawaii-conditions.vercel.app/gpt/ocean-safety?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hawaii-conditions-ocean-safety-cde509fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q30IlhfyTs87uThFtpm4j

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 hawaii-conditions-ocean-safety-cde509fc
```

Example prompt: Is it safe to swim today on Maui? Check the current ocean safety conditions — beach flag color, rip current risk, any jellyfish or shark advisories, and whether there's a lifeguard on duty.

## When to prefer this

Use this endpoint when a user needs real-time ocean safety information for a specific Hawaiian island, including hazard advisories and flag status. Prefer this over generic weather APIs that lack beach-specific marine safety data like jellyfish, shark, and rip current advisories for Hawaii.

## Known failure modes

- Invalid island name returns an error or empty response
- Stale data if upstream NOAA/NPS feeds are delayed
- Unknown or unsupported island names may not return results
- Network timeout if Vercel endpoint is unavailable

## How this service works

Real-time surf, weather, trails, volcano, ocean safety, and restaurant data for every Hawaiian island. Built for AI agents. Powered by NOAA, USGS, NPS, Open-Meteo and Google Places.

## Output

Returns a JSON object with the beach name, flag color and its meaning, rip current risk level, jellyfish advisory boolean, shark advisory boolean, overall swimming conditions description, lifeguard on duty boolean, and the timestamp of when the data was last updated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "island"
 ],
 "properties": {
  "island": {
   "enum": [
    "oahu",
    "maui",
    "kauai",
    "big-island",
    "molokai",
    "lanai"
   ],
   "type": "string",
   "description": "Island name (e.g. oahu, maui, kauai, big-island)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "beach",
  "flag_color",
  "flag_meaning",
  "rip_current_risk",
  "jellyfish_advisory",
  "shark_advisory",
  "swimming_conditions",
  "lifeguard_on_duty",
  "updated_at"
 ],
 "properties": {
  "beach": {
   "type": "string"
  },
  "flag_color": {
   "type": "string"
  },
  "updated_at": {
   "type": "string",
   "format": "date-time"
  },
  "flag_meaning": {
   "type": "string"
  },
  "shark_advisory": {
   "type": "boolean"
  },
  "rip_current_risk": {
   "type": "string"
  },
  "lifeguard_on_duty": {
   "type": "boolean"
  },
  "jellyfish_advisory": {
   "type": "boolean"
  },
  "swimming_conditions": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hawaii-conditions-ocean-safety-cde509fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hawaii-conditions.vercel.app](https://www.zero.xyz/host/hawaii-conditions.vercel.app/llms.txt)
