AgentAPIGate
Back to Catalog
GET /v1/weather/openmeteo/marine_forecastPack: local·MCP Tool: weather_openmeteo_marine_forecast

Open-Meteo Offshore Marine Wave & Swell Forecast

Retrieve hourly ocean wave height, wave direction, and wave period forecasts for maritime routing, port logistics, and coastal coordinates.

API Key Price:$0.0020 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Ocean/coastal WGS84 latitude (e.g. 36.8)
Ocean/coastal WGS84 longitude (e.g. -122.0)
Comma-separated marine hourly variables (default "wave_height,wave_direction,wave_period")
Forecast horizon in days (1-8, default 3)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/weather/openmeteo/marine_forecast" \
  --data-urlencode "latitude=36.8" \
  --data-urlencode "longitude=-122" \
  --data-urlencode "hourly=wave_height,wave_direction,wave_period" \
  --data-urlencode "forecast_days=3" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-91% tokens
# Open-Meteo Offshore Marine Wave & Swell Forecast (`weather.openmeteo.marine_forecast`)
**latitude**: 36.791664 · **longitude**: -122.04166

## hourly_units
- **time**: iso8601
- **wave_height**: m
- **wave_direction**: °
- **wave_period**: s
## hourly
- **time**: 2026-12-05T00:00, 2026-12-05T01:00, 2026-12-05T02:00, 2026-12-05T03:00, 2026-12-05T04:00, 2026-12-05T05:00
- **wave_height**: 4.08, 4.08, 4.06, 4.06, 3.98, 3.88
- **wave_direction**: 294, 294, 293, 293, 293, 294
- **wave_period**: 12.05, 12.05, 12.05, 12.1, 12.15, 12.25

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: weather.openmeteo.marine_forecast · Method: GET
ParameterTypeReqSample / DefaultDescription
latitudenumberrequired36.8Ocean/coastal WGS84 latitude (e.g. 36.8)
longitudenumberrequired-122Ocean/coastal WGS84 longitude (e.g. -122.0)
hourlystringoptionalwave_height,wave_direction,wave_periodComma-separated marine hourly variables (default "wave_height,wave_direction,wave_period")
forecast_daysnumberoptional3Forecast horizon in days (1-8, default 3)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0020 / call$0/mo · Balance never expires
Remote MCP Toolweather_openmeteo_marine_forecastOAuth 2.1 Hub & /mcp/local
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency3166 ms$0 billed on empty or 4xx/5xx
Token Economy1650t → 142t (-91%)Partner credit: eligible
Data AttributionSource: Open-Meteo ERA5 Historical, Marine & Elevation API (open-meteo.com — CC BY 4.0)

More weather.openmeteo Sibling Endpoints

Frequently Asked Questions

How do I call Open-Meteo Offshore Marine Wave & Swell Forecast (weather.openmeteo.marine_forecast) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/weather/openmeteo/marine_forecast with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool weather_openmeteo_marine_forecast on https://mcp.agentapigate.ai/mcp.

What does weather.openmeteo.marine_forecast cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.002 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on weather.openmeteo.marine_forecast?

Passing ?format=md transforms the response into normalized Markdown (~142 tokens vs ~1650 raw tokens, saving 91% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only local endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["local"], optional allowed_endpoints: ["weather.openmeteo.marine_forecast"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.