hourly_intensity
Get hourly grid carbon intensity (kg CO2e per kWh) for any US ZIP code, derived from EIA-930 hourly fuel-mix data. Data lags approximately 24 hours (not real-time). Returns time series with per-hour fuel mix, total generation, and carbon intensity. Useful for backtesting demand response, computing post-hoc time-weighted Scope 2 emissions, or analyzing grid carbon patterns. For live or forecast intensity, WattTime or Electricity Maps are better options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ba | No | Balancing authority code directly (e.g. CISO, ERCO, PJM, MISO, NYIS). Use this OR zip. | |
| zip | No | 5-digit US ZIP code (or use ba parameter) | |
| hours | No | Number of most recent hours to return (default 24, max 168 = 1 week). | |
| aggregate | No | Optional: return the 24-hour average profile over the last ~7 days instead of the hourly series |