FuelEconomy.gov · Schema
FuelPrices
Current US average fuel prices used by the FuelEconomy.gov annual cost calculator.
Fuel EconomyEPADOEEnergyVehiclesEmissionsCO2MPGAutomotiveGovernmentOpen Data
Properties
| Name | Type | Description |
|---|---|---|
| cng | number | Compressed natural gas price in USD per gasoline gallon equivalent (GGE) |
| diesel | number | Diesel fuel price in USD per gallon |
| e85 | number | E85 ethanol blend price in USD per gallon |
| electric | number | Electricity price in USD per kWh |
| lpg | number | Liquefied petroleum gas price in USD per gallon |
| midgrade | number | Mid-grade gasoline price in USD per gallon |
| premium | number | Premium gasoline price in USD per gallon |
| regular | number | Regular gasoline price in USD per gallon |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/fueleconomy/main/json-schema/fuel-prices.json",
"title": "FuelPrices",
"description": "Current US average fuel prices used by the FuelEconomy.gov annual cost calculator.",
"type": "object",
"properties": {
"cng": {
"type": "number",
"minimum": 0,
"description": "Compressed natural gas price in USD per gasoline gallon equivalent (GGE)"
},
"diesel": {
"type": "number",
"minimum": 0,
"description": "Diesel fuel price in USD per gallon"
},
"e85": {
"type": "number",
"minimum": 0,
"description": "E85 ethanol blend price in USD per gallon"
},
"electric": {
"type": "number",
"minimum": 0,
"description": "Electricity price in USD per kWh"
},
"lpg": {
"type": "number",
"minimum": 0,
"description": "Liquefied petroleum gas price in USD per gallon"
},
"midgrade": {
"type": "number",
"minimum": 0,
"description": "Mid-grade gasoline price in USD per gallon"
},
"premium": {
"type": "number",
"minimum": 0,
"description": "Premium gasoline price in USD per gallon"
},
"regular": {
"type": "number",
"minimum": 0,
"description": "Regular gasoline price in USD per gallon"
}
},
"required": ["regular", "midgrade", "premium", "diesel", "e85", "cng", "lpg", "electric"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/fuel-prices"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.