---
title: "Electricity pricing by US state"
method: GET
path: "/api/energy/prices/{state}"
tags: ["Paid"]
---

# Electricity pricing by US state

`GET /api/energy/prices/{state}`

## Request

- Base URL: `https://dchub.cloud`
- URL: `https://dchub.cloud/api/energy/prices/{state}`
- Auth: API key in header `X-API-Key`

Industrial, commercial and residential electricity pricing for one US state from the latest EIA release, with the period it covers. Use for a first-pass cost comparison between states. These are state-level averages — not a utility tariff and not a negotiated large-load rate. Requires an X-API-Key header for a key on any paid DC Hub plan, or a key with full-answer access. The free key from /api/v1/keys/claim does not open it.

## Path parameters

- `state` string, required

## Response `200`

Energy pricing

## Other responses

- `403`: No key, or a key that does not open it; the body lists the options that do

---

[API](https://skmtc.dev/dchub/apis/dc-hub-data-center-intelligence-api.md) · [All operations](https://skmtc.dev/dchub/apis/dc-hub-data-center-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dchub/apis/dc-hub-data-center-intelligence-api/revisions/15f74d15cdeb?raw)
