Properties
| Name | Type | Description |
|---|---|---|
| creationTime | string | timestamp of this response creation, in yyyy-MM-dd'T'HH:mm:ssXXX format |
| currentLink | nullstring | link to the current resource |
| lastUpdatedTime | nullstring | timestamp for the last update time of this response's content, in yyyy-MM-dd'T'HH:mm:ssXXX format |
| municipalities | array | data grouped by a list of municipalities |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/elhub/main/json-schema/elhub-no-elhub-ds-energy-data-models-response-municipality-response-schema.json",
"title": "MunicipalityResponse",
"x-generated": "2026-10-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/elhub-energy-data-api-openapi.yml#/components/schemas/no.elhub.ds.energy.data.models.response.MunicipalityResponse",
"type": "object",
"properties": {
"creationTime": {
"type": "string",
"description": "timestamp of this response creation, in yyyy-MM-dd'T'HH:mm:ssXXX format",
"title": "String"
},
"currentLink": {
"type": [
"null",
"string"
],
"description": "link to the current resource",
"title": "String"
},
"lastUpdatedTime": {
"type": [
"null",
"string"
],
"description": "timestamp for the last update time of this response's content, in yyyy-MM-dd'T'HH:mm:ssXXX format",
"title": "String"
},
"municipalities": {
"type": "array",
"description": "data grouped by a list of municipalities",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.Municipality"
},
"title": "List<Municipality>"
}
},
"required": [
"creationTime",
"municipalities"
],
"$defs": {
"jsonapi.Link": {
"anyOf": [
{
"$ref": "#/$defs/jsonapi.Link.LinkObject"
},
{
"$ref": "#/$defs/jsonapi.Link.URI"
}
],
"title": "Link"
},
"jsonapi.Link.LinkObject": {
"type": "object",
"properties": {
"describedBy": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/$defs/jsonapi.Link"
}
]
},
"href": {
"type": "string",
"title": "String"
},
"hreflang": {
"type": [
"null",
"array"
],
"items": {
"type": "string",
"title": "String"
},
"title": "List<String>"
},
"meta": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/$defs/jsonapi.Meta"
}
]
},
"rel": {
"type": [
"null",
"string"
],
"title": "String"
},
"title": {
"type": [
"null",
"string"
],
"title": "String"
},
"type": {
"type": [
"null",
"string"
],
"title": "String"
}
},
"required": [
"href"
],
"title": "Link.LinkObject"
},
"jsonapi.Link.URI": {
"type": "object",
"properties": {
"value": {
"type": "string",
"title": "String"
}
},
"required": [
"value"
],
"title": "Link.URI"
},
"jsonapi.Links": {
"type": "object",
"properties": {
"members": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/jsonapi.Link"
},
"title": "Map<String,Link>"
}
},
"required": [
"members"
],
"title": "Links"
},
"jsonapi.Meta": {
"type": "object",
"properties": {
"members": {
"type": "object",
"additionalProperties": {
"type": "object",
"title": "Any"
},
"title": "Map<String,Any>"
}
},
"required": [
"members"
],
"title": "Meta"
},
"no.elhub.ds.energy.data.models.municipality.ConsumptionPerGroupMunicipalityBasicStatisticalUnitHour": {
"type": "object",
"properties": {
"basicStatisticalUnit": {
"type": [
"null",
"string"
],
"description": "Basic statistical unit (Grunnkrets)",
"title": "String"
},
"consumptionGroup": {
"type": [
"null",
"string"
],
"description": "The consumption group",
"title": "String"
},
"endTime": {
"type": [
"null",
"string"
],
"description": "End time of the interval",
"title": "String"
},
"lastUpdatedTime": {
"type": [
"null",
"string"
],
"description": "When the row was last updated",
"title": "String"
},
"meteringPointCount": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "Number of metering points that are part of the aggregate",
"title": "Int"
},
"quantityKwh": {
"type": [
"null",
"number"
],
"format": "float",
"description": "The quantity in kWh for the aggregate",
"title": "Float"
},
"startTime": {
"type": [
"null",
"string"
],
"description": "Start time of the interval",
"title": "String"
}
},
"title": "ConsumptionPerGroupMunicipalityBasicStatisticalUnitHour"
},
"no.elhub.ds.energy.data.models.municipality.ConsumptionPerGroupMunicipalityHour": {
"type": "object",
"properties": {
"consumptionGroup": {
"type": [
"null",
"string"
],
"description": "The consumption group",
"title": "String"
},
"endTime": {
"type": [
"null",
"string"
],
"description": "End time of the interval",
"title": "String"
},
"lastUpdatedTime": {
"type": [
"null",
"string"
],
"description": "When the row was last updated",
"title": "String"
},
"meteringPointCount": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "Number of metering points that are part of the aggregate",
"title": "Int"
},
"quantityKwh": {
"type": [
"null",
"number"
],
"format": "float",
"description": "The quantity in kWh for the aggregate",
"title": "Float"
},
"startTime": {
"type": [
"null",
"string"
],
"description": "Start time of the interval",
"title": "String"
}
},
"title": "ConsumptionPerGroupMunicipalityHour"
},
"no.elhub.ds.energy.data.models.municipality.ConsumptionPerMbaMgaMunicipalityNaceCodeConsumptionCodeHour": {
"type": "object",
"properties": {
"consumptionCode": {
"type": [
"null",
"string"
],
"description": "Consumption code for the aggregate.",
"title": "String"
},
"endTime": {
"type": [
"null",
"string"
],
"description": "The end time of the interval.",
"title": "String"
},
"gridArea": {
"type": [
"null",
"string"
],
"description": "Grid area for the aggregate.",
"title": "String"
},
"lastUpdatedTime": {
"type": [
"null",
"string"
],
"description": "When the aggregate was last updated.",
"title": "String"
},
"meteringPointCount": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "Number of metering points that are part of the aggregate.",
"title": "Int"
},
"naceCode": {
"type": [
"null",
"string"
],
"description": "NACE code for the aggregate.",
"title": "String"
},
"priceArea": {
"type": [
"null",
"string"
],
"description": "Price area for the aggregate.",
"title": "String"
},
"quantityKwh": {
"type": [
"null",
"number"
],
"format": "float",
"description": "The quantity in kWh for the aggregate.",
"title": "Float"
},
"startTime": {
"type": [
"null",
"string"
],
"description": "The start time of the interval.",
"title": "String"
}
},
"title": "ConsumptionPerMbaMgaMunicipalityNaceCodeConsumptionCodeHour"
},
"no.elhub.ds.energy.data.models.municipality.ConsumptionPerMbaMunicipalityNaceCodeConsumptionCodeHour": {
"type": "object",
"properties": {
"consumptionCode": {
"type": [
"null",
"string"
],
"description": "Consumption code for the aggregate.",
"title": "String"
},
"endTime": {
"type": [
"null",
"string"
],
"description": "The end time of the interval.",
"title": "String"
},
"lastUpdatedTime": {
"type": [
"null",
"string"
],
"description": "When the aggregate was last updated.",
"title": "String"
},
"meteringPointCount": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "Number of metering points that are part of the aggregate.",
"title": "Int"
},
"naceCode": {
"type": [
"null",
"string"
],
"description": "NACE code for the aggregate.",
"title": "String"
},
"priceArea": {
"type": [
"null",
"string"
],
"description": "Price area for the aggregate.",
"title": "String"
},
"quantityKwh": {
"type": [
"null",
"number"
],
"format": "float",
"description": "The quantity in kWh for the aggregate.",
"title": "Float"
},
"startTime": {
"type": [
"null",
"string"
],
"description": "The start time of the interval.",
"title": "String"
}
},
"title": "ConsumptionPerMbaMunicipalityNaceCodeConsumptionCodeHour"
},
"no.elhub.ds.energy.data.models.municipality.InstalledCapacityPerMeteringPointTypeGroupMunicipalityBasicStatisticalUnitDaily": {
"type": "object",
"properties": {
"basicStatisticalUnit": {
"type": [
"null",
"string"
],
"description": "Basic Statistical Unit",
"title": "String"
},
"installedCapacity": {
"type": [
"null",
"number"
],
"format": "float",
"description": "Sum of installed capacity of all metering point. E18(production) and E19(combined/prosumers) only. Direction In only(production), meaning consumption is ignored.",
"title": "Float"
},
"lastUpdatedTime": {
"type": [
"null",
"string"
],
"description": "When the row was last updated",
"title": "String"
},
"meteringPointTypeCode": {
"type": [
"null",
"string"
],
"description": "The code of the MeteringPointType. E.g. E18(production), E19(combined/prosumers)",
"title": "String"
},
"municipalityId": {
"type": [
"null",
"string"
],
"description": "Municipality ID",
"title": "String"
},
"productionGroup": {
"type": [
"null",
"string"
],
"description": "Production group: solar, hydro, wind, thermal, other",
"title": "String"
},
"usageDateId": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "The usage date",
"title": "Int"
}
},
"title": "InstalledCapacityPerMeteringPointTypeGroupMunicipalityBasicStatisticalUnitDaily"
},
"no.elhub.ds.energy.data.models.municipality.InstalledCapacityPerMeteringPointTypeGroupMunicipalityDaily": {
"type": "object",
"properties": {
"installedCapacity": {
"type": [
"null",
"number"
],
"format": "float",
"description": "Sum of installed capacity of all metering point. E18 and E19 only. Direction In only(production), meaning consumption is ignored.",
"title": "Float"
},
"lastUpdatedTime": {
"type": [
"null",
"string"
],
"description": "When the row was last updated",
"title": "String"
},
"meteringPointTypeCode": {
"type": [
"null",
"string"
],
"description": "The code of the MeteringPointType. E.g. E18(production), E19(combined/prosumers)",
"title": "String"
},
"municipalityId": {
"type": [
"null",
"string"
],
"description": "Municipality ID",
"title": "String"
},
"productionGroup": {
"type": [
"null",
"string"
],
"description": "Production group: solar, hydro, wind, thermal, other",
"title": "String"
},
"usageDateId": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "The usage date",
"title": "Int"
}
},
"title": "InstalledCapacityPerMeteringPointTypeGroupMunicipalityDaily"
},
"no.elhub.ds.energy.data.models.municipality.MaxConsumptionPerEACMunicipalityBasicStatisticalUnitMonth": {
"type": "object",
"properties": {
"basicStatisticalUnit": {
"type": [
"null",
"string"
],
"description": "Basic Statistical Unit Name (Grunnkrets)",
"title": "String"
},
"basicStatisticalUnitId": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "Basic Statistical Unit ID (Grunnkrets)",
"title": "Int"
},
"dailyConsumption": {
"type": [
"null",
"number"
],
"format": "float",
"description": "The total consumption for the day with the highest hourly consumption in kWh",
"title": "Float"
},
"estimatedAnnualConsumption": {
"type": [
"null",
"number"
],
"format": "float",
"description": "Sum of estimated annual consumption in kWh of all metering points included in the basic statistical unit(Grunnkrets).",
"title": "Float"
},
"highestHourlyConsumption": {
"type": [
"null",
"number"
],
"format": "float",
"description": "The highest hourly consumption for the month in kWh",
"title": "Float"
},
"lastUpdatedTime": {
"type": [
"null",
"string"
],
"description": "When the row was last updated",
"title": "String"
},
"usageDateId": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "The usage date with the highest hourly consumption",
"title": "Int"
},
"yearMonth": {
"type": [
"null",
"string"
],
"description": "The month and year of the max consumption",
"title": "String"
}
},
"title": "MaxConsumptionPerEACMunicipalityBasicStatisticalUnitMonth"
},
"no.elhub.ds.energy.data.models.municipality.MeteringPointCountPerMonthGridOwnerNaceCodeAdjustedMunicipality": {
"type": "object",
"description": "Number of metering points at the last day of month per grid owner, NACE code and municipality.",
"properties": {
"gridOwnerGln": {
"type": [
"null",
"string"
],
"description": "The grid owner GLN.",
"title": "String"
},
"gridOwnerOrgName": {
"type": [
"null",
"string"
],
"description": "Organization name of the grid owner",
"title": "String"
},
"gridOwnerOrgNumber": {
"type": [
"null",
"string"
],
"description": "The organization number of the grid owner",
"title": "String"
},
"lastDayOfMonth": {
"type": "string",
"description": "Date of last day of month. The date used to determine the counts.",
"title": "String"
},
"lastUpdateTime": {
"type": "string",
"description": "Time in UTC the row was last updated.",
"title": "String"
},
"meteringPointCount": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "The number of metering point in this group at the end of the month",
"title": "Int"
},
"naceCode": {
"type": [
"null",
"string"
],
"description": "The NACE code. Note that for metering points where nace code is XX or consumption code 35, then this is set to XX. If nace code XY or consumption code 36, then it is set to XY.",
"title": "String"
},
"yearMonth": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "YYYYMM",
"title": "Int"
}
},
"required": [
"lastDayOfMonth",
"lastUpdateTime"
],
"title": "MeteringPointCountPerMonthGridOwnerNaceCodeAdjustedMunicipality"
},
"no.elhub.ds.energy.data.models.municipality.Municipality": {
"type": "object",
"properties": {
"consumptionPerBalanceSupplierMunicipalityHour": {
"type": [
"null",
"array"
],
"description": "List of hourly aggregated consumption per balance supplier per municipality",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.ConsumptionPerGroupMunicipalityHour"
},
"title": "List<ConsumptionPerGroupMunicipalityHour>"
},
"consumptionPerGroupMunicipalityBasicStatisticalUnitHour": {
"type": [
"null",
"array"
],
"description": "List of hourly aggregated consumption per group per basic statistical unit",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.ConsumptionPerGroupMunicipalityBasicStatisticalUnitHour"
},
"title": "List<ConsumptionPerGroupMunicipalityBasicStatisticalUnitHour>"
},
"consumptionPerGroupMunicipalityHour": {
"type": [
"null",
"array"
],
"description": "List of hourly aggregated consumption per group per municipality",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.ConsumptionPerGroupMunicipalityHour"
},
"title": "List<ConsumptionPerGroupMunicipalityHour>"
},
"consumptionPerMbaMgaMunicipalityNaceCodeConsumptionCodeHour": {
"type": [
"null",
"array"
],
"description": "List of hourly aggregated consumption per mba, mga, municipality, nace code, consumption code",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.ConsumptionPerMbaMgaMunicipalityNaceCodeConsumptionCodeHour"
},
"title": "List<ConsumptionPerMbaMgaMunicipalityNaceCodeConsumptionCodeHour>"
},
"consumptionPerMbaMunicipalityNaceCodeConsumptionCodeHour": {
"type": [
"null",
"array"
],
"description": "List of hourly aggregated consumption per mba, municipality, nace code, consumption code",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.ConsumptionPerMbaMunicipalityNaceCodeConsumptionCodeHour"
},
"title": "List<ConsumptionPerMbaMunicipalityNaceCodeConsumptionCodeHour>"
},
"id": {
"type": [
"null",
"string"
],
"description": "Municipality identification string",
"title": "String"
},
"installedCapacityPerMeteringPointTypeGroupMunicipalityBasicStatisticalUnitDaily": {
"type": [
"null",
"array"
],
"description": "List of daily aggregated installed capacity per metering point type group per basic statistical unit",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.InstalledCapacityPerMeteringPointTypeGroupMunicipalityBasicStatisticalUnitDaily"
},
"title": "List<InstalledCapacityPerMeteringPointTypeGroupMunicipalityBasicStatisticalUnitDaily>"
},
"installedCapacityPerMeteringPointTypeGroupMunicipalityDaily": {
"type": [
"null",
"array"
],
"description": "List of daily aggregated installed capacity per metering point type group per municipality",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.InstalledCapacityPerMeteringPointTypeGroupMunicipalityDaily"
},
"title": "List<InstalledCapacityPerMeteringPointTypeGroupMunicipalityDaily>"
},
"links": {
"description": "Links object",
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/$defs/jsonapi.Links"
}
]
},
"maxConsumptionPerEACMunicipalityBasicStatisticalUnitMonth": {
"type": [
"null",
"array"
],
"description": "List of monthly max consumption per EAC per basic statistical unit",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.MaxConsumptionPerEACMunicipalityBasicStatisticalUnitMonth"
},
"title": "List<MaxConsumptionPerEACMunicipalityBasicStatisticalUnitMonth>"
},
"meteringPointCountPerMonthGridOwnerNaceCodeAdjustedMunicipality": {
"type": [
"null",
"array"
],
"description": "Number of metering points at the last day of month per grid owner, nace code and municipality.",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.MeteringPointCountPerMonthGridOwnerNaceCodeAdjustedMunicipality"
},
"title": "List<MeteringPointCountPerMonthGridOwnerNaceCodeAdjustedMunicipality>"
},
"municipalityNumber": {
"type": "string",
"description": "Municipality number",
"title": "String"
},
"name": {
"type": "string",
"description": "Municipality name",
"title": "String"
},
"nameNo": {
"type": "string",
"description": "Municipality name in Norwegian",
"title": "String"
},
"productionPerBalanceSupplierMeteringPointTypeCodeMunicipalityHour": {
"type": [
"null",
"array"
],
"description": "List of hourly aggregated production per balance supplier, metering point type code per municipality",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.ProductionPerMeteringPointTypeMunicipalityHour"
},
"title": "List<ProductionPerMeteringPointTypeMunicipalityHour>"
},
"productionPerMeteringPointTypeMunicipalityHour": {
"type": [
"null",
"array"
],
"description": "List of hourly aggregated production per metering point type per municipality",
"items": {
"$ref": "#/$defs/no.elhub.ds.energy.data.models.municipality.ProductionPerMeteringPointTypeMunicipalityHour"
},
"title": "List<ProductionPerMeteringPointTypeMunicipalityHour>"
}
},
"required": [
"municipalityNumber",
"name",
"nameNo"
],
"title": "Municipality"
},
"no.elhub.ds.energy.data.models.municipality.ProductionPerMeteringPointTypeMunicipalityHour": {
"type": "object",
"properties": {
"endTime": {
"type": [
"null",
"string"
],
"description": "End time of the interval",
"title": "String"
},
"lastUpdatedTime": {
"type": [
"null",
"string"
],
"description": "When the row was last updated",
"title": "String"
},
"meteringPointCount": {
"type": [
"null",
"integer"
],
"format": "int32",
"description": "Number of metering points that are part of the aggregate",
"title": "Int"
},
"meteringPointTypeCode": {
"type": [
"null",
"string"
],
"description": "The code of the MeteringPointType. E.g. E18.",
"title": "String"
},
"quantityKwh": {
"type": [
"null",
"number"
],
"format": "float",
"description": "The quantity in kWh for the aggregate",
"title": "Float"
},
"startTime": {
"type": [
"null",
"string"
],
"description": "Start time of the interval",
"title": "String"
}
},
"title": "ProductionPerMeteringPointTypeMunicipalityHour"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/elhub-no-elhub-ds-energy-data-models-response-municipality-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.