Utilities
Metro Water Services Nashville logo

Metro Water Services Nashville API

mwsonline.nashville.gov

Metro Water Services online billing portal (Nashville) — login, list accounts, list bills, download bill PDF.

Actions
3
Category
Utilities
Login
Some actions
Output
JSON

Call the Metro Water Services Nashville API

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

3 actions on mwsonline.nashville.gov

Read

  • Download Bill

    mws_download_billreadlogin required10 credits / call

    Download one of your Metro Water Services bills as a PDF. Give the account number from List Accounts, and optionally a statement date from List Bills; leave it empty for the most recent bill.

    account_number
    string · required
    bill_date
    string
  • List Accounts

    mws_list_accountsreadlogin required10 credits / call

    List every Metro Water Services account on your login, with its meter type and how many statements are available.

  • List Bills

    mws_list_billsreadlogin required10 credits / call

    List the statements for one of your Metro Water Services accounts, newest first, with statement date, amount and due date. Give the account number from List Accounts.

    account_number
    string · required

Metro Water Services Nashville API questions

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