# Department of Energy Electricity API

**Canonical:** https://apis.io/apis/doe/department-of-energy-electricity-api/  
**Provider:** Department of Energy — https://apis.io/providers/doe/  
**Base URL:** https://api.eia.gov/v2  
**Documentation:** https://www.eia.gov/opendata/

Department of Energy Electricity API is one of 36 APIs that [Department of Energy](https://apis.io/providers/doe/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Electricity. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The Electricity API from Department of Energy — 2 operation(s) for electricity.

## Operations (2)

| Method | Path | Summary |
|---|---|---|
| GET | `/electricity` | Electricity dataset metadata |
| GET | `/electricity/retail-sales/data` | Electricity retail sales data |

## Machine-readable artifacts (6)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/doe/refs/heads/main/openapi/department-of-energy-electricity-api-openapi.yml
- **Documentation** — https://www.eia.gov/opendata/documentation.php
- **Developer** — https://www.eia.gov/developer/
- **API Browser** — https://www.eia.gov/opendata/browser/
- **Signup** — https://www.eia.gov/opendata/register.php
- **Reference PDF** — https://www.eia.gov/opendata/documentation/APIv2.1.0.pdf

## Other Department of Energy APIs (12)

- [NLR Electricity APIs](https://apis.io/apis/doe/nlr-electricity-apis/)
- [NLR Solar Resource APIs](https://apis.io/apis/doe/nlr-solar-apis/)
- [NLR Wind Resource APIs](https://apis.io/apis/doe/nlr-wind-apis/)
- [NLR Transportation & Alternative Fuels APIs](https://apis.io/apis/doe/nlr-transportation-apis/)
- [NLR Buildings Energy APIs](https://apis.io/apis/doe/nlr-buildings-apis/)
- [DOE Data Explorer API](https://apis.io/apis/doe/doe-data-explorer-api/)
- [Department of Energy AEO API](https://apis.io/apis/doe/doe-aeo-api/)
- [Department of Energy COAL API](https://apis.io/apis/doe/doe-coal-api/)
- [Department of Energy CRUD_IMPORTS API](https://apis.io/apis/doe/doe-crud-imports-api/)
- [Department of Energy DBF API](https://apis.io/apis/doe/doe-dbf-api/)
- [Department of Energy ELEC API](https://apis.io/apis/doe/doe-elec-api/)
- [Department of Energy EMISS API](https://apis.io/apis/doe/doe-emiss-api/)

## Tags

Electricity

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/doe/department-of-energy-electricity-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/doe/.
