natur.halowerk.com/v1/water-quality
Retrieves water quality results for a monitoring site from the Water Quality Portal and normalises them into a comparable shape. The real work is units: the same measurement appears there as mg/L, ug/L, ppm and mg/l in mixed case, and combining them unchecked puts factor-of-thousand errors into any statistic built on top.
POST
https://natur.halowerk.com/v1/water-qualityUptime100% of 3 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/water-quality", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_results":800,"site_id":"USGS-01646500"}),
});
console.log(await res.json());Example input
{
"max_results": 800,
"site_id": "USGS-01646500"
}