Carriers and freight brokers
Weekly diesel figures to update fuel surcharges on time.
Atoms / Web Scraping / Finance and energy data / EIA scraper
Energy data · weekly gasoline and diesel prices by regionEvery week the U.S. Energy Information Administration publishes retail prices for regular gasoline and on-highway diesel: the national figure, the PADD regions and sub-regions, selected states and major cities, each with the last three weekly values and the change from a week, a year and two years ago, plus the next release date. Many fuel surcharge tables in freight contracts are tied to these weekly diesel figures. Carriers and shippers use the data to calculate surcharges on time, fleets to budget by region, and analysts to build official weekly series alongside daily sources. We can collect EIA weekly price tables and related pages you choose and deliver them as files, feeds or a custom API.
Tell us which data you need. We'll confirm the scope and prepare a sample for your review. No prepayment.
The weekly EIA diesel figure is written into many freight contracts. These teams need it the moment it is published.
Weekly diesel figures to update fuel surcharges on time.
The official figure to check surcharges on carrier invoices.
PADD and state prices for budgeting by region.
Weekly series to sit beside daily and station data.
Gaps between regions, states and cities over time.
Weekly changes ready for coverage.
Available data may include what a visitor sees on public EIA pages, for the fuels, regions and tables in the agreed scope. The final field list is confirmed for your project.
| Data | What it is | Example | What it is used for |
|---|---|---|---|
Fuel | Regular gasoline or on-highway diesel | On-highway diesel | Fuel segmentation |
Area | U.S., PADD region, state or city | Gulf Coast (PADD3) | Geography |
Week | Weekly price date | 2026-10-19 | Time series |
Price | Dollars per gallon | 4.610 | Benchmarks |
Week change | Change from a week ago | +0.035 | Weekly movement |
Year change | Change from a year ago | +0.980 | Annual movement |
Two-year change | Change from two years ago | +1.150 | Longer view |
Release date | Date the table was released | 2026-10-20 | Provenance |
Next release | Scheduled next release | 2026-10-27 | Scheduling |
Area level | Nation, region, sub-region, state, city | Sub-region | Grouping |
Data shown publicly on EIA pages, within the scope confirmed for your project. Values are delivered as published, with release dates kept so revisions can be tracked.
Six ways freight and energy teams use EIA fuel price data. Each one reads the same weekly tables differently.
Surcharge tables depend on the weekly diesel figure.
U.S. and PADD diesel prices on each release.
Figures can be pushed to billing systems as soon as they appear.
Surcharges updated without manual checks.
Shippers need the official figure for each invoice week.
Weekly diesel prices with dates.
Invoice surcharges can be compared with the figure for that week.
An invoice check report.
Fleets run in regions with different prices.
PADD, state and city prices.
Prices can be matched to each fleet's region.
Regional fuel budgets.
Analysts check daily averages against official weekly data.
Weekly EIA series by area.
Series can be aligned by date with daily sources.
A cross-source comparison table.
Some regions move apart sharply.
Region and city prices with changes.
Spreads can be calculated each week.
A spread chart for reports.
Teams need to know when the next figure lands.
Release and next-release dates.
A calendar can be maintained automatically.
A release calendar with alerts.
Tell us which data you need — surcharge updates, invoice checks, regional budgets or official series — and we'll confirm the scope and prepare a sample.
A spreadsheet with one row per fuel, area and week. Columns are set to your task.
| Week | Fuel | Area | Level | Price | Week chg | Year chg | Released |
|---|---|---|---|---|---|---|---|
2026-10-19 | Diesel | U.S. | Nation | 4.950 | +0.040 | +1.020 | 2026-10-20 |
2026-10-19 | Diesel | Gulf Coast (PADD3) | Region | 4.610 | +0.035 | +0.980 | 2026-10-20 |
2026-10-19 | Gasoline | U.S. | Nation | 3.880 | −0.030 | +0.610 | 2026-10-20 |
2026-10-19 | Gasoline | Texas | State | 3.420 | −0.050 | +0.540 | 2026-10-20 |
2026-10-19 | Gasoline | Houston | City | 3.390 | −0.040 | +0.520 | 2026-10-20 |
Illustrative Data Sample. Example of a possible data export. Actual fields depend on the agreed scope, source availability and permitted access. Prices are made up.
We can deliver the data as CSV, Excel or JSON files or a Google Sheet, and scope feeds into your TMS, ERP, BI dashboards, databases or a custom API based on your workflow.
A file on each weekly release.
Shared weekly tables, updated on release.
Diesel figures pushed into billing or TMS — agreed during scoping.
Tables for Power BI, Tableau or Looker, a warehouse, webhooks or a REST API — agreed during scoping.
No prepayment: you review the sample first and pay for the agreed work only after accepting the result.
1Request
The EIA data, the area and the fields you need, and how often. Two lines are enough.
You getA confirmed scope
2Review
We confirm the scope and prepare a sample of the agreed size for your review.
You getData you can check
3Run
If the sample fits, we agree the schedule and price. You pay for the agreed work after accepting the result.
You getData on your schedule
Tell us which data you need. We'll confirm the scope and prepare a sample for your review.
Short answers for business owners and teams.
For developers, CTOs and data teams: the EIA fuel price data schema, collection challenges, custom EIA data API delivery, output formats and technical FAQ.
Records are keyed by fuel, area and week, delivered in a stable schema adapted to your system.
| Field group | Typical fields | Notes |
|---|---|---|
Release | release_id, fuel, release_date, next_release_date, checked_at | Per release |
Area | area_id, name, level (nation/region/subregion/state/city), padd_code | Geography |
Price | release_id, fuel, area_id, week_date, price_usd_gal | Weekly values |
Change | release_id, fuel, area_id, chg_week, chg_year, chg_2y | Published changes |
Series | fuel, area_id, week_date, price_usd_gal, first_release_id | History |
Revision | fuel, area_id, week_date, old_value, new_value, release_id | Revisions |
Surcharge | contract_id, week_date, base_price, fuel_price, surcharge | Derived (optional) |
Mapping | area_id, external_code | Standard codes |
Matching | area_id, external_source, external_id | Cross-source matching |
EIA tables are clear, but they are wide, weekly and occasionally revised. These are the main challenges and how a custom EIA data service can address them.
Collection is paced and scheduled to keep load low, monitored for gaps and re-run where needed. We do not publish technical methods for working around site protections.
Each table carries three weeks and three change columns. Values are reshaped into one row per area and week.
Regions contain sub-regions, and states and cities follow. Each row keeps its level and parent.
Tables update on a weekly schedule, sometimes shifted by holidays. Collection follows the stated next release date.
A week's value can change in a later release. Each release is stored so revisions are visible.
Prices use three decimals. Values are stored exactly.
Gasoline and diesel tables share a layout. Fuel type is taken from each table's heading.
Atoms can build a custom API to deliver data collected from EIA pages, based on your required fields, fuels, areas, schedule and integration needs — weekly prices as structured JSON. It is a data delivery service built for your project, not an EIA API.
Your systems call a REST API set up for your project and receive JSON; scheduled files can run alongside it.
Fuel, area, level, week, price, changes and release dates.
Filter by fuel, level, area or date range; results are paginated.
Collection runs on release day, with webhooks when new figures arrive.
Feeds can power TMS and billing systems, fleet tools or BI dashboards.
Endpoints such as latest diesel, surcharge for a contract or regional spreads can be designed for your workflow, with API keys.
Request — example endpoints
GET /api/prices/latest?fuel=diesel&level=region
GET /api/prices?fuel=gasoline&area=texas&from=2026-01-01
GET /api/releases/next
GET /api/surcharge?contract=example-fsc&week=2026-10-19
Webhook (sent to your URL)
POST https://your-app.example/hooks/eia
{"event": "new_release", "fuel": "diesel", "week": "2026-10-19", "us_price": 4.950}Response — JSON
{
"fuel": "diesel",
"week": "2026-10-19",
"release_date": "2026-10-20",
"results": [
{"area": "U.S.", "level": "nation", "price": 4.950, "chg_week": 0.040},
{"area": "Gulf Coast (PADD3)", "level": "region", "price": 4.610, "chg_week": 0.035}
]
}Illustrative API example. Endpoint structure and available fields are defined for each project.
A typical stack, and where the effort actually goes.
Weekly-table scrapers are commonly written in Python with an HTTP client and an HTML parser, Postgres for series and releases, and a scheduler tied to the release calendar.
The code is the smaller part. The ongoing work is reshaping wide tables, keeping area levels, storing releases for revisions and timing collection to the schedule. That is the work a managed service can take off your team, on agreed terms.
Whatever the stack, a weekly-price pipeline should be judged by speed after release, exact values, revision tracking and how quickly it recovers when pages change.
Standard outputs are CSV, Excel, JSON and Google Sheets. TMS, ERP, BI, database, warehouse, webhook and API integrations are scoped per project.
JSON — one record (illustrative)
{
"fuel": "gasoline",
"area": "Houston",
"level": "city",
"series": [
{"week": "2026-10-05", "price": 3.470},
{"week": "2026-10-12", "price": 3.430},
{"week": "2026-10-19", "price": 3.390}
]
}CSV — change events (illustrative)
week,fuel,area,level,price,chg_week,chg_year,release_date
2026-10-19,diesel,U.S.,nation,4.950,0.040,1.020,2026-10-20
2026-10-19,diesel,Gulf Coast (PADD3),region,4.610,0.035,0.980,2026-10-20
2026-10-19,gasoline,Texas,state,3.420,-0.050,0.540,2026-10-20Field names, IDs, values and endpoints are illustrative. Standard options: CSV, Excel, JSON, Google Sheets. Scoped per project: Parquet files, Postgres, BigQuery or Snowflake tables, webhooks, a REST API, TMS and BI integrations.
Each option fits different teams. A managed service makes sense when you need your own tables, fields and integrations, regular updates and no in-house maintenance.
| Build in-house | Off-the-shelf tool | Atoms managed service | |
|---|---|---|---|
Best for | Teams with developers who want full control | Broad energy data terminals | Weekly tables pushed into your systems |
Coverage | You define it | Broad packages | Fuels and areas you choose |
Release timing | You schedule it | Included | Collection on release day |
Cost | Engineering time | Licence fees | Agreed project price |
When pages change | Your team updates the code | Not your problem | Maintenance on agreed service terms |
Delivery | Whatever you build | Terminal exports | CSV, Excel, JSON, Sheets, TMS feeds, custom API |
Questions developers ask before a project starts.
Atoms has 1,000+ scrapers built. Projects are scoped to your task and delivered as structured data — as a one-off export or as a managed monthly service on agreed terms. NDA on request.
For fuel-data projects we combine data engineering with freight know-how: wide tables reshaped, area levels kept, releases stored for revisions and collection timed to the schedule — delivered as figures billing and fleet teams can use.
Sites that complement EIA data.
Fuel data, collected and delivered for your task
AAA Gas Prices data →
Fuel prices data, collected and delivered for your task
GasBuddy data →
Finance data, collected and delivered for your task
Yahoo Finance data →
Finance data, collected and delivered for your task
TradingView data →
News data, collected and delivered for your task
Google News data →
Start here
Tell us which data you need. We'll confirm the scope and prepare a sample for your review. Name the fuels, areas and delivery you need — surcharge updates, invoice checks, regional budgets or official series. You pay for the agreed work only after accepting the result.