https://www.brainiac.software/api/v1/agriculture-intelligence/crop-weather-exposure-analyze$0.04 USDCAnalyze crop weather exposure
Analyze frost, drought, and excess-rain exposure from caller-supplied weather series or optional key-free Open-Meteo daily forecasts. No paid commodity feed.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"frostThresholdC": 0,
"droughtThresholdDays": 14,
"excessRainMm": 80,
"fields": [
{
"id": "F1",
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"region": "IA",
"source": "Caller-supplied"
}
],
"weather": [
{
"id": "W1",
"fieldId": "NORTH-40",
"crop": "corn",
"at": "2026-06-01",
"temperatureC": 22,
"precipitationMm": 5,
"source": "Caller-supplied station"
},
{
"id": "W2",
"fieldId": "NORTH-40",
"crop": "corn",
"at": "2026-06-02",
"temperatureC": -1,
"precipitationMm": 0,
"frost": true,
"source": "Caller-supplied station"
},
{
"id": "W3",
"fieldId": "NORTH-40",
"crop": "corn",
"at": "2026-06-03",
"temperatureC": 24,
"precipitationMm": 90,
"source": "Caller-supplied station"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "analyzed",
"fieldCount": 1,
"exposedFieldCount": 1,
"items": [
{
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"hectaresSupplied": true,
"observationCount": 3,
"totalPrecipitationMm": 95,
"minTemperatureC": -1,
"maxTemperatureC": 24,
"temperatureRangeSupplied": true,
"frostEventCount": 1,
"droughtSignal": false,
"excessRainSignal": true,
"exposures": [
"frost",
"excess_rain"
],
"source": "Caller-supplied station; Caller-supplied station; Caller-supplied station",
"paidCommodityFeedUsed": false
}
],
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [
{
"kind": "conflict",
"code": "crop_weather_exposure",
"subject": "NORTH-40",
"detail": "Weather exposures: frost, excess_rain."
}
],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/crop-weather-exposure-analyze" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"frostThresholdC": 0,
"droughtThresholdDays": 14,
"excessRainMm": 80,
"fields": [
{
"id": "F1",
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"region": "IA",
"source": "Caller-supplied"
}
],
"weather": [
{
"id": "W1",
"fieldId": "NORTH-40",
"crop": "corn",
"at": "2026-06-01",
"temperatureC": 22,
"precipitationMm": 5,
"source": "Caller-supplied station"
},
{
"id": "W2",
"fieldId": "NORTH-40",
"crop": "corn",
"at": "2026-06-02",
"temperatureC": -1,
"precipitationMm": 0,
"frost": true,
"source": "Caller-supplied station"
},
{
"id": "W3",
"fieldId": "NORTH-40",
"crop": "corn",
"at": "2026-06-03",
"temperatureC": 24,
"precipitationMm": 90,
"source": "Caller-supplied station"
}
]
}
JSONhttps://www.brainiac.software/api/v1/agriculture-intelligence/crop-calendar-validate$0.03 USDCValidate crop calendars
Validate planting/harvest/stage events against caller-supplied calendar windows. Not a regulatory planting determination.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"calendars": [
{
"id": "C1",
"crop": "corn",
"region": "IA",
"stage": "planting",
"windowStart": "2026-04-15",
"windowEnd": "2026-05-20",
"eventAt": "2026-05-01",
"source": "Caller-supplied calendar"
},
{
"id": "C2",
"crop": "corn",
"region": "IA",
"stage": "planting",
"windowStart": "2026-04-15",
"windowEnd": "2026-05-20",
"eventAt": "2026-06-01",
"source": "Caller-supplied calendar"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "validated",
"calendarCount": 2,
"validCount": 1,
"items": [
{
"id": "C1",
"crop": "corn",
"region": "IA",
"stage": "planting",
"windowStart": "2026-04-15",
"windowEnd": "2026-05-20",
"eventAt": "2026-05-01",
"withinWindow": true,
"valid": true,
"issues": [],
"source": "Caller-supplied calendar",
"paidCommodityFeedUsed": false
},
{
"id": "C2",
"crop": "corn",
"region": "IA",
"stage": "planting",
"windowStart": "2026-04-15",
"windowEnd": "2026-05-20",
"eventAt": "2026-06-01",
"withinWindow": false,
"valid": false,
"issues": [
"outside_window"
],
"source": "Caller-supplied calendar",
"paidCommodityFeedUsed": false
}
],
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [
{
"kind": "conflict",
"code": "calendar_outside_window",
"subject": "C2",
"detail": "Event for corn planting is outside the supplied window."
}
],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/crop-calendar-validate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"calendars": [
{
"id": "C1",
"crop": "corn",
"region": "IA",
"stage": "planting",
"windowStart": "2026-04-15",
"windowEnd": "2026-05-20",
"eventAt": "2026-05-01",
"source": "Caller-supplied calendar"
},
{
"id": "C2",
"crop": "corn",
"region": "IA",
"stage": "planting",
"windowStart": "2026-04-15",
"windowEnd": "2026-05-20",
"eventAt": "2026-06-01",
"source": "Caller-supplied calendar"
}
]
}
JSONhttps://www.brainiac.software/api/v1/agriculture-intelligence/crop-yield-estimate$0.04 USDCEstimate crop yields
Estimate total yield from caller-supplied hectares and expected/historical yield-per-hectare rates, with optional weather stress factors.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"fields": [
{
"id": "F1",
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"source": "Caller-supplied"
}
],
"yields": [
{
"id": "Y1",
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"expectedYieldPerHa": 11.2,
"weatherStressFactor": 0.9,
"unit": "tonne",
"source": "Caller-supplied agronomy"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "estimated",
"estimateCount": 1,
"totalEstimatedYield": 403.2,
"items": [
{
"id": "Y1",
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"hectaresSupplied": true,
"baseYieldPerHa": 11.2,
"baseYieldPerHaSupplied": true,
"weatherStressFactor": 0.9,
"weatherStressFactorSupplied": true,
"estimatedYieldPerHa": 10.08,
"estimatedYieldPerHaSupplied": true,
"estimatedTotalYield": 403.2,
"estimatedTotalYieldSupplied": true,
"unit": "tonne",
"source": "Caller-supplied agronomy",
"paidCommodityFeedUsed": false
}
],
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/crop-yield-estimate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"fields": [
{
"id": "F1",
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"source": "Caller-supplied"
}
],
"yields": [
{
"id": "Y1",
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"expectedYieldPerHa": 11.2,
"weatherStressFactor": 0.9,
"unit": "tonne",
"source": "Caller-supplied agronomy"
}
]
}
JSONhttps://www.brainiac.software/api/v1/agriculture-intelligence/commodity-price-series-normalize$0.03 USDCNormalize commodity price series
Normalize caller-supplied commodity price points, or optional key-free World Bank Open Data indicator series when requested. No paid commodity feed.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"prices": [
{
"id": "P1",
"commodity": "corn",
"symbol": "C",
"at": "2026-11-01",
"price": 4.55,
"unit": "USD/bu",
"currency": "USD",
"market": "CBOT-style caller feed",
"side": "spot",
"source": "Caller-supplied"
},
{
"id": "P2",
"commodity": "corn",
"symbol": "C",
"at": "2026-11-02",
"price": 4.62,
"unit": "USD/bu",
"currency": "USD",
"market": "CBOT-style caller feed",
"side": "spot",
"source": "Caller-supplied"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "normalized",
"priceCount": 2,
"items": [
{
"id": "P1",
"commodity": "corn",
"symbol": "C",
"at": "2026-11-01",
"price": 4.55,
"priceSupplied": true,
"unit": "USD/bu",
"currency": "USD",
"market": "CBOT-style caller feed",
"side": "spot",
"source": "Caller-supplied",
"paidCommodityFeedUsed": false
},
{
"id": "P2",
"commodity": "corn",
"symbol": "C",
"at": "2026-11-02",
"price": 4.62,
"priceSupplied": true,
"unit": "USD/bu",
"currency": "USD",
"market": "CBOT-style caller feed",
"side": "spot",
"source": "Caller-supplied",
"paidCommodityFeedUsed": false
}
],
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/commodity-price-series-normalize" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"prices": [
{
"id": "P1",
"commodity": "corn",
"symbol": "C",
"at": "2026-11-01",
"price": 4.55,
"unit": "USD/bu",
"currency": "USD",
"market": "CBOT-style caller feed",
"side": "spot",
"source": "Caller-supplied"
},
{
"id": "P2",
"commodity": "corn",
"symbol": "C",
"at": "2026-11-02",
"price": 4.62,
"unit": "USD/bu",
"currency": "USD",
"market": "CBOT-style caller feed",
"side": "spot",
"source": "Caller-supplied"
}
]
}
JSONhttps://www.brainiac.software/api/v1/agriculture-intelligence/commodity-price-spread-analyze$0.03 USDCAnalyze commodity price spreads
Analyze spot/futures or left/right price spreads from caller-supplied commodity price points.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"prices": [
{
"id": "P1",
"commodity": "corn",
"at": "2026-11-01",
"price": 4.55,
"unit": "USD/bu",
"side": "spot",
"source": "Caller-supplied"
},
{
"id": "P2",
"commodity": "corn",
"at": "2026-11-01",
"price": 4.8,
"unit": "USD/bu",
"side": "futures",
"source": "Caller-supplied"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "analyzed",
"spreadCount": 1,
"items": [
{
"commodity": "corn",
"leftId": "P1",
"rightId": "P2",
"leftPrice": 4.55,
"rightPrice": 4.8,
"leftSide": "spot",
"rightSide": "futures",
"leftAt": "2026-11-01",
"rightAt": "2026-11-01",
"spread": 0.25,
"spreadPct": 5.3476,
"spreadPctSupplied": true,
"unit": "USD/bu",
"currency": "USD",
"source": "Caller-supplied; Caller-supplied",
"paidCommodityFeedUsed": false
}
],
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/commodity-price-spread-analyze" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"prices": [
{
"id": "P1",
"commodity": "corn",
"at": "2026-11-01",
"price": 4.55,
"unit": "USD/bu",
"side": "spot",
"source": "Caller-supplied"
},
{
"id": "P2",
"commodity": "corn",
"at": "2026-11-01",
"price": 4.8,
"unit": "USD/bu",
"side": "futures",
"source": "Caller-supplied"
}
]
}
JSONhttps://www.brainiac.software/api/v1/agriculture-intelligence/fertilizer-cost-per-hectare$0.03 USDCCalculate fertilizer cost per hectare
Calculate fertilizer cost per hectare from caller-supplied application rates and unit prices.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"inputCosts": [
{
"id": "I1",
"category": "fertilizer",
"product": "urea",
"nutrient": "N",
"ratePerHa": 200,
"pricePerUnit": 0.55,
"unit": "kg",
"hectares": 40,
"currency": "USD",
"source": "Caller-supplied invoice"
},
{
"id": "I2",
"category": "fertilizer",
"product": "MAP",
"nutrient": "P",
"ratePerHa": 80,
"pricePerUnit": 0.72,
"unit": "kg",
"hectares": 40,
"currency": "USD",
"source": "Caller-supplied invoice"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "calculated",
"itemCount": 2,
"totalCostPerHa": 167.6,
"items": [
{
"id": "I1",
"product": "urea",
"nutrient": "N",
"ratePerHa": 200,
"ratePerHaSupplied": true,
"pricePerUnit": 0.55,
"pricePerUnitSupplied": true,
"unit": "kg",
"hectares": 40,
"hectaresSupplied": true,
"costPerHa": 110,
"costPerHaSupplied": true,
"totalCost": 4400,
"totalCostSupplied": true,
"currency": "USD",
"source": "Caller-supplied invoice",
"paidCommodityFeedUsed": false
},
{
"id": "I2",
"product": "MAP",
"nutrient": "P",
"ratePerHa": 80,
"ratePerHaSupplied": true,
"pricePerUnit": 0.72,
"pricePerUnitSupplied": true,
"unit": "kg",
"hectares": 40,
"hectaresSupplied": true,
"costPerHa": 57.6,
"costPerHaSupplied": true,
"totalCost": 2304,
"totalCostSupplied": true,
"currency": "USD",
"source": "Caller-supplied invoice",
"paidCommodityFeedUsed": false
}
],
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/fertilizer-cost-per-hectare" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"inputCosts": [
{
"id": "I1",
"category": "fertilizer",
"product": "urea",
"nutrient": "N",
"ratePerHa": 200,
"pricePerUnit": 0.55,
"unit": "kg",
"hectares": 40,
"currency": "USD",
"source": "Caller-supplied invoice"
},
{
"id": "I2",
"category": "fertilizer",
"product": "MAP",
"nutrient": "P",
"ratePerHa": 80,
"pricePerUnit": 0.72,
"unit": "kg",
"hectares": 40,
"currency": "USD",
"source": "Caller-supplied invoice"
}
]
}
JSONhttps://www.brainiac.software/api/v1/agriculture-intelligence/input-cost-compare$0.03 USDCCompare agricultural input costs
Compare prior/current or left/right agricultural input costs per hectare from caller-supplied rate and price rows.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"inputCosts": [
{
"id": "I1",
"category": "fertilizer",
"product": "urea",
"ratePerHa": 200,
"pricePerUnit": 0.5,
"unit": "kg",
"side": "prior",
"source": "Caller-supplied"
},
{
"id": "I2",
"category": "fertilizer",
"product": "urea",
"ratePerHa": 200,
"pricePerUnit": 0.55,
"unit": "kg",
"side": "current",
"source": "Caller-supplied"
},
{
"id": "I3",
"category": "seed",
"product": "hybrid-corn",
"ratePerHa": 1,
"pricePerUnit": 320,
"unit": "bag",
"side": "prior",
"source": "Caller-supplied"
},
{
"id": "I4",
"category": "seed",
"product": "hybrid-corn",
"ratePerHa": 1,
"pricePerUnit": 340,
"unit": "bag",
"side": "current",
"source": "Caller-supplied"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "compared",
"pairCount": 2,
"items": [
{
"key": "fertilizer_urea_kg",
"leftId": "I1",
"rightId": "I2",
"category": "fertilizer",
"product": "urea",
"leftCostPerHa": 100,
"rightCostPerHa": 110,
"leftCostPerHaSupplied": true,
"rightCostPerHaSupplied": true,
"deltaPerHa": 10,
"deltaPerHaSupplied": true,
"currency": "USD",
"source": "Caller-supplied; Caller-supplied",
"paidCommodityFeedUsed": false
},
{
"key": "seed_hybrid_corn_bag",
"leftId": "I3",
"rightId": "I4",
"category": "seed",
"product": "hybrid-corn",
"leftCostPerHa": 320,
"rightCostPerHa": 340,
"leftCostPerHaSupplied": true,
"rightCostPerHaSupplied": true,
"deltaPerHa": 20,
"deltaPerHaSupplied": true,
"currency": "USD",
"source": "Caller-supplied; Caller-supplied",
"paidCommodityFeedUsed": false
}
],
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [
{
"kind": "conflict",
"code": "input_cost_delta",
"subject": "I1",
"detail": "Input cost per hectare delta 10."
},
{
"kind": "conflict",
"code": "input_cost_delta",
"subject": "I3",
"detail": "Input cost per hectare delta 20."
}
],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/input-cost-compare" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"inputCosts": [
{
"id": "I1",
"category": "fertilizer",
"product": "urea",
"ratePerHa": 200,
"pricePerUnit": 0.5,
"unit": "kg",
"side": "prior",
"source": "Caller-supplied"
},
{
"id": "I2",
"category": "fertilizer",
"product": "urea",
"ratePerHa": 200,
"pricePerUnit": 0.55,
"unit": "kg",
"side": "current",
"source": "Caller-supplied"
},
{
"id": "I3",
"category": "seed",
"product": "hybrid-corn",
"ratePerHa": 1,
"pricePerUnit": 320,
"unit": "bag",
"side": "prior",
"source": "Caller-supplied"
},
{
"id": "I4",
"category": "seed",
"product": "hybrid-corn",
"ratePerHa": 1,
"pricePerUnit": 340,
"unit": "bag",
"side": "current",
"source": "Caller-supplied"
}
]
}
JSONhttps://www.brainiac.software/api/v1/agriculture-intelligence/grain-quality-spec-validate$0.03 USDCValidate grain quality specs
Validate caller-supplied grain lot moisture, protein, test weight, foreign material, damage, and grade against supplied specs.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"grainSpecs": [
{
"id": "S1",
"commodity": "wheat",
"maxMoisturePct": 13.5,
"minProteinPct": 11,
"minTestWeight": 58,
"maxForeignMaterialPct": 2,
"maxDamagePct": 4,
"requiredGrade": "US No. 2",
"source": "Caller-supplied contract"
}
],
"grainLots": [
{
"id": "L1",
"lotId": "LOT-1",
"commodity": "wheat",
"moisturePct": 12.8,
"proteinPct": 12.1,
"testWeight": 60,
"foreignMaterialPct": 1.2,
"damagePct": 2,
"grade": "US No. 2",
"source": "Caller-supplied elevator"
},
{
"id": "L2",
"lotId": "LOT-2",
"commodity": "wheat",
"moisturePct": 14.2,
"proteinPct": 10.5,
"testWeight": 56,
"foreignMaterialPct": 2.5,
"damagePct": 5,
"grade": "US No. 3",
"source": "Caller-supplied elevator"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "validated",
"lotCount": 2,
"validCount": 1,
"items": [
{
"id": "L1",
"lotId": "LOT-1",
"commodity": "wheat",
"specId": "S1",
"moisturePct": 12.8,
"proteinPct": 12.1,
"testWeight": 60,
"foreignMaterialPct": 1.2,
"damagePct": 2,
"grade": "US No. 2",
"issues": [],
"valid": true,
"source": "Caller-supplied elevator; Caller-supplied contract",
"paidCommodityFeedUsed": false
},
{
"id": "L2",
"lotId": "LOT-2",
"commodity": "wheat",
"specId": "S1",
"moisturePct": 14.2,
"proteinPct": 10.5,
"testWeight": 56,
"foreignMaterialPct": 2.5,
"damagePct": 5,
"grade": "US No. 3",
"issues": [
"moisture_above_max",
"protein_below_min",
"test_weight_below_min",
"foreign_material_above_max",
"damage_above_max",
"grade_mismatch"
],
"valid": false,
"source": "Caller-supplied elevator; Caller-supplied contract",
"paidCommodityFeedUsed": false
}
],
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [
{
"kind": "conflict",
"code": "grain_spec_fail",
"subject": "L2",
"detail": "Grain lot failed spec checks: moisture_above_max, protein_below_min, test_weight_below_min, foreign_material_above_max, damage_above_max, grade_mismatch."
}
],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/grain-quality-spec-validate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"grainSpecs": [
{
"id": "S1",
"commodity": "wheat",
"maxMoisturePct": 13.5,
"minProteinPct": 11,
"minTestWeight": 58,
"maxForeignMaterialPct": 2,
"maxDamagePct": 4,
"requiredGrade": "US No. 2",
"source": "Caller-supplied contract"
}
],
"grainLots": [
{
"id": "L1",
"lotId": "LOT-1",
"commodity": "wheat",
"moisturePct": 12.8,
"proteinPct": 12.1,
"testWeight": 60,
"foreignMaterialPct": 1.2,
"damagePct": 2,
"grade": "US No. 2",
"source": "Caller-supplied elevator"
},
{
"id": "L2",
"lotId": "LOT-2",
"commodity": "wheat",
"moisturePct": 14.2,
"proteinPct": 10.5,
"testWeight": 56,
"foreignMaterialPct": 2.5,
"damagePct": 5,
"grade": "US No. 3",
"source": "Caller-supplied elevator"
}
]
}
JSONhttps://www.brainiac.software/api/v1/agriculture-intelligence/crop-insurance-evidence-check$0.03 USDCCheck crop insurance evidence
Check caller-supplied crop insurance evidence items against a required checklist. Coverage is not confirmed.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"requiredEvidence": [
"Acreage report",
"Production history",
"Planting date record",
"Notice of loss"
],
"evidenceItems": [
{
"id": "E1",
"label": "Acreage report",
"present": true,
"fieldId": "NORTH-40",
"crop": "corn",
"source": "Caller-supplied"
},
{
"id": "E2",
"label": "Production history",
"present": true,
"source": "Caller-supplied"
},
{
"id": "E3",
"label": "Planting date record",
"present": false,
"source": "Caller-supplied"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "checked",
"requiredCount": 4,
"presentCount": 2,
"missingCount": 2,
"items": [
{
"id": "E1",
"label": "Acreage report",
"present": true,
"fieldId": "NORTH-40",
"crop": "corn",
"source": "Caller-supplied",
"paidCommodityFeedUsed": false
},
{
"id": "E2",
"label": "Production history",
"present": true,
"fieldId": "",
"crop": "",
"source": "Caller-supplied",
"paidCommodityFeedUsed": false
},
{
"id": "E3",
"label": "Planting date record",
"present": false,
"fieldId": "",
"crop": "",
"source": "Caller-supplied",
"paidCommodityFeedUsed": false
},
{
"id": "REQ-4",
"label": "Notice of loss",
"present": false,
"fieldId": "",
"crop": "",
"source": "Required checklist",
"paidCommodityFeedUsed": false
}
],
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [
{
"kind": "conflict",
"code": "insurance_evidence_missing",
"subject": "E3",
"detail": "Crop insurance evidence not marked present: \"Planting date record\"."
},
{
"kind": "conflict",
"code": "insurance_evidence_missing",
"subject": "REQ-4",
"detail": "Crop insurance evidence not marked present: \"Notice of loss\"."
}
],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/crop-insurance-evidence-check" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"requiredEvidence": [
"Acreage report",
"Production history",
"Planting date record",
"Notice of loss"
],
"evidenceItems": [
{
"id": "E1",
"label": "Acreage report",
"present": true,
"fieldId": "NORTH-40",
"crop": "corn",
"source": "Caller-supplied"
},
{
"id": "E2",
"label": "Production history",
"present": true,
"source": "Caller-supplied"
},
{
"id": "E3",
"label": "Planting date record",
"present": false,
"source": "Caller-supplied"
}
]
}
JSONhttps://www.brainiac.software/api/v1/agriculture-intelligence/market-risk-report$0.08 USDCBuild agricultural market risk report
Aggregate weather exposure, calendar, yield, price, spread, fertilizer, input-cost, grain-quality, and insurance-evidence sections from caller-supplied agricultural records.
Body
| Field | Required | Notes |
|---|---|---|
text | No | string |
json | No | string |
csv | No | string |
file | No | object; Object |
files | No | array; Array |
weather | No | array; Array |
fields | No | array; Array |
calendars | No | array; Array |
yields | No | array; Array |
prices | No | array; Array |
inputCosts | No | array; Array |
grainLots | No | array; Array |
grainSpecs | No | array; Array |
evidenceItems | No | array; Array |
requiredEvidence | No | array; Array |
openMeteo | No | object; Object |
worldBank | No | object; Object |
asOf | No | string |
frostThresholdC | No | number |
droughtThresholdDays | No | number |
excessRainMm | No | number |
Request exampleJSON
{
"asOf": "2026-11-04T21:00:00.000Z",
"fields": [
{
"id": "F1",
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"source": "Caller-supplied"
}
],
"weather": [
{
"fieldId": "NORTH-40",
"at": "2026-06-01",
"temperatureC": 22,
"precipitationMm": 5,
"source": "Caller-supplied"
},
{
"fieldId": "NORTH-40",
"at": "2026-06-02",
"temperatureC": -1,
"precipitationMm": 0,
"frost": true,
"source": "Caller-supplied"
}
],
"calendars": [
{
"crop": "corn",
"stage": "planting",
"windowStart": "2026-04-15",
"windowEnd": "2026-05-20",
"eventAt": "2026-05-01",
"source": "Caller-supplied"
}
],
"yields": [
{
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"expectedYieldPerHa": 11.2,
"weatherStressFactor": 0.9,
"unit": "tonne",
"source": "Caller-supplied"
}
],
"prices": [
{
"commodity": "corn",
"at": "2026-11-01",
"price": 4.55,
"unit": "USD/bu",
"side": "spot",
"source": "Caller-supplied"
},
{
"commodity": "corn",
"at": "2026-11-01",
"price": 4.8,
"unit": "USD/bu",
"side": "futures",
"source": "Caller-supplied"
}
],
"inputCosts": [
{
"category": "fertilizer",
"product": "urea",
"ratePerHa": 200,
"pricePerUnit": 0.5,
"unit": "kg",
"side": "prior",
"source": "Caller-supplied"
},
{
"category": "fertilizer",
"product": "urea",
"ratePerHa": 200,
"pricePerUnit": 0.55,
"unit": "kg",
"side": "current",
"hectares": 40,
"source": "Caller-supplied"
}
],
"grainSpecs": [
{
"commodity": "wheat",
"maxMoisturePct": 13.5,
"minProteinPct": 11,
"source": "Caller-supplied"
}
],
"grainLots": [
{
"lotId": "LOT-1",
"commodity": "wheat",
"moisturePct": 12.8,
"proteinPct": 12.1,
"source": "Caller-supplied"
}
],
"requiredEvidence": [
"Acreage report",
"Notice of loss"
],
"evidenceItems": [
{
"label": "Acreage report",
"present": true,
"source": "Caller-supplied"
}
]
}Response exampleJSON
{
"checkedAt": "2026-11-04T21:00:00.000Z",
"status": "reported",
"asOf": "2026-11-04T21:00:00.000Z",
"sections": {
"weatherExposure": {
"fieldCount": 1,
"exposedFieldCount": 1
},
"calendars": {
"calendarCount": 1,
"validCount": 1
},
"yields": {
"estimateCount": 1,
"totalEstimatedYield": 403.2
},
"prices": {
"priceCount": 2
},
"spreads": {
"spreadCount": 1
},
"fertilizer": {
"itemCount": 2,
"totalCostPerHa": 210
},
"inputCosts": {
"pairCount": 1
},
"grainQuality": {
"lotCount": 1,
"validCount": 1
},
"insuranceEvidence": {
"requiredCount": 2,
"missingCount": 1
}
},
"paidProviderUsed": false,
"apiKeyRequired": false,
"paidCommodityFeedUsed": false,
"openMeteoFetched": false,
"worldBankFetched": false,
"findings": [
{
"kind": "conflict",
"code": "crop_weather_exposure",
"subject": "NORTH-40",
"detail": "Weather exposures: frost."
},
{
"kind": "conflict",
"code": "input_cost_delta",
"subject": "IN-1",
"detail": "Input cost per hectare delta 10."
},
{
"kind": "conflict",
"code": "insurance_evidence_missing",
"subject": "REQ-2",
"detail": "Crop insurance evidence not marked present: \"Notice of loss\"."
}
],
"limitations": [
"Agricultural fields, weather, calendars, yields, commodity prices, input costs, grain lots/specs, and insurance evidence are copied only from labeled fields supplied by the caller, or from key-free Open-Meteo / World Bank Open Data when explicitly requested.",
"No paid commodity feed or authenticated agricultural platform is used and no API key is required.",
"Missing values are not invented. Yield and cost calculations use only supplied quantities, rates, prices, and optional stress factors.",
"Crop calendars are validated against caller-supplied windows only—not regulatory planting mandates.",
"Market-risk reports aggregate only sections for which records were supplied or optionally fetched."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/agriculture-intelligence/market-risk-report" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"fields": [
{
"id": "F1",
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"source": "Caller-supplied"
}
],
"weather": [
{
"fieldId": "NORTH-40",
"at": "2026-06-01",
"temperatureC": 22,
"precipitationMm": 5,
"source": "Caller-supplied"
},
{
"fieldId": "NORTH-40",
"at": "2026-06-02",
"temperatureC": -1,
"precipitationMm": 0,
"frost": true,
"source": "Caller-supplied"
}
],
"calendars": [
{
"crop": "corn",
"stage": "planting",
"windowStart": "2026-04-15",
"windowEnd": "2026-05-20",
"eventAt": "2026-05-01",
"source": "Caller-supplied"
}
],
"yields": [
{
"fieldId": "NORTH-40",
"crop": "corn",
"hectares": 40,
"expectedYieldPerHa": 11.2,
"weatherStressFactor": 0.9,
"unit": "tonne",
"source": "Caller-supplied"
}
],
"prices": [
{
"commodity": "corn",
"at": "2026-11-01",
"price": 4.55,
"unit": "USD/bu",
"side": "spot",
"source": "Caller-supplied"
},
{
"commodity": "corn",
"at": "2026-11-01",
"price": 4.8,
"unit": "USD/bu",
"side": "futures",
"source": "Caller-supplied"
}
],
"inputCosts": [
{
"category": "fertilizer",
"product": "urea",
"ratePerHa": 200,
"pricePerUnit": 0.5,
"unit": "kg",
"side": "prior",
"source": "Caller-supplied"
},
{
"category": "fertilizer",
"product": "urea",
"ratePerHa": 200,
"pricePerUnit": 0.55,
"unit": "kg",
"side": "current",
"hectares": 40,
"source": "Caller-supplied"
}
],
"grainSpecs": [
{
"commodity": "wheat",
"maxMoisturePct": 13.5,
"minProteinPct": 11,
"source": "Caller-supplied"
}
],
"grainLots": [
{
"lotId": "LOT-1",
"commodity": "wheat",
"moisturePct": 12.8,
"proteinPct": 12.1,
"source": "Caller-supplied"
}
],
"requiredEvidence": [
"Acreage report",
"Notice of loss"
],
"evidenceItems": [
{
"label": "Acreage report",
"present": true,
"source": "Caller-supplied"
}
]
}
JSON