Utilities
Fayetteville Public Works Commission logo

Fayetteville Public Works Commission API

my.faypwc.com

Fayetteville PWC (NC) eportal — accounts, statement history, and bill PDFs

Actions
3
Category
Utilities
Login
Some actions
Output
JSON

Call the Fayetteville Public Works Commission API

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

3 actions on my.faypwc.com

Read

  • Download Bill

    fpwc_download_billreadlogin required10 credits / call

    Download one of your Fayetteville PWC bills as a PDF. Give the account number from List Accounts, and optionally the bill id from List Bills; leave the bill id empty for the most recent bill.

    account_number
    string · required
    bill_id
    string
  • List Accounts

    fpwc_list_accountsreadlogin required10 credits / call

    List every Fayetteville PWC utility account on your login, with its service address. Use these account numbers in List Bills and Download Bill.

  • List Bills

    fpwc_list_billsreadlogin required10 credits / call

    List the recent bills for one of your Fayetteville PWC accounts, newest first, with bill date, due date and amount. Give the account number from List Accounts.

    account_number
    string · required

Fayetteville Public Works Commission API questions

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