---
title: "Get retail electricity prices by state and sector"
method: GET
path: "/v1/electricity"
tags: ["Electricity Prices"]
---

# Get retail electricity prices by state and sector

`GET /v1/electricity`

Retrieve US retail electricity prices in cents per kilowatt-hour by state and customer sector.
Data sourced from EIA (Energy Information Administration, Forms EIA-826/861/861M) with monthly updates.
Covers all 50 states plus DC and the US national average.

**FREE TIER** - No additional cost

## Query parameters

- `state` string, required
- `sector` 'residential' | 'commercial' | 'industrial' | 'all'

## Response `200`

Retail electricity price data

- object
  - `status` string
  - `data` object
    - `price` number, float, nullable — Retail electricity price in cents per kilowatt-hour
    - `currency` string
    - `unit` string
    - `period` string, nullable — EIA data month (YYYY-MM)
    - `state` string
    - `sector` 'residential' | 'commercial' | 'industrial' | 'all'
    - `source` string
    - `updated_at` string, date-time, nullable
    - `cached` boolean
    - `error` string, nullable

## Other responses

- `400` — Missing or invalid state/sector parameter
- `401` — Unauthorized - Invalid API key
- `500` — Unexpected server error. Retry transient failures with bounded backoff and retain the request ID when contacting support.

---

[API](https://skmtc.net/oilpriceapi/apis/oil-price-api-v1.md) · [All operations](https://skmtc.net/oilpriceapi/apis/oil-price-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oilpriceapi/oil-price-api-v1/revisions/5a5ce424cacc/schema)
