
US Energy Information Administration (EIA)
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect US Energy Information Administration (EIA) to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Register for a free API key at EIA Open Data. EIA sends the key by email. Incremental sync reads from the last reporting period. Use a full refresh to collect revisions to older periods.
Configuration
| Option | Type | Required |
|---|---|---|
API key | password | Yes |
Linking US Energy Information Administration (EIA) to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select US Energy Information Administration (EIA)
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
electricity_retail_sales | Monthly electricity sales, prices, revenue, and customer counts by state and sector. | Incremental, Full refresh | period | — |
natural_gas_prices | Monthly natural gas prices by area and price series. | Incremental, Full refresh | period | — |
retail_fuel_prices | Weekly retail gasoline and diesel prices by area and product. | Incremental, Full refresh | period | — |