Skip to main content
GET
/
electricity-area-map
/
areas
List Areas
curl --request GET \
  --url https://api.engrate.io/v1/electricity-area-map/areas \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "mba": "<string>",
      "mga": "<string>",
      "name": "<string>",
      "dso": "<string>",
      "area": 123,
      "permimiter": 123,
      "geometry": {
        "type": "<string>",
        "coordinates": [
          [
            [
              123
            ]
          ]
        ]
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

lat
number | null

Latitude

lng
number | null

Longitude

dso
string | null

Name of the DSO (going to use EIC later)

mba
string | null

Market Balance Area (e.g. SE1)

mga
string | null

Market Grid Area (e.g. STH)

crs
default:EPSG:4326

Coordinate Reference System (CRS) for the output geometry. Supported values: 'EPSG:4326' (global latitude/longitude, used by web maps) and 'EPSG:3006' (SWEREF 99 TM, metric coordinates used in Sweden). Queries are always interpreted as EPSG:4326 (lat/lng in degrees). Only the output format changes with this parameter.

Allowed value: "EPSG:3006"
quality
enum<string>
default:low

Quality of the geometry returned by the API. A value of 'high' returns a larger, but more detailed polygon. Conversely, a value of 'low' returns a smaller, but less detailed polygon.

Available options:
high,
medium,
low

Response

Successful Response

data
Area · object[]
required