Commodity Price Aggregator — EIA Energy & USDA Crop Prices avatar

Commodity Price Aggregator — EIA Energy & USDA Crop Prices

Pricing

Pay per event

Go to Apify Store
Commodity Price Aggregator — EIA Energy & USDA Crop Prices

Commodity Price Aggregator — EIA Energy & USDA Crop Prices

Energy and commodity price data from US government APIs. Fetches crude oil (Brent/WTI), petroleum products, and natural gas from the EIA API, plus agricultural prices (corn, soybeans, wheat, cotton) from USDA NASS. Includes spot prices, settlement dates, units, and region.

Pricing

Pay per event

Rating

0.0

(0)

Developer

BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Aggregate commodity price data from US government APIs. Fetches energy prices (crude oil Brent/WTI, petroleum products, natural gas) from the EIA API and agricultural prices (corn, soybeans, wheat, cotton) from the USDA NASS Quick Stats API.

What it does

The actor queries two US federal government data APIs and returns structured commodity price records:

  • EIA (Energy Information Administration): Daily petroleum spot prices (Brent, WTI, diesel, propane, heating oil), weekly retail gasoline/diesel prices, and monthly natural gas prices.
  • USDA NASS Quick Stats: Monthly farm-level prices received for corn, soybeans, wheat, and cotton (requires a free API key).

No browser automation needed — both sources are clean REST APIs with JSON responses.

Output fields

FieldDescription
sourceData source: EIA or USDA-NASS
commodityCommodity name (e.g. UK Brent Crude Oil, Natural Gas, Corn)
marketMarket identifier (EIA-Spot or NASS-Received)
series_idSource series code (e.g. RBRTE for Brent crude)
series_descriptionFull series description from the source API
settlement_dateDate of the price record (YYYY-MM-DD or YYYY-MM)
pricePrice as a decimal number
unitPrice unit (e.g. $/BBL, $/MCF, $/GAL, $/BU)
currencyCurrency code (always USD)
frequencyData frequency: daily, weekly, or monthly
regionGeographic area (e.g. U.S., Los Angeles, Europe)
gradeCommodity grade (Brent, WTI, Gasoline, Diesel, Natural Gas, etc.)
processPrice type (e.g. Spot Price FOB, Price Delivered to Residential)
product_codeRaw product code from the source API

Input parameters

ParameterRequiredDefaultDescription
commodityCategoryNoenergyWhich category: energy, natural_gas, agriculture, or all
eiaApiKeyNoFree EIA API key for higher rate limits. Register at eia.gov/opendata
nassApiKeyRequired for agricultureFree USDA NASS key. Register at quickstats.nass.usda.gov/api
startDateNo90 days agoStart date (YYYY-MM-DD for energy; YYYY-MM for gas/agriculture)
endDateNoTodayEnd date
maxItemsNo100Maximum records to return

Example output

{
"source": "EIA",
"commodity": "UK Brent Crude Oil",
"market": "EIA-Spot",
"series_id": "RBRTE",
"series_description": "Europe Brent Spot Price FOB (Dollars per Barrel)",
"settlement_date": "2024-01-02",
"price": 76.24,
"unit": "$/BBL",
"currency": "USD",
"frequency": "daily",
"region": "NA",
"grade": "Brent",
"process": "Spot Price FOB",
"product_code": "EPCBRENT"
}

API keys

Use cases

  • Track Brent and WTI crude oil spot prices for trading dashboards
  • Monitor US retail gasoline and diesel price trends
  • Analyze natural gas price movements by region
  • Build commodity price datasets for algorithmic trading (CTA strategies)
  • Feed agricultural commodity prices into agri-fintech applications
  • Research energy market correlations and seasonality

Data coverage

SourceCommodityFrequencyCoverage
EIAPetroleum spot prices (Brent, WTI, diesel, propane)Daily1986–present
EIARetail gasoline and dieselWeekly1995–present
EIANatural gas (residential, commercial, industrial)Monthly1989–present
USDA NASSCorn, soybeans, wheat, cottonMonthly~1900s–present

Notes

  • The EIA API returns up to 5,000 records per request; the actor paginates automatically.
  • USDA NASS data reflects prices received by farmers, not futures or exchange prices.
  • LME metals (copper, aluminum, zinc) and CME futures are not included in this version.