Real-Time Gas Prices API for production apps
Get clean U.S. gasoline price data with a developer-ready API, transparent sourcing, and endpoints designed for production apps.
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/series?product=gasoline&geo_type=national&canonical=1" \ -H "Authorization: Bearer YOUR_API_KEY"
Example response
{
"data": [
{
"id": "uuid",
"product": "gasoline",
"geo_type": "national",
"geo_code": "US"
}
]
}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.