Electricity Maps Zones API
Discover available zones and locate them by coordinates or data center.
Electricity Maps Zones API is one of 6 APIs that Electricity Maps publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Zones. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 3 operations across 3 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 3.0.
Requests are made against a single base URL, https://api.electricitymap.org.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
Electricity Maps Zones API declares
2 security schemes
for authenticating requests.
An API key is passed in the header as auth-token (authToken).
It accepts HTTP basic authentication (basicAuth).
By default, every request must be authenticated.
authToken— API token issued from the Electricity Maps portal.
Paths & Operations 3
Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.
Discover available zones and locate them by coordinates or data center.
Schemas 2
The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Zone (3 properties), DataCenter (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Electricity Maps 5
Other APIs Electricity Maps publishes across the network.