EIA Weekly Petroleum Stocks API

Weekly US inventories of crude oil, gasoline, distillate, jet fuel and propane, nationally or by PADD region, in thousand barrels with the change from the prior week already worked out.

$1 per 1,000 records

You pay only for the records you get. Zero records cost zero. 5,000 free records to start, no card.

Try it
Ready-made, maintained by usRecords, 5 fieldsv1.0

Data from eia.gov/dnav/pet/pet_stoc_wstk_dcu_nus_w.htm

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Productoptional
crude, gasoline, distillate, jet_fuel or propane.
Weeksoptional
How many of the latest weeks to return.
Example: 12
Regionoptional
US or PADD 1 to PADD 5 (PADD 1 East Coast, 2 Midwest, 3 Gulf Coast, 4 Rocky Mountain, 5 West Coast).

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 5,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/eia-weekly-petroleum-stocks/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
5,000 free records to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/eia-weekly-petroleum-stocks/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"product":"crude"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

producttext
crude, gasoline, distillate, jet_fuel or propane.
default: crudeexample: crudeone of: crude, gasoline, distillate, jet_fuel, propane
weeksnumber
How many of the latest weeks to return.
default: 12example: 12
regiontext
US or PADD 1 to PADD 5 (PADD 1 East Coast, 2 Midwest, 3 Gulf Coast, 4 Rocky Mountain, 5 West Coast).
default: USexample: USone of: US, PADD 1, PADD 2, PADD 3, PADD 4, PADD 5

What's in each record

5 fields.

Basics

  • Product

    crude, gasoline, distillate, jet_fuel or propane.

    Example crude

  • Stocks thousand barrels

    Ending stocks in thousand barrels.

    Example 422,194

  • Change vs prior week

    Change in thousand barrels from the week before.

    Example 3,288

Location

  • Region

    US or a PADD region.

    Example US

Dates

  • Week ending

    The Friday the weekly stocks are measured at.

    Example Nov 27, 2026

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
producttextProduct3 of 3
regiontextRegion3 of 3
week_endingdateWeek ending3 of 3
stocks_thousand_barrelsnumberStocks thousand barrels3 of 3
change_vs_prior_weeknumberChange vs prior week3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordProductStocks thousand barrelsChange vs prior weekRegionWeek ending
1crude422,1943,288USNov 27, 2026
2crude418,9061,109USNov 20, 2026
3crude417,7973,380USNov 13, 2026

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Five products only: commercial crude oil (excluding the Strategic Petroleum Reserve), total gasoline, distillate fuel oil, kerosene-type jet fuel and propane/propylene.
  • Regions are the US total and the five PADD regions; EIA publishes no weekly propane stocks for PADD 4 and PADD 5.
  • EIA releases the weekly figures on Wednesdays (Thursday after a holiday) for the week ended the prior Friday; stocks are revised rarely.
  • change_vs_prior_week is computed from EIA's two consecutive weekly values; it is empty only for the oldest week EIA has in its history.
  • Each run reads one EIA history page (the full weekly history, up to about 0.2 MB) and returns the latest weeks, newest first.
  • US government data in the public domain; credit the US Energy Information Administration when you republish it.

Version history

A run uses the live version unless the request names another one with version.