search_stations

Find NVE hydrological stations and their available time series.

Signature: search_stations(municipality: string, optional, default None; county: string, optional, default None; station_name: string, optional, default None; active_only: yes/no, optional, default True; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)

Direct GET

For navigating agents: open the HTML page with parameters in the URL. The result is fetched and displayed without screenshots or form filling.

Open this validated HTML GET URL

https://allemannsdata.com/wiki/kilder/nve/search_stations/?municipality={municipality}&county={county}&station_name={station_name}&active_only=true&limit=25&offset=0

Replace {municipality}, {county}, {station_name}, {active_only}, {limit}, {offset} with values. Remove unused optional parameters from the URL.

For software and dashboards: Read the operation descriptor. The JSON GET template is https://allemannsdata.com/wiki/api/v1/kilder/nve/search_stations?municipality={municipality}&county={county}&station_name={station_name}&active_only=true&limit=25&offset=0. Open this exact request as JSON.

ParameterRequirementJSON typeDescription
municipalityoptionalunionMunicipality name (HydAPI field CouncilName).
countyoptionalunionCounty name.
station_nameoptionalunionStation name filter.
active_onlyoptionalbooleanReturn only active stations by default.
limitoptionalintegerMaximum stations returned (default 25, maximum 100). Unit: items. Through this API: default 25, maximum 100.
offsetoptionalintegerNumber of matching stations to skip (default 0). Unit: items.
Generated JavaScript, Python and response structure

Use JSON when the user requests code, machine-readable data, value extraction or further computation. Use the HTML GET page to identify the correct source and verify parameters.

Example for generated JavaScript and Python

https://allemannsdata.com/wiki/api/v1/kilder/nve/search_stations?municipality={municipality}&county={county}&station_name={station_name}&active_only=true&limit=25&offset=0

Replace URL placeholders and remove unused optional parameters.

JavaScript in a dashboard

const url = "https://allemannsdata.com/wiki/api/v1/kilder/nve/search_stations?municipality={municipality}&county={county}&station_name={station_name}&active_only=true&limit=25&offset=0";
const response = await fetch(url);
if (!response.ok) {
  const failure = await response.json();
  throw new Error(`${failure.error.code}: ${failure.error.message} ${failure.suggestion}`);
}
const result = await response.json();
const data = result.data;

Python without additional packages

import json
from urllib.request import urlopen

url = "https://allemannsdata.com/wiki/api/v1/kilder/nve/search_stations?municipality={municipality}&county={county}&station_name={station_name}&active_only=true&limit=25&offset=0"
with urlopen(url) as response:
    result = json.load(response)
data = result["data"]

Response structure

{
  "source": "nve",
  "operation": "search_stations",
  "parameters": {},
  "data": {},
  "entities": [],
  "_meta": {"retrieved_at": "...", "sources": [], "cache": {}},
  "_links": {"self": "...", "source": "...", "wiki": "...", "feedback": "..."}
}
Form for manual use

The form is a fallback for people and browser agents that cannot open the GET URL directly.

Type: string. Municipality name (HydAPI field CouncilName).
Type: string. County name.
Type: string. Station name filter.
Type: yes/no. Return only active stations by default.
Type: integer. Maximum stations returned (default 25, maximum 100). Unit: items. Through this API: default 25, maximum 100.
Type: integer. Number of matching stations to skip (default 0). Unit: items.

Result

Source: NVE HydAPI. Retrieved 2026-11-17T10:12:34Z in 0.347 seconds.

Search scope: Municipality-filtered results cover all of HAREID municipality.

Showing 1 of 1 results in compact format.

  1. station_id:
    96.3.0
    latitude:
    62.36242
    longitude:
    6.0073
Show all fields in HTML
currentLink:
https://hydapi.nve.no/api/v1/Stations?CouncilName=HAREID&Active=OnlyActive
apiVersion:
1.0
license:
https://data.norge.no/nlod/en
createdAt:
2026-11-17T10:12:34.6713923Z
queryTime:
00:00:00.0007663
itemCount:
1
data:

