Southwest Gas API
myaccount.swgas.com
Southwest Gas My Account — list accounts, list bills, download bill PDFs
- Actions
- 3
- Category
- Utilities
- Login
- Some actions
- Output
- JSON
Call the Southwest Gas API
Submit a task, then poll the job until it settles. This example runs swg_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": "swg_download_bill",
"credential_id": "<your-credential-id>",
"params": {
"account_number": "910003398617"
}
}'3 actions on myaccount.swgas.com
Read
Download Bill
swg_download_billreadlogin required10 credits / callDownload one of your Southwest Gas bills as a PDF. Because a login can cover several accounts, you must specify which account number to use (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
swg_list_accountsreadlogin required10 credits / callList every Southwest Gas account on your login, each with its account number and service address, so you can choose which account to use with List Bills and Download Bill.
List Bills
swg_list_billsreadlogin required10 credits / callList Southwest Gas statements for an account, each with statement date, due date, amount, and invoice id. Pass an account number from List Accounts.
- account_number
- string
- months
- integer
Southwest Gas API questions
- Is there an API for Southwest Gas?
- Southwest Gas does not offer a public data API for this, but Anakin Wire provides 3 maintained endpoints for myaccount.swgas.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 Southwest Gas 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 myaccount.swgas.com changes its markup, Anakin updates the action.
- Do I need a Southwest Gas account?
- Some Southwest Gas 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 Southwest Gas 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
Appalachian Power
Appalachian Power (AEP) — accounts, bills, PDF download
Atmos Energy
Access and download your Atmos Energy natural gas bills. Log in to see your account, view past statements with amounts and due dates, and download any bill as a PDF.
Baldwin County GA Utilities
Check your Baldwin County GA water and sewer utility accounts online. Log in to list your accounts and view each account's balance, current bill, meters, and service details.
City of Detroit Water & Sewerage
Detroit DWSD CS Portal — accounts, bills, and PDF statements
City of Tucson Water (Paymentus)
City of Tucson Water utility bills via Paymentus customer portal — accounts, statement history, and bill PDFs
Columbus (SchedulePayment)
Columbus utility portal on schedulepayment.com — login, list accounts, list bills, download bill PDF