Commodity Price Aggregator — EIA Energy & USDA Crop Prices avatar

Commodity Price Aggregator — EIA Energy & USDA Crop Prices

Pricing

from $1.25 / 1,000 record scrapeds

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

from $1.25 / 1,000 record scrapeds

Rating

0.0

(0)

Developer

BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

5 days ago

Last modified

Share

Commodity Price Aggregator — EIA Oil, Gas & USDA Crop Prices

Fetch structured commodity price data from two US federal government APIs: energy prices (crude oil Brent and WTI, petroleum products, natural gas) from the EIA API and agricultural prices (corn, soybeans, wheat, cotton) from the USDA NASS Quick Stats API. No browser automation — both sources are clean REST APIs.

What does the Commodity Price Aggregator do?

The actor queries the EIA (Energy Information Administration) and USDA National Agricultural Statistics Service APIs and returns normalized price records across four commodity categories. Each record carries the source series ID, date, price, unit, frequency, region, and grade — giving you everything needed to join records, pivot on series, or build time-series charts without further cleanup.

EIA data covers daily petroleum spot prices (Brent, WTI, diesel, propane, heating oil), weekly retail gasoline and diesel prices, and monthly natural gas prices. USDA NASS data covers monthly farm-level prices received for corn, soybeans, wheat, and cotton.

Note on the agriculture category: If nassApiKey is omitted when commodityCategory includes agriculture, the agriculture fetch is skipped rather than failing the run. Set commodityCategory to energy or natural_gas if you do not have a NASS key.

What data does it extract?

FieldDescription
sourceData source: EIA or USDA-NASS
commodityCommodity name (e.g. UK Brent Crude Oil, Natural Gas, Corn)
marketMarket identifier (e.g. EIA-Spot, NASS-Received)
series_idSource series code (e.g. RBRTE for Brent crude, RCLCO1 for WTI)
series_descriptionFull series description from the source API
settlement_dateDate of the price record (YYYY-MM-DD for daily/weekly; YYYY-MM for monthly)
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

Data coverage

SourceCommodityFrequencyHistory
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
Not coveredLME metals (copper, aluminum, zinc), CME futures——

How to use it

{
"commodityCategory": "energy",
"startDate": "2024-01-01",
"endDate": "2024-12-31",
"maxItems": 0
}

Returns all EIA petroleum spot price records for 2024 (Brent and WTI spot prices use series_id RBRTE and RCLCO1 respectively).

{
"commodityCategory": "agriculture",
"nassApiKey": "YOUR_NASS_KEY",
"startDate": "2023-01",
"maxItems": 0
}

Returns all USDA NASS farm-level prices for corn, soybeans, wheat, and cotton from January 2023.

ParameterDefaultDescription
commodityCategoryenergyenergy, natural_gas, agriculture, or all (energy + natural gas)
eiaApiKey—Optional. Free EIA key for higher rate limits. A built-in demo key covers standard volumes. Register at eia.gov/opendata
nassApiKey—Required for agriculture. Free key from quickstats.nass.usda.gov/api. Omitting this when commodityCategory includes agriculture causes the agriculture fetch to be skipped
startDate30 days agoYYYY-MM-DD for energy; YYYY-MM for natural gas and agriculture
endDateTodayLatest settlement date to include
maxItems100Max records to return. Set to 0 for all available

Use cases

  • Trading dashboards — pull Brent (series_id=RBRTE) and WTI (series_id=RCLCO1) daily spot prices and feed them directly into a price display or alert system
  • Retail fuel price monitoring — track weekly US gasoline and diesel retail prices by region from the EIA series
  • Natural gas market analysis — pull monthly residential, commercial, and industrial natural gas prices by US region
  • Agri-fintech applications — feed USDA NASS corn, soybean, and wheat farm-price series into crop revenue models
  • Quantitative research — build multi-commodity time-series datasets spanning decades for backtesting or seasonality analysis

FAQ

How do I find the series ID for a specific commodity?

Each record in the output carries a series_id field matching the EIA or NASS source code. For EIA petroleum: Brent crude = RBRTE, WTI crude = RCLCO1, US retail gasoline = EMM_EPM0_PTE_NUS_DPG. Filter the output by series_id to isolate a specific series.

Does the EIA key matter?

The actor includes a built-in demo EIA key that works for standard volumes. If you run into rate limiting on large historical pulls, register your own free key at eia.gov/opendata and pass it as eiaApiKey.


Results export as JSON, CSV, or Excel from the Apify dataset view.