Wheat Yield Data JSON
Use the USDA NASS county crop yields cache to query annual county-level wheat yield data from static JSON files served by jsDelivr.
Point lookup
Wheat leaves can include multiple series such as all classes, winter, or spring wheat. Prefer the series marked with "canonical": true.
GET https://cdn.jsdelivr.net/gh/ProductOfAmerica/usda-county-yields@main/data/index.json
GET https://cdn.jsdelivr.net/gh/ProductOfAmerica/usda-county-yields@main/data/states/17/counties/001/wheat.json
Example: Adams County, Illinois wheat yield 2024
curl -s "https://cdn.jsdelivr.net/gh/ProductOfAmerica/usda-county-yields@main/data/states/17/counties/001/wheat.json" \
| jq '.series[] | select(.canonical) | .values["2024"]'
# 76.4
Batch query
For all Illinois counties in one wheat request, use the state/crop rollup.
GET https://cdn.jsdelivr.net/gh/ProductOfAmerica/usda-county-yields@main/data/states/17/crops/wheat.json