USDA NASS Test
Pricing
$3.00 / 1,000 result item returneds
Go to Apify Store
Pricing
$3.00 / 1,000 result item returneds
Rating
0.0
(0)
Developer
Andrew Avina
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 days ago
Last modified
Categories
Share
USDA NASS MCP
Query USDA National Agricultural Statistics Service (NASS) crop yields, livestock inventories, and farm production data via the NASS Quick Stats API. Returns structured records by commodity, state, year, and statistic category.
Input
| Field | Type | Default | Description |
|---|---|---|---|
commodity | string | "CORN" | Commodity/crop name (e.g. CORN, SOYBEANS, WHEAT, CATTLE, MILK) |
state | string | "" | Two-letter state abbreviation (e.g. IA, TX); omit for national |
statistic | string | "YIELD" | Statistic category: YIELD, PRODUCTION, AREA HARVESTED, INVENTORY, PRICE RECEIVED |
year | integer | 2023 | Survey year |
sector | string | "" | Sector filter: CROPS, ANIMALS & PRODUCTS, ECONOMICS |
limit | integer | 10 | Max records to return (1–100) |
api_key | string | "" | NASS API key (optional; free at quickstats.nass.usda.gov) |
Output Fields
| Field | Description |
|---|---|
commodity_desc | Commodity name (CORN, SOYBEANS, CATTLE, etc.) |
class_desc | Class/variety (ALL CLASSES, UPLAND, etc.) |
prodn_practice_desc | Production practice (ALL PRODUCTION PRACTICES, IRRIGATED, etc.) |
util_practice_desc | Utilization practice (GRAIN, SILAGE, etc.) |
statisticcat_desc | Statistic category (YIELD, PRODUCTION, INVENTORY, etc.) |
unit_desc | Unit of measure (BU / ACRE, HEAD, LB, CWT, etc.) |
sector_desc | Sector (CROPS, ANIMALS & PRODUCTS, etc.) |
group_desc | Group (FIELD CROPS, LIVESTOCK, VEGETABLES, etc.) |
state_name | State name or "US TOTAL" for national |
state_alpha | Two-letter state abbreviation or "US" |
agg_level_desc | Aggregation level (NATIONAL, STATE, COUNTY) |
year | Survey year |
period_desc | Period (YEAR, JAN FIRST, MARKETING YEAR, etc.) |
value | Numeric value (null if suppressed) |
cv_pct | Coefficient of variation (%) |
domaincat_desc | Domain category (NOT SPECIFIED, by size class, etc.) |
freq_desc | Frequency (ANNUAL, MONTHLY, WEEKLY) |
Data Source
USDA NASS Quick Stats API — https://quickstats.nass.usda.gov/api
Covers annual crop surveys, census data, and livestock reports from 1866 to present. Free API key available at quickstats.nass.usda.gov.
Example Use Cases
- Track corn and soybean yield trends by state for commodity analysis
- Compare livestock inventory levels across cattle, hog, and poultry sectors
- Analyze crop production by county for agricultural lending decisions
- Build farm economics dashboards for ag-finance and food supply chain research