Skip to main content
GET
/
power-tariffs
/
{country_code}
/
mga
/
{mga_code}
Get by MGA Code
curl --request GET \
  --url https://api.engrate.io/v1/power-tariffs/{country_code}/mga/{mga_code} \
  --header 'Authorization: <api-key>'
{
  "powerTariffs": [
    {
      "uid": "<string>",
      "name": "<string>",
      "reviewDetails": {
        "status": "not_applicable",
        "updatedAt": "2023-11-07T05:31:56Z",
        "reviewedAt": "2025-10-08T10:54:26+00:00"
      },
      "timeScope": {
        "timezone": "<string>",
        "validFrom": "2025-01-01T00:00:00+01:00",
        "validTo": "2026-01-01T00:00:00+01:00"
      },
      "meteringGridAreas": [
        "<string>"
      ],
      "meteringPointCharacteristics": {
        "subscriptionType": "fuse_based",
        "buildingType": "apartment",
        "customerType": "business",
        "currentLevel": {
          "minimum": 10,
          "maximum": 10,
          "unit": "A"
        },
        "voltageLevel": {
          "minimum": 0.4,
          "maximum": 0.4,
          "unit": "kV"
        },
        "powerLevel": {
          "minimum": 1,
          "maximum": 1,
          "unit": "kW"
        },
        "annotations": "Only for houses with an even house number."
      },
      "components": [
        {
          "data": {
            "periods": [
              {
                "months": [
                  "jan"
                ],
                "daysOfWeek": [
                  "mon"
                ],
                "holidays": true,
                "timesOfDay": [
                  {
                    "fromTime": "<string>",
                    "toTime": "<string>"
                  }
                ],
                "inverse": true
              }
            ],
            "calculationMethod": {
              "timeWeights": [
                {
                  "timesOfDay": [
                    {
                      "fromTime": "<string>",
                      "toTime": "<string>"
                    }
                  ],
                  "weight": 123
                }
              ],
              "peaksCalculatedAs": {
                "highestValues": 123,
                "resolution": "hourly",
                "peaksCalculatedAs": "<unknown>"
              },
              "bounds": [
                {
                  "side": "minimum",
                  "value": {
                    "value": 123,
                    "unit": "kW"
                  },
                  "type": "fixed"
                }
              ]
            },
            "priceLevels": [
              {
                "price": {
                  "currency": "SEK",
                  "exclVat": 123
                }
              }
            ],
            "annotations": "<string>"
          },
          "type": "peak_power_fee"
        }
      ],
      "annotations": "Default tariff, time-differentiated alternative exists."
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

country_code
string
required

ISO 3166-1 alpha-2 country code.

Example:

"SE"

mga_code
string
required

Metering grid area code

Examples:

"STO"

"LNK"

Response

Successful Response

powerTariffs
PowerTariff · object[]
required

Power tariffs matching the request.