get_electricity_rate
Fetch the current residential electricity rate in $/kWh for any U.S. ZIP code to estimate energy costs.
Instructions
Get the current electricity rate for a specific ZIP code location.
Fetches residential electricity rates from EIA (Energy Information Administration) API. Requires EIA_API_KEY environment variable to be set.
Returns: Dictionary with: - zip_code: Input ZIP code - electricity_rate: Rate in $/kWh - unit: Always "$/kWh" - source: Data source information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip_code | Yes | 5-digit US ZIP code |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||