natur.halowerk.com/v1/river-gauge
Returns the latest instantaneous values at a USGS streamgage, together with what makes them readable. A stage of three point four feet means nothing on its own, so each value is placed against the station own record for the requested reference period: the minimum, median and maximum, and the percentile the current reading falls at. The reference period is stated with the comparison, because a perc
POST
https://natur.halowerk.com/v1/river-gaugeUptime100% 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://natur.halowerk.com/v1/river-gauge", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"reference_days":30,"site_id":"01646500"}),
});
console.log(await res.json());Example input
{
"reference_days": 30,
"site_id": "01646500"
}