81trust / 100

Ocean Tides

by Data Lookup API in Weather & location

x402 APIPassing, checked 5 h ago

U.S. coastal tide data from NOAA — when's the next high or low tide, or what's the water level right now: high/low tide predictions for the next 48 hours (product=predictions, default), or the latest observed water level (product=water_level). Identify the location by NOAA CO-OPS station ID, or just pass lat+lng and the nearest station is used automatically (distanceKm in the response says how far it is). Heights in feet above MLLW datum, times in GMT.

GET https://x402-seller.onrender.com/ocean/tides

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-seller.onrender.com/ocean/tides?lat=37.7749&lng=-122.4194&product=predictions"
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-seller.onrender.com%2Focean%2Ftides
const res = await pay("https://x402-seller.onrender.com/ocean/tides?lat=37.7749&lng=-122.4194&product=predictions");
console.log(await res.json());

Example input

{
  "lat": "37.7749",
  "lng": "-122.4194",
  "product": "predictions"
}

Example output

{
  "datum": "MLLW",
  "distanceKm": 6.51,
  "lat": 37.8063,
  "lng": -122.4659,
  "product": "predictions",
  "source": "NOAA Center for Operational Oceanographic Products and Services (CO-OPS)",
  "station": "9414290",
  "stationName": "San Francisco",
  "tides": [
    {
      "heightFt": 4.222,
      "time": "2026-07-20 11:43",
      "type": "H"
    }
  ],
  "timeZone": "GMT",
  "units": "feet"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402131 ms$0.001