Helpers

Zone

get
/zone
When signed in, you can use the interactive API Playground to query the Electricity Maps API directly from this page

Get metadata for a single zone.

Query Parameters

zone?string

An Electricity Maps zone key.

Example"DK-DK2"
lat?number

Latitude of the location to get the data for.

Example41.877
lon?number

Longitude of the location to get the data for.

Example-88.0703
disableCallerLookup?boolean

If true, the fallback IP-based zone lookup will not be performed.

Defaultfalse

Response Body

application/json

application/json

curl -X GET "https://example.com/zone"
{  "zoneKey": "DK-DK2",  "zoneName": "East Denmark",  "displayName": "East Denmark",  "countryCode": "DK",  "countryName": "Denmark",  "zoneParentKey": "DK",  "subZoneKeys": [    "DK-DK1"  ],  "isCommerciallyAvailable": true,  "tier": "A",  "access": [    "carbon-intensity"  ]}