Hopp til innhold

← API-referanse

Electricity use in the municipality (Elhub)

electricity_consumption15 felter15 av feltene åpne i demoen
Kilde
Elhub energy data (Elhub AS)
Geografi
Kommune
Regnes som foreldet etter
45 døgn
Tilgang
Krever API-nøkkel med tilgang til seksjonen
Kontraktversjon
1

Hva dette ikke sier

Gjengitt ordrett fra seksjonens warnings-felt, slik API-et returnerer det. Vi oversetter dem ikke: en oversettelse ville vist noe annet enn det svaret ditt faktisk inneholder.

  • Kommune totals from Elhub's open data, not this household's consumption: there is no public per-meter data. private_kwh_per_metering_point_12m is the kommune's private (household) kWh over the last twelve published months divided by the mean number of private metering points; one household can have several meters, a cabin kommune's private meters include cabins, and the figure reflects climate, heating mix and dwelling size together. Elhub publishes with about two weeks' lag and revises recent months.
  • Months are calendar months in Norwegian time. Annual fields are null unless that consumer group has twelve consecutive full months with all expected hours (including daylight-saving changes). *_complete_months reports complete months per group; months_covered counts stored months across groups and does not prove annual coverage. Monthly ratios are null for incomplete months. The Norway comparison requires complete private periods for every municipality represented in the stored window; an entirely absent municipality cannot be detected from this source snapshot. fetched_at is the oldest contributing import time. period_end is the latest stored month.

Felter

6 av 15 felter er verdifelter — de som avgjør om en post faktisk sier noe. Resten er kontekst: identifikatorer, koder og tidsstempler. Feltene merket «åpen» returnerer verdier til anonyme kallere; de øvrige krever nøkkel.

FeltTypeRolleDemo
municipality_codestring | nullkontekståpen
period_startdate | nullkontekståpen
period_enddate | nullkontekståpen
months_coveredinteger | nullkontekståpen
private_complete_monthsinteger | nullkontekståpen
business_complete_monthsinteger | nullkontekståpen
industry_complete_monthsinteger | nullkontekståpen
private_kwh_12mnumber | null (kWh)verdiåpen
private_metering_pointsnumber | nullverdiåpen
private_kwh_per_metering_point_12mnumber | nullverdiåpen
norway_private_kwh_per_metering_point_12mnumber | nullkontekståpen
business_kwh_12mnumber | null (kWh)verdiåpen
industry_kwh_12mnumber | null (kWh)verdiåpen
private_monthly_kwh_per_metering_pointarray<object> | nullverdiåpen
fetched_attimestamp | nullkontekståpen

Hent denne seksjonen

curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643?include=electricity_consumption"

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/electricity_consumption?limit=25"

Prøv den nå

Dette er et ekte kall mot den offentlige demoen, herfra. Svaret under er det API-et returnerte — ikke et eksempel.