agriculture

USDA NASS QuickStats - authoritative US agricultural...

USDA NASS QuickStats — authoritative US agricultural statistics: crop yields, acreage, production, livestock inventory, and prices received. Filter by commodity (e.g. CORN, SOYBEANS, CATTLE), year (or year__GE/year__LE range), state (2-letter), county, statistic category (YIELD, PRODUCTION, AREA HARVESTED, PRICE RECEIVED), and aggregation level (NATIONAL/STATE/COUNTY). Returns normalized rows with value + unit. QuickStats caps results at 50,000 rows, so narrow broad queries (a 400 RESULT_TOO_LARGE tells you to add filters). Public-domain federal data.

get/api/agriculture/stats

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/agriculture/stats
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

commodity_descstring required

Commodity desc.

yearstring

Four-digit calendar year.

year__GEstring

Year ge.

year__LEstring

Year le.

state_alphastring

State alpha.

county_namestring

County name.

statisticcat_descstring

Statisticcat desc.

agg_level_descstring

Agg level desc.

short_descstring

Short desc.

freq_descstring

Freq desc.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.