Skip to main content
Developer API v2

Free Energy Data API

One API for utility rates, grid status, solar estimates, incentives, emissions, and energy freedom scores. No API key required. No signup. Just GET.

Quick Start

Every endpoint is a simple GET request. All responses use a consistent JSON envelope:

curl https://usapowr.com/api/v2/emissions/CA

{
  "ok": true,
  "data": { ... },
  "meta": { "version": "v2", "source": "EPA eGRID" }
}

CORS Enabled

Call from any domain, browser, or app.

Free Tier

1,000 requests/day. No key needed.

5-min Cache

Responses cached for fast repeat queries.

Base URL

https://usapowr.com/api/v2

Endpoints(9)

Error Handling

Errors use the same envelope with ok: false and a descriptive error code:

{
  "ok": false,
  "error": {
    "code": "INVALID_ZIP",
    "message": "Valid 5-digit zip code required as ?zip=XXXXX"
  },
  "meta": { "version": "v2" }
}
200

Success

400

Bad request

404

Not found

500

Server error

Data Sources

v1 API (Legacy)

The original /api/data/v1/states and /api/data/v1/content endpoints remain available but will not receive new features. Migrate to v2 for active development and new data sources.

Building something with this API? Let us knowwe love seeing what developers build.