Utilities
PSO Oklahoma logo

PSO Oklahoma API

psoklahoma.com

Public Service Company of Oklahoma — list accounts, bills, and download bill PDFs

Actions
3
Category
Utilities
Login
Some actions
Output
JSON

Call the PSO Oklahoma API

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

3 actions on psoklahoma.com

Read

  • Download Bill

    pso_download_billreadlogin required10 credits / call

    Download the bill PDF for one PSO account (from List Accounts). Defaults to the latest statement; pass a statement date or bill id from List Bills for an older one.

    account_number
    string · required
    bill_date
    string
  • List Accounts

    pso_list_accountsreadlogin required10 credits / call

    List every PSO account on this login, including the account number and service address. Pass an account number from this list into List Bills or Download Bill.

  • List Bills

    pso_list_billsreadlogin required10 credits / call

    List statement history for one PSO account (from List Accounts), including statement date, amount, and bill id. Pass a statement date or bill id into Download Bill, or use 'latest'.

    account_number
    string · required

PSO Oklahoma API questions

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