Compare Power Plans API

Real-time electricity pricing for the Texas deregulated market. Search plans, compare prices, and resolve utility territories — no API key, no rate limits, no cost.

Your users get better energy deals. You earn commissions on every signup.

Try it now — no signup required

Copy these two requests into your terminal. You'll have live electricity pricing in under a minute.

Base URL

All requests go to https://pricing.api.comparepower.com. No authentication required for public endpoints.

1. Resolve the TDSP (utility) for a ZIP code:

Request
curl "https://pricing.api.comparepower.com/api/tdsps?zip_code=77001"

2. Search plans in that TDSP territory with prices at 500, 1000, and 2000 kWh:

Request
curl "https://pricing.api.comparepower.com/api/plans?tdsp_duns=957877905&display_usage[]=500&display_usage[]=1000&display_usage[]=2000"

3. Each plan in the response includes pricing components, expected prices at your usage levels, and legally required document links (EFL, YRAAC, TOS):

Response (abbreviated)
{
  "_id": "507f1f77bcf86cd799439011",
  "key": "txu-simple-rate-24",
  "tdsp_duns": "957877905",
  "expected_prices": [
    {
      "usage": 500,
      "price": 0.148
    },
    {
      "usage": 1000,
      "price": 0.136
    },
    {
      "usage": 2000,
      "price": 0.133
    }
  ],
  "document_links": [
    {
      "type": "efl",
      "link": "https://..."
    },
    {
      "type": "yraac",
      "link": "https://..."
    },
    {
      "type": "tos",
      "link": "https://..."
    }
  ]
}

Explore the docs

Earn commissions on plans your users find through this API

Partnership is free and takes about 5 minutes. You'll get tracking links, a revenue dashboard, and monthly payouts.