US energy data from official US government sources. category e.g. petroleum, natural-gas, electricity, coal,
co2-emissions, total-energy; location e.g. a state code (TX); period e.g. 2024; period_type annual/monthly.
category "gas_prices" gives weekly retail pump prices (US dollars per gallon, taxes included) for the US, its fuel
regions, 9 states and 10 cities: dataset = product (regular, midgrade, premium, all_grades, diesel; default all),
location = US, a state code (CA, CO, FL, MA, MN, NY, OH, TX, WA), a region code (R1 East Coast, R1A New England,
R1B Central Atlantic, R1C Lower Atlantic, R2 Midwest, R3 Gulf Coast, R4 Rocky Mountain, R5 West Coast, R5X West
Coast except California) or a city (Boston, Chicago, Cleveland, Denver, Houston, Los Angeles, Miami, New York City,
San Francisco, Seattle); period = a year (2024) or month (2024-06) for history; without period you get the newest
week with the change from 1, 4 and 52 weeks earlier. Website: https://dataporium.tech/energy?tab=gas-prices.
category "local_gas_prices" gives daily local pump prices (US dollars per gallon) for the US, every state and DC,
about 470 metro areas and about 3,100 counties (a separate daily series, never combined with the weekly one):
location = a state code (AZ) for that state's own price, a 5-digit county FIPS (04013), a metro code (a CBSA code
such as 38060, or a code from an earlier answer) or US; filters {"area_type": "county", "state": "AZ"} lists all
counties of a state (area_type: state, metro or county); dataset = product (regular, midgrade, premium, diesel;
counties have regular); period = a year or month for daily history; without period you get the newest day with
the change from 1 day, 1 week, 1 month and 1 year earlier. For the most local price of a place (county, then its
metro area, then its state) use filters {"nearest": true, "county": "Orange", "state": "CA"}.
category "electricity_rates" gives yearly electricity prices per utility (from 2024 on): customers, sales (MWh),
revenue and the average price in cents per kWh (revenue / sales over the year, not a tariff); dataset = sector
(residential, commercial, industrial, transportation, all; default residential), period = year (default newest).
location = a state code: that state's utilities ranked by price; location = a 5-digit county FIPS (48453): the
utilities serving that county with the typical home price there and the state average; no location or "US":
every state ranked with the US average and the average monthly home bill; filters {"view": "states"} with a
state code: that state's history by year; filters {"utility_id": 5701}: one utility over the years with the
counties it serves. More filters: sort (avg_price_cents, customers, sales_mwh, revenue_usd, change_pct), order,
q (utility name), ownership, service_type, min_customers, limit. Website:
https://dataporium.tech/energy?tab=electricity-rates.
category "grid_prices" gives wholesale electricity prices (US dollars per MWh; divide by 10 for cents per kWh)
of the Texas grid (since 2020), the California grid (about 3 years back) and the 11 zones of the New York grid
(since 2020): location = texas, california or new_york (without it: the list of grids, the states they serve and
their hubs and load zones); dataset = hub or load zone code(s) (e.g. HB_NORTH, LZ_HOUSTON, SP15, PGAE, NYC,
LONGIL); without period: each location's newest hour and day with 7- and 30-day averages;
period = a day (2025-08-20, hourly), a month (2025-08, daily) or a year (2025, monthly), or period_type /
filters {"frequency": "hourly|daily|monthly", "date_from": ..., "date_to": ...}. Each hour has the real-time
average, lowest and highest price and the day-ahead price. Wholesale, not what homes pay. Website:
https://dataporium.tech/energy?tab=grid-prices.
category "ev_charging" gives EV charging stations (updated daily) and EV registrations by state: dataset =
summary (default: stations and Level 1, Level 2 and DC fast ports counted by state; with a state code as location
by county; filters {"group_by": "network|connector|county|zip|city|year_opened|month_opened|status|access|none"}),
stations (the stations themselves, paged: filters {"zip": "78701"}, {"lat": 30.27, "lon": -97.74,
"radius_miles": 5}, {"city": "Austin", "state": "TX"}, network, connector (j1772, ccs, chademo, nacs), dc_fast,
access (public default), status (open default), q) or registrations (light-duty vehicles by state and year:
all-electric, plug-in hybrid, hybrid and the rest, the EV share, the 1-year change and EVs per open public
charging port; location = a state code or US, period = a year or "all"). location = a state code or a 5-digit
county FIPS; period = a year or month (stations opened then). Website: https://dataporium.tech/energy?tab=ev-charging.