1 results

  1. station_id:
    96.3.0
    stationName:
    Hareidselv
    latitude:
    62.36242
    longitude:
    6.0073
    utmEast_Z33:
    35685
    utmNorth_Z33:
    6946931
    masl:
    18
    riverName:
    Hareidselva
    councilNumber:
    1517
    councilName:
    Hareid
    countyName:
    Møre og Romsdal
    drainageBasinKey:
    1502
    hierarchy:
    Hareidselva
    lakeArea:
    0
    lakeName:
    not reported by source
    lakeNo:
    30918
    regineNo:
    096.1A
    reservoirNo:
    not reported by source
    reservoirName:
    not reported by source
    stationTypeName:
    Forvaltningsstasjon
    stationStatusName:
    Aktiv
    drainageBasinArea:
    40.37
    drainageBasinAreaNorway:
    40.37
    gradient1085:
    18.5
    gradientBasin:
    23
    gradientRiver:
    24.36
    heightMinimum:
    18
    heightHypso10:
    19
    heightHypso20:
    29
    heightHypso30:
    54
    heightHypso40:
    112
    heightHypso50:
    201
    heightHypso60:
    254
    heightHypso70:
    306
    heightHypso80:
    362
    heightHypso90:
    456
    heightMaximum:
    667
    lengthKmBasin:
    8.3
    lengthKmRiver:
    6.77
    percentAgricul:
    5.04
    percentBog:
    1.02
    percentEffBog:
    not reported by source
    percentEffLake:
    5.56
    percentForest:
    35.66
    percentGlacier:
    0
    percentLake:
    11.01
    percentMountain:
    17.18
    percentUrban:
    0.73
    utmZoneGravi:
    33
    utmEastGravi:
    32901
    utmNorthGravi:
    6944967
    utmZoneInlet:
    33
    utmEastInlet:
    30047
    utmNorthInlet:
    6943604
    utmZoneOutlet:
    not reported by source
    utmEastOutlet:
    not reported by source
    utmNorthOutlet:
    not reported by source
    annualRunoff:
    54.25
    specificDischarge:
    42.87
    regulationArea:
    4.24
    areaReservoirs:
    0.66
    volumeReservoirs:
    0
    regulationPartReservoirs:
    0
    transferAreaIn:
    0
    transferAreaOut:
    4.24
    reservoirAreaIn:
    0
    reservoirAreaOut:
    0.66
    reservoirVolumeIn:
    0
    reservoirVolumeOut:
    0
    remainingArea:
    35.86
    numberReservoirs:
    2
    firstYearRegulation:
    0
    catchmentRegTypeName:
    regulert m/magasin og uregulert restfelt
    owner:
    HH. Hydrologisk avd./Hydrometri
    qNumberOfYears:
    41
    qStartYear:
    1985
    qEndYear:
    2025
    qm:
    14.3028
    q5:
    16.646
    q10:
    18.4435
    q20:
    20.1251
    q50:
    22.2413
    hm:
    1.1143
    h5:
    1.1525
    h10:
    1.1793
    h20:
    1.2028
    h50:
    1.2306
    culQm:
    18.4363
    culQ5:
    21.4567
    culQ10:
    23.7737
    culQ20:
    25.9412
    culQ50:
    28.6691
    culHm:
    1.1792
    culH5:
    1.2205
    culH10:
    1.2497
    culH20:
    1.2752
    culH50:
    1.3054
    seriesList:

    4 results

    1. parameterName:
      Vannstand
      parameter:
      1000
      versionNo:
      1
      unit:
      m
      serieFrom:
      1985-08-28T00:00:00
      serieTo:
      not reported by source
      resolutionList:

      3 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        1985-08-28T09:03:00Z
        dataToTime:
        2026-11-17T09:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1985-08-28T10:00:00Z
        dataToTime:
        2026-11-17T09:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1985-08-29T11:00:00Z
        dataToTime:
        2026-11-16T11:00:00Z
    2. parameterName:
      Vannføring
      parameter:
      1001
      versionNo:
      1
      unit:
      m³/s
      serieFrom:
      not reported by source
      serieTo:
      not reported by source
      resolutionList:

      3 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        1985-08-28T09:03:00Z
        dataToTime:
        2026-11-17T09:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1985-08-28T10:00:00Z
        dataToTime:
        2026-11-17T09:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1985-08-29T11:00:00Z
        dataToTime:
        2026-11-16T11:00:00Z
    3. parameterName:
      Vanntemperatur
      parameter:
      1003
      versionNo:
      2
      unit:
      °C
      serieFrom:
      2012-09-17T00:00:00
      serieTo:
      not reported by source
      resolutionList:

      3 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        2012-09-18T17:00:00Z
        dataToTime:
        2026-11-17T09:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2012-09-18T18:00:00Z
        dataToTime:
        2026-11-17T09:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2012-09-19T11:00:00Z
        dataToTime:
        2026-11-16T11:00:00Z
    4. parameterName:
      Lufttemperatur
      parameter:
      17
      versionNo:
      1
      unit:
      °C
      serieFrom:
      2012-09-17T00:00:00
      serieTo:
      not reported by source
      resolutionList:

      3 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        2012-09-18T17:00:00Z
        dataToTime:
        2026-11-17T09:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2012-09-18T18:00:00Z
        dataToTime:
        2026-11-17T09:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2012-09-19T11:00:00Z
        dataToTime:
        2026-11-16T11:00:00Z
limit:
25
offset:
0
returned:
1
has_more_results:
no
truncated:
no
Will you use the result in generated code?

Open the same result as JSON

Is data missing or incorrect? Send feedback about this result.

Continue exploring

How an AI agent should use this page

Ground rule: Navigate with HTML GET links to keep explanations and relationships. Use the page's JSON alternative only when concrete values must be extracted, compared or computed.

How to use the search_stations lookup

  1. Replace the placeholders in the HTML GET template; remove optional parameters you do not need.
  2. Check types, units, limits and ID formats in the parameter table.
  3. Follow linked results to canonical pages before combining sources.

Misreading to avoid: An empty list means "no results for this lookup". An error message or unavailable source does not mean the data does not exist.

Source-specific next step

Go to the source page for other operations. Use the JSON template only after the HTML result shows that the parameters and source are correct.