Utilities
Duke Energy logo

Duke Energy API

duke-energy.com

Duke Energy My Account — accounts, bills, and bill PDFs

Actions
1
Category
Utilities
Login
Some actions
Output
JSON

Call the Duke Energy API

Submit a task, then poll the job until it settles. This example runs act_duke_energy_com_list_rate_schedules.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_duke_energy_com_list_rate_schedules",
    "params": {
      "jurisdiction_code": "NC01"
    }
  }'

1 action on duke-energy.com

Read

  • List Rate Schedules

    act_duke_energy_com_list_rate_schedulesread1 credit / call

    List Duke Energy rate schedules for a jurisdiction and customer class, with schedule code, name, effective date, and PDF URL.

    jurisdiction_code
    string · required
    customer_class
    string

Duke Energy API questions

Is there an API for Duke Energy?
Duke Energy does not offer a public data API for this, but Anakin Wire provides 1 maintained endpoint for duke-energy.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Duke Energy data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when duke-energy.com changes its markup, Anakin updates the action.
Do I need a Duke Energy account?
Some Duke Energy actions read data that is only visible when signed in, so those need a credential you connect once. Actions marked "read" without a login requirement run anonymously.
What does the Duke Energy API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Utilities APIs

All Utilities sites