78trust / 100

Sea State

by eu-verify in Weather & location

x402 APIPassing, checked 3 h ago

Hourly sea-state forecast from Open-Meteo Marine wave models: wave height/direction/period, wind waves and swell, up to 7 days, UTC. Query: ?port=marseille|ajaccio|nice|... (12 Mediterranean presets) or ?latitude=43.3&longitude=5.4, plus ?days=1-7 (default 2). Includes a summary block (max wave height next 24h / full horizon). 1h cache. For sailing go/no-go, port ops and routing.

GET https://data.greeneris.io/v1/sea/state

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
188 ms typical, 386 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://data.greeneris.io/v1/sea/state?days=2&port=marseille"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdata.greeneris.io%2Fv1%2Fsea%2Fstate
const res = await pay("https://data.greeneris.io/v1/sea/state?days=2&port=marseille");
console.log(await res.json());

Example input

{
  "days": 2,
  "port": "marseille"
}

Example output

{
  "forecast_days": 2,
  "hourly_units": {
    "wave_direction": "°",
    "wave_height": "m",
    "wave_period": "s"
  },
  "location": {
    "latitude": 43.25,
    "longitude": 5.375,
    "port": "marseille"
  },
  "source": "Open-Meteo Marine (wave models ECMWF/MeteoFrance/DWD, CC-BY 4.0)",
  "summary": {
    "first_hours_wave_m": [
      0.38,
      0.4,
      0.44,
      0.5,
      0.54,
      0.58
    ],
    "max_wave_height_m_24h": 0.62,
    "max_wave_height_m_all": 0.88
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402340 ms$0.005
7 h agoPassed402177 ms$0.005
10 h agoPassed402179 ms$0.005
14 h agoPassed402188 ms$0.005
18 h agoPassed402386 ms$0.005
21 h agoPassed402179 ms$0.005
25 h agoPassed402215 ms$0.005
28 h agoPassed402179 ms$0.005
32 h agoPassed402340 ms$0.005
36 h agoPassed402176 ms$0.005
39 h agoPassed402335 ms$0.005
44 h agoPassed402454 ms$0.005