Powerswitch API
powerswitch.org.nz
Consumer NZ electricity and gas price comparison
- Actions
- 6
- Category
- Energy
- Login
- Not required
- Output
- JSON
Call the Powerswitch API
Submit a task, then poll the job until it settles. This example runs act_powerswitch_org_nz_cheapest_plans_for_usage.
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_powerswitch_org_nz_cheapest_plans_for_usage",
"params": {
"address": "10-12 Jervois Road, Ponsonby, Auckland 1011"
}
}'6 actions on powerswitch.org.nz
Read
Cheapest Plans For Usage
act_powerswitch_org_nz_cheapest_plans_for_usageread1 credit / callEnergy plans for an NZ address ranked by estimated annual cost, using household size or annual kWh usage, with retailer and rates.
- address
- string · required
- household_size
- string
- annual_kwh
- number
Compare Retailer Plans
act_powerswitch_org_nz_compare_retailer_plansread1 credit / callAll plans from one NZ energy retailer at an address, with rates and conditions.
- address
- string · required
- retailer
- string · required
Get Plan Detail
act_powerswitch_org_nz_plan_detailread1 credit / callGet one Powerswitch energy plan's detail for an address: retailer, daily fixed charge, per-kWh rates, estimated annual cost and conditions.
- address
- string · required
- plan_id
- string · required
List Energy Plans
act_powerswitch_org_nz_list_plansread1 credit / callList available electricity (and optional gas) plans for a New Zealand address or region, including retailer, plan name, daily fixed charge, per-kWh rates, estimated annual cost and conditions.
- address
- string · required
- household_size
- string
- has_gas
- boolean
List Gas Plans
act_powerswitch_org_nz_list_gas_plansread1 credit / callNatural gas plans for an NZ address: retailer, daily fixed charge, per-kWh gas rate, and estimated annual cost.
- address
- string · required
List Retailers By Region
act_powerswitch_org_nz_list_retailersread1 credit / callList electricity and gas retailers available in a Powerswitch location/region. Use location_id 267 for Auckland Central and Manukau electricity, 266 for Auckland Central gas.
- location_id
- string · required
Powerswitch API questions
- Is there an API for Powerswitch?
- Powerswitch does not offer a public data API for this, but Anakin Wire provides 6 maintained endpoints for powerswitch.org.nz. 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 Powerswitch 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 powerswitch.org.nz changes its markup, Anakin updates the action.
- Do I need a Powerswitch account?
- No. Every Powerswitch action listed here runs anonymously — no account and no credentials required.
- What does the Powerswitch 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 Energy APIs
Genesis Energy
Genesis Energy NZ public plans, prices, price-change notices and pricing documents
Memodo
German photovoltaic wholesaler catalog for installers
Mercury NZ
Mercury NZ public electricity, gas and broadband pricing
Ohio Energy Choice (PUCO)
Ohio PUCO Energy Choice Apples to Apples public offer charts and certified supplier listings
Power to Choose
Texas PUC official retail electricity comparison: offers, plan details, and retail electric providers by ZIP.