81trust / 100
Water Quality
by natur.halowerk.com in Developer tools
x402 APIPassing, checked 3 h ago
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-quality
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 37 ms typical, 37 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://natur.halowerk.com/v1/water-quality" \
-H "content-type: application/json" \
-d '{"max_results":800,"site_id":"USGS-01646500"}'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%2Fnatur.halowerk.com%2Fv1%2Fwater-quality
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"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 121 ms | $0.005 |
| 8 h ago | Passed | 402 | 37 ms | $0.005 |