Us Fuel Price
us_fuel_priceUS gas station prices: the weekly national average retail pump price per gallon of regular, midgrade or premium gasoline, or diesel, from the U.S. Energy Information Administration's Weekly Retail Gasoline and Diesel Prices survey. Answers "current average US gas price", "national average price of regular unleaded", "how much is a gallon of gas", "diesel price at the pump". Pass fuel "gasoline" with grade (regular is the default, the national headline figure) or fuel "diesel"; area defaults to the US average. Returns the latest week first with the series name, so the grade and area are stated in every answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Latest week to include, YYYY-MM-DD (optional). | |
| area | No | "US" (default, national average), "all" (every region EIA reports), or an EIA area code such as "R10" (East Coast) or "SCA" (California). | |
| fuel | No | Fuel: "gasoline" (default) or "diesel". | |
| grade | No | Gasoline grade: "regular" (default — the national headline price), "midgrade", "premium", or "all" (all grades combined). Ignored for diesel. | |
| start | No | Earliest week to include, YYYY-MM-DD (optional; default the most recent 24 weeks). | |
| _apiKey | Yes | EIA API key |