81trust / 100

Weather Marine

by TBS Weather & Climate API in Weather & location

x402 APIPassing, checked 49 min ago

Marine weather and sea-state forecast for any coastal coordinate. Returns significant wave height, wave direction and period, wind waves, swell (height, direction, period) and ocean current velocity and direction. Oceanographic conditions for shipping, offshore, maritime safety, fishing, surfing and coastal operations.

GET https://x402.tbs-digital.com/weather/marine

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
135 ms typical, 135 ms slowest 5%
Last check
49 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.tbs-digital.com/weather/marine?city=Saint-Malo"
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%2Fx402.tbs-digital.com%2Fweather%2Fmarine
const res = await pay("https://x402.tbs-digital.com/weather/marine?city=Saint-Malo");
console.log(await res.json());

Example input

{
  "city": "Saint-Malo"
}

Example output

{
  "generated_at": "2026-08-09T12:00:00.000Z",
  "location": {
    "country": "FR",
    "lat": 48.65,
    "lon": -2.01,
    "name": "Saint-Malo"
  },
  "marine": {
    "ocean_current_direction_deg": 63,
    "ocean_current_velocity_kmh": 0.4,
    "swell_wave_direction_deg": 256,
    "swell_wave_height_m": 0.2,
    "swell_wave_period_s": 5.7,
    "wave_direction_deg": 229,
    "wave_height_m": 0.38,
    "wave_period_s": 4.7
  },
  "payer": {
    "address": "0x0000000000000000000000000000000000000000",
    "network": "base"
  },
  "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
  "source": "open-meteo"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
49 min agoPassed402135 ms$0.001
6 h agoPassed402186 ms$0.001