# Agri Halowerk Harvest Window Calculator

> Agri Halowerk Harvest Window Calculator is a paid API for AI agents from agri.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-16).

Accumulates degree-days from caller-supplied daily temperatures onto an existing total, then identifies harvest windows where maturity threshold, crop moisture range, and maximum rainfall constraints are all satisfied.

## Facts

- Endpoint: POST https://agri.halowerk.com/v1/harvest-window
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agri-halowerk-harvest-window-calculator-5ef5f48d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8MDIa3RWVmyTNAGUwXQBT

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agri-halowerk-harvest-window-calculator-5ef5f48d -d '<json body>'
```

Example prompt: I have 450 accumulated degree-days so far for my corn crop with a maturity target of 1200 GDD and a base temperature of 10°C. Here are my next 7 days of forecasts with daily min/max temps, crop moisture percentages, and rainfall — can you calculate the updated degree-day totals and flag which days are viable harvest windows given that I need crop moisture between 14% and 18% and no more than 5mm of rain?

## When to prefer this

Choose this endpoint when you already have daily temperature and moisture data and need a deterministic, stateless degree-day accumulation with harvest-window flagging applied in a single call. It is ideal for agricultural automation pipelines that supply their own weather data rather than fetching forecasts, and when you need to enforce simultaneous maturity, moisture, and rainfall constraints. Prefer alternatives if you need actual weather forecasting, crop physiology modeling, field sensor integration, or any guarantee of harvestability beyond threshold arithmetic.

## Known failure modes

- Missing required daily fields (date, min/max temp, crop moisture, rain) returns a validation error
- minimum_temperature_c greater than maximum_temperature_c on any day may produce zero or unexpected degree-day increments
- maturity_degree_days set to zero or below triggers schema rejection (minimum 0.001)
- Supplying more than 366 daily records exceeds maxItems and returns a schema validation error
- Inverted acceptable_crop_moisture_percent range (min > max) may return no flagged harvest days without error
- Non-ISO date strings fail the regex pattern validation

## How this service works

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.

## Output

The endpoint returns, for each input day, the cumulative degree-days after that day's contribution, a boolean or flag indicating whether the maturity threshold has been reached, and whether that day satisfies the crop moisture range and maximum rainfall constraint — effectively producing a list of candidate harvest windows within the supplied forecast window.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "daily_forecast": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "date",
     "minimum_temperature_c",
     "maximum_temperature_c",
     "crop_moisture_percent",
     "rain_mm"
    ],
    "properties": {
     "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
     },
     "rain_mm": {
      "type": "number",
      "maximum": 1000,
      "minimum": 0
     },
     "crop_moisture_percent": {
      "type": "number",
      "maximum": 100,
      "minimum": 0
     },
     "maximum_temperature_c": {
      "type": "number",
      "maximum": 100,
      "minimum": -100
     },
     "minimum_temperature_c": {
      "type": "number",
      "maximum": 100,
      "minimum": -100
     }
    },
    "additionalProperties": false
   },
   "maxItems": 366,
   "minItems": 1
  },
  "maximum_rain_mm": {
   "type": "number",
   "maximum": 1000,
   "minimum": 0
  },
  "base_temperature_c": {
   "type": "number",
   "maximum": 50,
   "minimum": -50
  },
  "maturity_degree_days": {
   "type": "number",
   "maximum": 100000,
   "minimum": 0.001
  },
  "accumulated_degree_days": {
   "type": "number",
   "maximum": 100000,
   "minimum": 0
  },
  "acceptable_crop_moisture_percent": {
   "type": "object",
   "required": [
    "minimum",
    "maximum"
   ],
   "properties": {
    "maximum": {
     "type": "number",
     "maximum": 100,
     "minimum": 0
    },
    "minimum": {
     "type": "number",
     "maximum": 100,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agri-halowerk-harvest-window-calculator-5ef5f48d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agri.halowerk.com](https://www.zero.xyz/host/agri.halowerk.com/llms.txt)
