Utilities
TXU Energy Business logo

TXU Energy Business API

business.txu.com

TXU Energy business MyAccount — list accounts, list bills, download bill PDFs

Actions
3
Category
Utilities
Login
Some actions
Output
JSON

Call the TXU Energy Business API

Submit a task, then poll the job until it settles. This example runs txu_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": "txu_download_bill",
    "credential_id": "<your-credential-id>",
    "params": {
      "account_number": "<account_number>"
    }
  }'

3 actions on business.txu.com

Read

  • Download Bill

    txu_download_billreadlogin required10 credits / call

    Download one TXU Energy Business bill as a PDF. Specify which account number to use (from List Accounts). Choose a statement date from List Bills, or use 'latest' for the most recent bill.

    account_number
    string · required
    bill_date
    string
    document_id
    string
  • List Accounts

    txu_list_accountsreadlogin required10 credits / call

    List every TXU Energy Business contract account on this login, with account number, balance, and due date. Use an account number from this list when calling List Bills or Download Bill.

  • List Bills

    txu_list_billsreadlogin required10 credits / call

    List statements for a TXU Energy Business account (statement date, amount, due date, document id). Pass an account number from List Accounts. Choose a statement date from this list (or use 'latest') when downloading a bill PDF.

    account_number
    string · required

TXU Energy Business API questions

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