Truck Diesel Prices API for freight software
Get on-highway diesel pricing in consistent endpoints that fit trucking, brokerage, and freight pricing workflows.
EIA-published fuel price datasets
API-ready latest + historical + metrics
National and regional U.S. coverage
Source ingestion
Fuel Data Lab ingests EIA-published fuel price datasets on a recurring pipeline, preserving product and geography context.
Normalization + canonical series mapping
Records are cleaned into stable product/geo schemas with canonical series IDs so applications can query consistent endpoints.
API + analytics derivation
REST endpoints expose latest and historical prices, while derived metrics, events, spreads, and scenario tools build on the same normalized series.
curl "https://fueldatalab.com/api/v1/prices?product=diesel&geo_type=national&limit=52" \ -H "Authorization: Bearer YOUR_API_KEY"
Example response
{
"data": [
{ "period": "2024-12-21", "value": 3.578 },
{ "period": "2024-12-14", "value": 3.602 }
]
}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.