Utilities
UniSource Energy Services logo

UniSource Energy Services API

uesaz.com

UniSource Energy Services (UES) Arizona utility account bills

Actions
3
Category
Utilities
Login
Some actions
Output
JSON

Call the UniSource Energy Services API

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

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": "ues_download_bill",
    "credential_id": "<your-credential-id>",
    "params": {
      "account_number": "<account_number>"
    }
  }'

3 actions on uesaz.com

Read

  • Download Bill

    ues_download_billreadlogin required10 credits / call

    Download one UniSource Energy Services statement as a PDF. Give the account number (from List Accounts) and optionally a bill_date or bill_id (from List Bills); use bill_date 'latest' for the most recent bill.

    account_number
    string · required
    bill_date
    string
    bill_id
    string
  • List Accounts

    ues_list_accountsreadlogin required10 credits / call

    List every utility account on your UniSource Energy Services login, including account number, service address, service type, and balance.

  • List Bills

    ues_list_billsreadlogin required10 credits / call

    List statement history for a UniSource Energy Services account (from List Accounts). Each bill includes bill_id and bill_date you can pass to Download Bill.

    account_number
    string · required
    months
    integer

UniSource Energy Services API questions

Is there an API for UniSource Energy Services?
UniSource Energy Services does not offer a public data API for this, but Anakin Wire provides 3 maintained endpoints for uesaz.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 UniSource Energy Services 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 uesaz.com changes its markup, Anakin updates the action.
Do I need a UniSource Energy Services account?
Some UniSource Energy Services 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 UniSource Energy Services 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