Usda Nass Agricultural Data avatar

Usda Nass Agricultural Data

Pricing

from $3.50 / 1,000 results

Go to Apify Store
Usda Nass Agricultural Data

Usda Nass Agricultural Data

Pricing

from $3.50 / 1,000 results

Rating

0.0

(0)

Developer

Fortuitous Pirate

Fortuitous Pirate

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Categories

Share

USDA NASS - Agricultural Data Scraper

Overview

Scrape USDA National Agricultural Statistics Service (NASS) Quick Stats database for commodity data, crop reports, livestock data, prices, production values, acreage, and yields by state/region. Agricultural Data Scraper. Supports filters (Statistic Category, State).

Features

  • Search by keywords to find specific results
  • Filter results by category or type
  • Export data in JSON, CSV, or Excel formats
  • Captures pricing information
  • Control output volume with configurable result limits

Use Cases

  • Track - Track federal government data releases and updates
  • Build - Build datasets for policy research and analysis
  • Monitor - Monitor regulatory changes and compliance requirements
  • Aggregate - Aggregate public government data for transparency projects

Input Parameters

ParameterTypeDescriptionDefault
apiKeystring (required)Your USDA NASS Quick Stats API key. Get one free at https://quickstats.nass.u...
commoditystringCommodity to search for (e.g., CORN, SOYBEANS, WHEAT, CATTLE, HOGS). Leave em...``
sectorstringSector filter: CROPS, ANIMALS & PRODUCTS, DEMOGRAPHICS, ECONOMICS, ENVIRONMENTAL``
statisticCategorystringType of statistic: PRODUCTION, AREA HARVESTED, YIELD, PRICE RECEIVED, INVENTO...``
statestringTwo-letter state code (e.g., IA, IL, TX) or leave empty for all states. Use '...``
yearStartintegerStarting year for data (earliest available is typically 1866 for some crops)2020
yearEndintegerEnding year for data2025
frequencystringFrequency of data: ANNUAL, MONTHLY, WEEKLYANNUAL
aggregationLevelstringLevel of geographic detailSTATE
maxItemsintegerMaximum number of records to retrieve (API limit is 50,000 per request)1000
outputFormatstringFormat of the output datafull

Output Example

Each result contains structured data like this:

{
"title": "Sample Government - Federal Result",
"agency": "Department of Commerce",
"date": "2025-01-15",
"description": "Detailed description of the item...",
"documentUrl": "https://example.com/item/12345",
"category": "Standard",
"url": "https://example.com/item/12345"
}

Pricing

This actor uses pay-per-result pricing:

  • $0.001 per result
  • $1.00 per 1,000 results

No monthly fees. You only pay for what you scrape. Apify Free plan includes $5/month in platform credits.

How to Run

Apify Console

  1. Go to the USDA NASS - Agricultural Data Scraper actor page
  2. Configure your input parameters
  3. Click Start and wait for the results
  4. Download data in JSON, CSV, or Excel format

API

curl -X POST "https://api.apify.com/v2/acts/fortuitous_pirate~usda-nass-agricultural-data/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"maxItems": 10}'

Python SDK

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("fortuitous_pirate/usda-nass-agricultural-data").call(
run_input={"maxItems": 10}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Integration

Connect USDA NASS - Agricultural Data Scraper with your existing tools and workflows:

  • API access - Programmatic access via Apify API
  • Webhooks - Get notified when scraping completes
  • Scheduling - Set up recurring runs on any schedule
  • Zapier / Make - Connect with 5,000+ apps via Apify integrations
  • Python / Node.js SDKs - Native client libraries for easy integration