80trust / 100

Harvest Window

by agri.halowerk.com in Weather & location

x402 APIPassing, checked 3 h ago

Adds simple degree-days from caller-supplied daily temperatures to an existing accumulation, then marks days that meet a supplied maturity threshold, crop-moisture interval and maximum rain constraint. It does not obtain a forecast, model crop physiology, inspect a field or guarantee harvestability.

POST https://agri.halowerk.com/v1/harvest-window

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
122 ms typical, 165 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/harvest-window" \
  -H "content-type: application/json" \
  -d '{"acceptable_crop_moisture_percent":{"maximum":18,"minimum":13},"accumulated_degree_days":1380,"base_temperature_c":8,"daily_forecast":[{"crop_moisture_percent":19,"date":"2026-09-01","maximum_temperature_c":24,"minimum_temperature_c":13,"rain_mm":0.5},{"crop_moisture_percent":17,"date":"2026-09-02","maximum_temperature_c":26,"minimum_temperature_c":14,"rain_mm":0},{"crop_moisture_percent":16,"date":"2026-09-03","maximum_temperature_c":25,"minimum_temperature_c":15,"rain_mm":4}],"maturity_degree_days":1400,"maximum_rain_mm":2}'
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%2Fharvest-window
const res = await pay("https://agri.halowerk.com/v1/harvest-window", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"acceptable_crop_moisture_percent":{"maximum":18,"minimum":13},"accumulated_degree_days":1380,"base_temperature_c":8,"daily_forecast":[{"crop_moisture_percent":19,"date":"2026-09-01","maximum_temperature_c":24,"minimum_temperature_c":13,"rain_mm":0.5},{"crop_moisture_percent":17,"date":"2026-09-02","maximum_temperature_c":26,"minimum_temperature_c":14,"rain_mm":0},{"crop_moisture_percent":16,"date":"2026-09-03","maximum_temperature_c":25,"minimum_temperature_c":15,"rain_mm":4}],"maturity_degree_days":1400,"maximum_rain_mm":2}),
});
console.log(await res.json());

Example input

{
  "acceptable_crop_moisture_percent": {
    "maximum": 18,
    "minimum": 13
  },
  "accumulated_degree_days": 1380,
  "base_temperature_c": 8,
  "daily_forecast": [
    {
      "crop_moisture_percent": 19,
      "date": "2026-09-01",
      "maximum_temperature_c": 24,
      "minimum_temperature_c": 13,
      "rain_mm": 0.5
    },
    {
      "crop_moisture_percent": 17,
      "date": "2026-09-02",
      "maximum_temperature_c": 26,
      "minimum_temperature_c": 14,
      "rain_mm": 0
    },
    {
      "crop_moisture_percent": 16,
      "date": "2026-09-03",
      "maximum_temperature_c": 25,
      "minimum_temperature_c": 15,
      "rain_mm": 4
    }
  ],
  "maturity_degree_days": 1400,
  "maximum_rain_mm": 2
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402126 ms$0.003
7 h agoPassed402122 ms$0.003
10 h agoPassed402141 ms$0.003
14 h agoPassed402165 ms$0.003
17 h agoPassed402119 ms$0.003
21 h agoPassed402238 ms$0.003
25 h agoPassed402118 ms$0.003
28 h agoPassed40239 ms$0.003
34 h agoPassed402119 ms$0.003