Usda Crop Data Scraper avatar

Usda Crop Data Scraper

Pricing

Pay per usage

Go to Apify Store
Usda Crop Data Scraper

Usda Crop Data Scraper

Usda Crop Data Scraper. Extract structured data with automatic pagination, proxy rotation, and JSON/CSV export. Pay only for results.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Donny

Donny

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Categories

Share

What it does

USDA Crop Data Scraper extracts agricultural crop production data from the USDA National Agricultural Statistics Service (NASS) QuickStats database. It retrieves production volumes, crop yields, and harvested acreage for any commodity by state and year. The actor queries multiple USDA API endpoints to combine production, yield, and area data into comprehensive crop statistics records.

Why use it

Access to USDA crop data is essential for agricultural commodity traders, farm management companies, agricultural researchers, policy analysts, food industry supply chain planners, and agtech startups. While the USDA website provides data access, this actor automates the extraction and structuring of data for programmatic use. Get clean, standardized data that integrates directly into your analytics pipelines, trading models, or research databases.

How it works

  1. The actor validates the provided USDA API key and search parameters.
  2. It queries the USDA NASS QuickStats API for production data matching the specified commodity and year.
  3. Parallel requests fetch yield and harvested area data for the same parameters.
  4. Data is cross-referenced by state to combine production, yield, and acreage in each record.
  5. Results are pushed to the Apify dataset with standardized field names.
  6. If no API key is provided, the actor outputs instructions for obtaining a free key.

Input parameters

ParameterTypeDefaultDescription
apiKeystring(required)USDA QuickStats API key (free at https://quickstats.nass.usda.gov/api)
commoditystring"CORN"Agricultural commodity (e.g., CORN, WHEAT, SOYBEANS, COTTON)
yearstring"2023"Year for crop data
statestring(optional)US state to filter results (e.g., IOWA, ILLINOIS)

Output fields

FieldTypeDescription
commoditystringCommodity name
statestringUS state or US TOTAL
yearstringData year
productionnumberTotal production volume
yieldnumberYield per acre
acresnumberHarvested acreage
unitstringUnit of measurement (e.g., BU for bushels)
sourcestringData source attribution

Cost estimate

The USDA QuickStats API is completely free with a registered API key. The pay-per-event pricing is $0.00075 per result. Retrieving all state-level data for a commodity typically returns 40-60 records, costing approximately $0.03-$0.045. Memory usage is minimal at 512 MB default.

Tips