Fuel Data API
Developers and analysts building fuel-aware products

Fuel Prices API for U.S. diesel and gasoline data

Pull national and regional fuel prices, historical series, and market analytics from one API without cleaning government spreadsheets by hand.

diesel
gasoline
Source

EIA-published fuel price datasets

Output

API-ready latest + historical + metrics

Scope

National and regional U.S. coverage

Fuel Data Lab Signals
Price and analytics snapshot
Overview
Normalized schema
latest + history
Analytics endpoints
metrics / events
How Fuel Data Lab gets its fuel price results
Transparent sourcing and transformation steps so engineers can evaluate data quality.
1

Source ingestion

Fuel Data Lab ingests EIA-published fuel price datasets on a recurring pipeline, preserving product and geography context.

2

Normalization + canonical series mapping

Records are cleaned into stable product/geo schemas with canonical series IDs so applications can query consistent endpoints.

3

API + analytics derivation

REST endpoints expose latest and historical prices, while derived metrics, events, spreads, and scenario tools build on the same normalized series.

Fuel Data Lab sells both API access and embeddable widgets. Start with /docs for integration details, or visit the home page for the product overview.
Try it
Start here, then swap product and geography.
curl "https://fueldatalab.com/api/v1/prices/latest?product=diesel&geo_type=national" \
  -H "Authorization: Bearer YOUR_API_KEY"

Example response

{
  "product": "diesel",
  "geo_type": "national",
  "geo_code": "US",
  "period": "2024-12-21",
  "value": 3.578,
  "unit": "dollars_per_gallon"
}
Built for
Freight and logistics dashboards
Fuel surcharge engines
Procurement price alerts
Forecasting and analyst workflows
What this replaces
Manual spreadsheet imports
Messy product and region naming
Slow setup for latest and history

Fuel Data API

Ship faster with clean fuel data

Use the docs for endpoint details, then jump into Fuel Data Lab to explore the product experience and widget tools.