D

Data Lookup API · Ocean Tides

by Data Lookup API

GETBase

$0.001

per call · USD Coin on Base

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.

Endpoint

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

2

Calls / 30d

1

Unique payers / 30d

Aug 16

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402-seller.onrender.com/ocean/tides", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-seller.onrender.com/ocean/tides?lat=37.7749&lng=-122.4194&product=predictions" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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"
}

Payment details

Pay to0xbd61dfb01f81c91f02b0ccd51b0220e0c8918639
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Data Lookup API & similar services