Duke Energy rate data, one API call away

Real-time electricity rates, TOU periods, and cost estimation across all six Duke Energy jurisdictions. Built for developers.

131 rate schedules 6 jurisdictions 9 TOU schedules 6 states
Get API Key → Read Docs

Try It

See what the API returns — no signup required

api.kwcost.com
Request
# Get residential rate for DEC curl "https://api.kwcost.com/rates/DEC/residential/RS" \ -H "x-api-key: YOUR_KEY"
Response
// Click Run to see the response

Everything you need

Rate Lookups

Query any rate schedule across all Duke Energy territories. Residential, business, time-of-use, demand — every published tariff.

131 schedules 6 jurisdictions

TOU Periods

Real-time on-peak / off-peak detection, daily profiles, and EVCC-compatible hourly price forecasts for smart charging and load shifting.

10+ TOU schedules
📈

Cost Calculator

Full bill estimation with mandatory riders, optional riders (solar, net metering), demand charges, and state/local taxes.

Line-item breakdown
🏠

Home Assistant

Native HA integration with real-time sensors for rates, TOU periods, energy costs, and monthly bill estimates on your energy dashboard.

HACS ready →

Get your API key in 30 seconds

Sign up, verify your email, generate a key. That's it.

Create Free Account →
Disclaimer: This site is not affiliated with, endorsed by, or connected to Duke Energy Corporation in any way. Rate data is sourced from publicly available tariff filings and is provided on an as-is basis. While we strive for accuracy, this information may contain errors or be out of date. Do not rely on this data for billing purposes.