Soybean Yield Data JSON
Use the USDA NASS county crop yields cache to query annual county-level soybean yield data from static JSON files served by jsDelivr.
Point lookup
The soybean commodity slug is plural: soybeans. Fetch the county/crop leaf and read the canonical series.
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/19/counties/169/soybeans.json
Example: Story County, Iowa soybean yield 2024
curl -s "https://cdn.jsdelivr.net/gh/ProductOfAmerica/usda-county-yields@main/data/states/19/counties/169/soybeans.json" \
| jq '.series[] | select(.canonical) | .values["2024"]'
# 63.2
Batch query
For all Iowa counties in one soybean request, use the state/crop rollup.
GET https://cdn.jsdelivr.net/gh/ProductOfAmerica/usda-county-yields@main/data/states/19/crops/soybeans.json