{"uid":"cap_8MDIa3RWVmyTNAGUwXQBT","slug":"agri-halowerk-harvest-window-calculator-5ef5f48d","name":"Agri Halowerk Harvest Window Calculator","description":"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.","url":"https://agri.halowerk.com/v1/harvest-window","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FlILfIAJevl_o3hs54RBx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Corn harvest window planning","prompt":"My corn has accumulated 980 degree-days so far, needs 1250 to reach maturity, and my base temp is 10°C. Here are 10 days of forecast data with daily min/max temps in Celsius, crop moisture percentages, and rainfall in mm — flag which days have crop moisture between 13% and 17% and less than 3mm of rain as viable harvest days."},{"title":"Wheat maturity tracking mid-season","prompt":"I'm tracking wheat with 600 degree-days already built up toward a 900 GDD maturity target using a 5°C base temperature. Can you add degree-days from these 14 days of temperature data and tell me which days fall within 15–20% crop moisture and under 8mm of rain so I know when to send the combine?"},{"title":"Soybean harvest feasibility check","prompt":"We've got 800 accumulated degree-days on our soybeans, maturity threshold is 1100 GDD, base temp 8°C. Run these 5 days of daily min/max temperatures, moisture readings, and rain forecasts through the harvest window calculator and flag any days where moisture is between 12% and 16% and rainfall stays under 2mm."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:40:46.051Z","isFirstParty":false}