Utilities
Republic Services logo

Republic Services API

republicservices.com

Access and download your Republic Services waste and recycling bills. Log in to list your accounts, view each account's statements with amounts and due dates, and download any bill as a PDF.

Actions
3
Category
Utilities
Login
Some actions
Output
JSON

Call the Republic Services API

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

3 actions on republicservices.com

Read

  • Download Bill

    rs_download_billreadlogin required10 credits / call

    Download a Republic Services bill as a PDF. Give the account id (from List Accounts) and, optionally, the id of the bill you want (from List Bills) — by default it downloads the most recent bill.

    account_id
    string · required
    bill_id
    string
  • List Accounts

    rs_list_accountsreadlogin required10 credits / call

    List all of the accounts on your Republic Services login. One login can own several accounts (service locations), so this returns them all — each with its account id, name, category, status, current balance, last invoice amount, next invoice date, and service address — so you can pick the exact account for List Bills or Download Bill.

    include_address
    boolean
  • List Bills

    rs_list_billsreadlogin required10 credits / call

    List the bills and statements for a Republic Services account. Each bill includes its statement date, due date, amount, unpaid balance, invoice number, and type, along with the id you pass to Download Bill to fetch its PDF. Requires an account id from List Accounts.

    account_id
    string · required

Republic Services API questions

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