Agriculture Statistics
Crop and livestock statistics of one commodity since 2000: production, value of production, yield, area planted and harvested, prices received by farmers and inventories, for the US, a state or a county. view=series gives the values over time, view=ranking ranks the states (or the counties of a state) on one statistic and period, and view=list shows which statistics exist.
Before the first data load the answer has note: "Data is being prepared". An unknown commodity answers 404.
Request
- Base URL: https://api.dataporium.io
- URL: https://api.dataporium.io/agriculture/stats
- Auth: API key in query parameter apikey
Query parameters
corn, soybeans, wheat, cotton, rice, sorghum, barley, oats, hay, peanuts, sugar_beets, potatoes, cattle or hogs
series (default), ranking or list
production, production_value, yield, area_planted, area_harvested, price_received or inventory
all (default) or a class such as winter, upland or beef_cows
Unit, for example bu, bu_per_acre, acres, usd_per_bu, head (default: the main unit)
annual, marketing_year, monthly or point
US state code or name (series: that state; ranking: its counties)
5-digit county code (series)
Ranking: state (default) or county
Ranking: the year (YYYY) or day (YYYY-MM-DD)
First period: YYYY, YYYY-MM or YYYY-MM-DD
Last period: YYYY, YYYY-MM or YYYY-MM-DD
Values (series, up to 5000) or rows (ranking, up to 1000) per page
Values or rows to skip, for paging
Response
Successful response (JSON).
Changes
No recorded changes to this operation across all 1 revision of this API.