get_electricity_data
Get electricity generation, consumption, or price data from the EIA.
Returns data on electricity production, retail sales, prices, and fuel
consumption for power generation across US states and sectors.
Args:
state: Two-letter US state abbreviation (e.g. 'CA', 'TX'). Omit for national data.
sector: Sector filter. Common values: 'RES' (residential), 'COM' (commercial),
'IND' (industrial), 'TRA' (transportation), 'ALL' (all sectors).
frequency: Data frequency: 'monthly', 'quarterly', or 'annual'. Default is 'monthly'.
limit: Maximum number of records to return (default 100, max 5000).
get_petroleum_data
Get petroleum and oil price or production data from the EIA.
Returns time series data for petroleum products including crude oil prices,
production volumes, imports, exports, and refinery operations.
Args:
series: EIA series ID for the petroleum data. Common series:
'PET.RWTC.D' (WTI crude oil daily price),
'PET.RBRTE.D' (Brent crude oil daily price),
'PET.EMM_EPMR_PTE_NUS_DPG.W' (US regular gasoline weekly price),
'PET.MCRFPUS2.M' (US crude oil production monthly).
Default is 'PET.RWTC.D'.
limit: Maximum number of records to return (default 100, max 5000).
get_natural_gas_data
Get natural gas production, consumption, or price data from the EIA.
Returns data on natural gas wellhead prices, marketed production, consumption
by sector, and interstate pipeline flows.
Args:
state: Two-letter US state abbreviation (e.g. 'TX', 'PA'). Omit for national data.
frequency: Data frequency: 'monthly' or 'annual'. Default is 'monthly'.
limit: Maximum number of records to return (default 100, max 5000).
get_state_energy_profile
Get a comprehensive energy profile for a US state from the EIA.
Returns an overview of energy production, consumption, prices, and
expenditures across all fuel types for the specified state. Useful for
understanding a state's full energy landscape.
Args:
state: Two-letter US state abbreviation (e.g. 'CA', 'TX', 'NY').