Skip to main content
USDA National Agricultural Statistics Service API providing crop production, livestock inventories, commodity prices, and farm economics data. Best for agricultural market analysis, commodity price tracking, or supply chain workflows that depend on crop yield forecasts. The authoritative source for U.S. agricultural data — no commercial alternative covers the breadth of NASS surveys. 1 example endpoint available through Lava’s AI Gateway. See the USDA API docs for full documentation.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://quickstats.nass.usda.gov/api is supported. USDA NASS QuickStats API. Construct URL as https://quickstats.nass.usda.gov/api/{endpoint}. Common endpoints: /api_GET/?source_desc=SURVEY&commodity_desc=CORN&year=2024, /get_param_values/?param=commodity_desc, /get_counts/?commodity_desc=CORN. Auth params (key, format) are added automatically. The endpoints below are curated examples.

Endpoints

Query agricultural statistics

GET https://quickstats.nass.usda.gov/api/api_GET/?source_desc=SURVEY&commodity_desc=CORN&year=2024 — Free
const data = await lava.gateway('https://quickstats.nass.usda.gov/api/api_GET/?source_desc=SURVEY&commodity_desc=CORN&year=2024', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests