Utilities
Clay Electric SmartHub logo

Clay Electric SmartHub API

clayelectric.smarthub.coop

Clay Electric Cooperative SmartHub portal — accounts, bills, and PDF downloads

Actions
3
Category
Utilities
Login
Some actions
Output
JSON

Call the Clay Electric SmartHub API

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

3 actions on clayelectric.smarthub.coop

Read

  • Download Bill

    act_clayelectric_smarthub_coop_download_billreadlogin required10 credits / call

    Download a Clay Electric SmartHub bill PDF for a given account number and statement date (or 'latest'). Pass account_number from List Accounts and bill_date from List Bills.

    account_number
    string · required
    bill_date
    string
  • List Accounts

    act_clayelectric_smarthub_coop_list_accountsreadlogin required10 credits / call

    List every Clay Electric SmartHub account on this login, with account number and service address. Use an account number from this list when calling List Bills or Download Bill.

  • List Bills

    act_clayelectric_smarthub_coop_list_billsreadlogin required10 credits / call

    List statement history for a Clay Electric SmartHub account (statement date, amount, bill UUID). Pass account_number from List Accounts.

    account_number
    string · required

Clay Electric SmartHub API questions

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