Utilities
District 2 AuthorityPay logo

District 2 AuthorityPay API

district2.authoritypay.com

AuthorityPay / MUNI-LINK customer portal — list accounts, bills, and download bill PDFs

Actions
3
Category
Utilities
Login
Some actions
Output
JSON

Call the District 2 AuthorityPay API

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

3 actions on district2.authoritypay.com

Read

  • Download Bill

    d2ap_download_billreadlogin required10 credits / call

    Download a bill PDF for an account 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
  • List Accounts

    d2ap_list_accountsreadlogin required10 credits / call

    List every utility account on this District 2 AuthorityPay login, including account number and service address.

  • List Bills

    d2ap_list_billsreadlogin required10 credits / call

    List statement history for an account from List Accounts (statement date, amount, due date, bill number). Pass the account number to use.

    account_number
    string · required

District 2 AuthorityPay API questions

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