Utilities
PNM logo

PNM API

pnm.com

Public Service Company of New Mexico — accounts, bills, and PDF statements

Actions
5
Category
Utilities
Login
Some actions
Output
JSON

Call the PNM API

Submit a task, then poll the job until it settles. This example runs act_pnm_com_get_tariff_territory.

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": "act_pnm_com_get_tariff_territory",
    "params": {}
  }'

5 actions on pnm.com

Read

  • Get Tariff Territory and Commission

    act_pnm_com_get_tariff_territoryread1 credit / call

    Return PNM service territory, New Mexico jurisdiction, and the regulatory commission for the tariff book.

  • List Rate Schedules

    act_pnm_com_list_rate_schedulesread1 credit / call

    List current PNM New Mexico electric rate schedules and tariff sheets with schedule code, name, customer class, effective date, and document URL.

    customer_class
    string
  • List Recently Revised Tariff Sheets

    act_pnm_com_list_recent_revisionsread1 credit / call

    List recently revised PNM tariff sheets and advice letters with revision label, filing/effective dates when published, and document URL.

    limit
    integer
  • List Riders and Adjustment Clauses

    act_pnm_com_list_ridersread1 credit / call

    List PNM riders and adjustment clauses with customer class, effective date when published, and source document URL.

  • Search Tariffs and Riders

    act_pnm_com_search_tariffsread1 credit / call

    Search PNM rate schedules, riders, and rules by keyword.

    keyword
    string · required

PNM API questions

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