Returns tide predictions for a NOAA CO-OPS station
karte.halowerk.com/v1/tides
Returns tide predictions for a NOAA CO-OPS station: every high and low water in the window with its time and height above datum, the range between them, and which extreme comes next with the time remaining. Where the station also measures, the observed water level is fetched and compared with the prediction — wind and air pressure routinely push the real level away from the astronomical forecast,
POST
https://karte.halowerk.com/v1/tidesUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://karte.halowerk.com/v1/tides", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"days":2,"station":"8518750"}),
});
console.log(await res.json());Example input
{
"days": 2,
"station": "8518750"
}