Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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.

3 operations 3 paths 2 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.0
Base URL
https://api.electricitymap.org
Authentication
API Key, HTTP Basic
License
Resource Areas
1

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.

Zones 3

Discover available zones and locate them by coordinates or data center.

GET
/v3/zones
List available zones
listZones → 200
GET
/v3/zone
Locate a zone by coordinates
locateZone 2 params → 200404
GET
/v3/data-centers
List available data centers
listDataCenters → 200

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.

DataCenter
object
3 properties
Zone
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

electricity-maps-zones-api-openapi.yml Raw ↑

Other APIs Electricity Maps publishes across the network.

Electricity Maps CarbonIntensity API
Electricity Maps ElectricityMix API
Electricity Maps GridMetrics API
Electricity Maps Pricing API
Electricity Maps Renewables API