US Gasoline Price API: EIA National Average as JSON
A US gasoline price API returns the EIA weekly gasoline print as JSON. On FreightPulse that is the same GET /api/v1/fuel-prices path as diesel, with header X-API-Key. Read data.gasoline.national_average — not the diesel object and not bunker.
Official docs sample dated 2026-07-27 prints gasoline national_average 3.156 USD/gallon (regular 3.156). Diesel on that fixture is 3.847. bunker_fuel.available is false. Free is 100 calls/mo, no card, 5 rpm. Basic is $49/mo (1,000 calls, 30 rpm, 7-day trial on paid). Docs: /docs (panel /v1/fuel-prices).
Request: official fuel-prices
curl -H "X-API-Key: YOUR_KEY" \ -H "Accept: application/json" \ "https://freightpulsehq.com/api/v1/fuel-prices"
Response: official docs sample (2026-07-27, gasoline)
{
"success": true,
"source": "EIA (U.S. Energy Information Administration)",
"currency": "USD",
"unit": "gallon",
"data": {
"gasoline": {
"national_average": 3.156,
"regular": 3.156,
"historical": {"30d_avg": 3.1, "90d_avg": 3.05, "yoy_change_percent": 1.1}
},
"bunker_fuel": {"available": false}
}
}
3.156 is the documentation week, not today’s EIA print. Copy the curl for the current updated_at.
Go live with /fuel-prices
1. Register — Free is 100 calls/mo with no card. Paid plans include a 7-day trial; Basic is $49/mo.
2. Open /docs and copy the X-API-Key header.
3. Call https://freightpulsehq.com/api/v1/fuel-prices
4. Render data.gasoline.national_average.
Pull EIA gasoline via API
National regular gasoline. Free tier: 100 calls/month, no card.
Start Free →