80trust / 100
Soil Moisture
by agri.halowerk.com in Weather & location
x402 APIPassing, checked 3 h ago
Runs a deterministic bucket balance for each supplied day. Rain is reduced by a caller-selected runoff fraction, evapotranspiration is subtracted, water above field capacity is reported as drainage, and storage is bounded at zero. This is a root-zone accounting model, not a sensor reading, weather forecast, hydraulic simulation or irrigation command.
POST https://agri.halowerk.com/v1/soil-moisture
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 133 ms typical, 141 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://agri.halowerk.com/v1/soil-moisture" \
-H "content-type: application/json" \
-d '{"evapotranspiration_mm":[4.2,4.5,4.8,5],"field_capacity_mm":120,"initial_water_mm":82,"irrigation_mm":[10,0,0,12],"rainfall_mm":[0,8,2,0],"runoff_fraction":0.08}'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%2Fagri.halowerk.com%2Fv1%2Fsoil-moisture
const res = await pay("https://agri.halowerk.com/v1/soil-moisture", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"evapotranspiration_mm":[4.2,4.5,4.8,5],"field_capacity_mm":120,"initial_water_mm":82,"irrigation_mm":[10,0,0,12],"rainfall_mm":[0,8,2,0],"runoff_fraction":0.08}),
});
console.log(await res.json());Example input
{
"evapotranspiration_mm": [
4.2,
4.5,
4.8,
5
],
"field_capacity_mm": 120,
"initial_water_mm": 82,
"irrigation_mm": [
10,
0,
0,
12
],
"rainfall_mm": [
0,
8,
2,
0
],
"runoff_fraction": 0.08
}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 | 126 ms | $0.003 |
| 7 h ago | Passed | 402 | 133 ms | $0.003 |
| 10 h ago | Passed | 402 | 135 ms | $0.003 |
| 14 h ago | Passed | 402 | 137 ms | $0.003 |
| 18 h ago | Passed | 402 | 119 ms | $0.003 |
| 21 h ago | Passed | 402 | 141 ms | $0.003 |
| 25 h ago | Passed | 402 | 142 ms | $0.003 |
| 28 h ago | Passed | 402 | 107 ms | $0.003 |
| 34 h ago | Passed | 402 | 38 ms | $0.003 |