Average Price: Gasoline, Unleaded Premium (Cost per Gallon/3.785 Liters) in U.S. City Average (APU000074716) | FRED | St. Louis Fed
- Rows
- 542
- Columns
- 2
- Data range
- 1981-09-01 to 2026-10-01
- Auto-refresh
- Re-checks its source every 14 days
- Last refreshed with new data
- 2026-11-12
Graph and download economic data for Average Price: Gasoline, Unleaded Premium (Cost per Gallon/3.785 Liters) in U.S. City Average (APU000074716) from Sep 1981 to May 2026 about energy, gas, retail, price, and USA.
AI analysis
Data Analysis: U.S. Premium Gasoline Retail Prices (APU000074716)
1. Dataset Overview and Value
This series, sourced from the Federal Reserve Bank of St. Louis (FRED) via their public API at fredgraph.csv?id=APU000074716, tracks the average retail price of unleaded premium gasoline (per gallon) across U.S. cities. FRED is a highly reputable, frequently-updated aggregator that pulls this specific series from the Bureau of Labor Statistics' CPI Average Price program. The URL structure confirms this is a live, queryable API endpoint rather than a static export, meaning the data can be refreshed programmatically. With 537 monthly observations spanning September 1981 to May 2026 (a ~45-year window), this dataset offers excellent depth for time-series correlation work — particularly against macroeconomic indicators (inflation, CPI, oil futures), energy market data, or consumer spending patterns tied to fuel costs.
2. Data Quality Observations
Quality signals here are strong: zero null cells across both columns and zero missing values in either the date key or the price column. Both observationdate (537 distinct values) and APU000074716 show full distinct-count-to-row-count alignment for the date field, confirming no duplicate timestamps — a critical property for time-series joins. The price column shows 477 distinct values out of 537 rows, meaning ~60 rows share repeated price points, which is expected behavior for a price series with periods of stability (e.g., flat pricing months) rather than a data quality flaw. The duplicate-row and sample-row fields are marked as pending Phase D reconciliation, so a final validation pass against the Parquet backend is recommended before production use, but no red flags are currently visible.
3. Key Column Distributions
The price column (APU000074716) ranges from a minimum of $0.98 to a maximum of $5.774 per gallon, with a mean of $2.377 and median of $1.924 — the mean sitting notably above the median, consistent with the positive skew of 0.601. This right-skew reflects the historical trajectory: decades of relatively low, stable prices (Q1 = $1.348) followed by sharp escalations in the 2000s–2020s pushing the upper quartile (Q3 = $3.262) and max value much higher. The standard deviation of 1.157 relative to the median indicates substantial volatility over the series' lifetime — expected given oil price shocks, the 2008 financial crisis, and 2020–2022 inflation/supply disruptions. This skewed, high-variance distribution suggests log-transformation may improve linear correlation analysis with other economic series.
4. Recommended Join Key
observationdate is the clear and only viable join key — it's complete (zero nulls), uniquely identifies each of the 537 rows, and follows a standard monthly timestamp format (YYYY-MM-01) typical of FRED series. Analysts should align this to month-start granularity when joining against other datasets, and be mindful of the forward-dated values extending to May 2026 (likely reflecting forecast/projection data or a data pull artifact worth verifying).
5. Suggested Pairings for Correlation Analysis
Strong candidates include: (a) crude oil benchmark prices (WTI/Brent, also on FRED) to assess pass-through effects; (b) CPI/inflation indices (CPIAUCSL) to contextualize gas prices within broader cost-of-living trends; (c) other FRED gasoline series (regular unleaded, diesel) for substitution/spread analysis; (d) consumer sentiment or retail spending indices, since fuel costs often inversely correlate with discretionary spending; and (e) macro indicators like unemployment or Fed funds rate to explore energy price impacts on monetary policy cycles. Given the long history, this dataset also pairs well with recession indicator series (NBER dates) to study gasoline price behavior around economic downturns.
Columns
- observation_date (date)
- APU000074716 (decimal)