# 2s.io Marine Weather Conditions

> 2s.io Marine Weather Conditions is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-13).

Returns current marine/sea-state conditions (wave height, direction, period, swell, wind-wave) for a given ocean or coastal lat/lon coordinate

## Facts

- Endpoint: GET https://2s.io/api/weather/marine
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-marine-weather-conditions-18de666a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nOTeskcc0ygq0BEctMcSu

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 2s-io-marine-weather-conditions-18de666a
```

Example prompt: What are the current wave conditions at 34.02°N, 118.95°W? I need the significant wave height, swell direction and period, and wind-wave breakdown.

## When to prefer this

Use this endpoint when you need real-time marine sea-state conditions — wave height, swell, and wind-wave data — for a specific ocean or coastal coordinate. Ideal for surf, sailing, or coastal operations use cases. Prefer over general weather APIs when marine-specific parameters (swell, wave period, wave direction) are needed. Note: returns 404 for inland points, so ensure coordinates are coastal or oceanic.

## Known failure modes

- 404 returned for inland coordinates (non-ocean/coastal lat/lon)
- Missing or malformed lat/lon parameters returns an error
- Out-of-range coordinates may produce unexpected results
- Upstream Open-Meteo marine API unavailability causes failures

## How this service works

Current marine/sea-state conditions for an ocean or coastal coordinate. Pass lat + lon. Returns significant wave height (m), wave direction + period, and the wind-wave and swell-wave components. Useful for surf, sailing, and coastal ops. Source: Open-Meteo marine (keyless). Returns 404 for inland points.

## Output

Returns current marine sea-state data including significant wave height in meters, wave direction and period, and separate wind-wave and swell-wave components for the requested ocean or coastal coordinate. Returns 404 for inland points.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "lat": 34.02,
   "lon": -118.95
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number"
      },
      "lon": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-marine-weather-conditions-18de666a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
