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.
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.
Type: integer. Number of matching stations to skip (default 0). Unit: items.

Result

Source: NVE HydAPI. Retrieved 2026-09-20T22:43:03Z in 0.455 seconds.

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

Showing 2 of 2 results in compact format.

  1. station_id:
    3.23.0
    latitude:
    59.43872
    longitude:
    10.66828
  2. station_id:
    3.8.0
    latitude:
    59.45954
    longitude:
    10.76486
Show all fields in HTML
currentLink:
https://hydapi.nve.no/api/v1/Stations?CouncilName=MOSS&Active=OnlyActive
apiVersion:
1.0
license:
https://data.norge.no/nlod/en
createdAt:
2026-09-20T22:43:03.877834Z
queryTime:
00:00:00.0018688
itemCount:
2
data:

2 results

  1. station_id:
    3.23.0
    stationName:
    Moss dam ndf.
    latitude:
    59.43872
    longitude:
    10.66828
    utmEast_Z33:
    254419
    utmNorth_Z33:
    6596905
    masl:
    9
    riverName:
    Mossevassdraget
    councilNumber:
    3103
    councilName:
    Moss
    countyName:
    Østfold
    drainageBasinKey:
    328
    hierarchy:
    Mossevassdraget
    lakeArea:
    0
    lakeName:
    not reported by source
    lakeNo:
    0
    regineNo:
    003.A1
    reservoirNo:
    not reported by source
    reservoirName:
    not reported by source
    stationTypeName:
    Privat, pålagt
    stationStatusName:
    Aktiv
    drainageBasinArea:
    693.372
    drainageBasinAreaNorway:
    693.372
    gradient1085:
    1.44
    gradientBasin:
    not reported by source
    gradientRiver:
    2.46
    heightMinimum:
    5
    heightHypso10:
    53
    heightHypso20:
    70
    heightHypso30:
    85
    heightHypso40:
    118
    heightHypso50:
    131
    heightHypso60:
    144
    heightHypso70:
    169
    heightHypso80:
    199
    heightHypso90:
    222
    heightMaximum:
    346
    lengthKmBasin:
    48.4
    lengthKmRiver:
    103.43
    percentAgricul:
    15.09
    percentBog:
    1.6
    percentEffBog:
    not reported by source
    percentEffLake:
    5.26
    percentForest:
    70.66
    percentGlacier:
    0
    percentLake:
    6.87
    percentMountain:
    0
    percentUrban:
    2.22
    utmZoneGravi:
    not reported by source
    utmEastGravi:
    not reported by source
    utmNorthGravi:
    not reported by source
    utmZoneInlet:
    not reported by source
    utmEastInlet:
    not reported by source
    utmNorthInlet:
    not reported by source
    utmZoneOutlet:
    not reported by source
    utmEastOutlet:
    not reported by source
    utmNorthOutlet:
    not reported by source
    annualRunoff:
    362.4
    specificDischarge:
    16.56
    regulationArea:
    693.34
    areaReservoirs:
    37.55
    volumeReservoirs:
    73
    regulationPartReservoirs:
    0.2
    transferAreaIn:
    0
    transferAreaOut:
    0
    reservoirAreaIn:
    0
    reservoirAreaOut:
    0
    reservoirVolumeIn:
    0
    reservoirVolumeOut:
    0
    remainingArea:
    0
    numberReservoirs:
    6
    firstYearRegulation:
    1986
    catchmentRegTypeName:
    regulert m/magasinregulering
    owner:
    MOSS BRUKSEIERFORENING
    qNumberOfYears:
    not reported by source
    qStartYear:
    not reported by source
    qEndYear:
    not reported by source
    qm:
    46
    q5:
    55
    q10:
    62
    q20:
    68
    q50:
    75
    hm:
    not reported by source
    h5:
    not reported by source
    h10:
    not reported by source
    h20:
    not reported by source
    h50:
    not reported by source
    culQm:
    46
    culQ5:
    55
    culQ10:
    62
    culQ20:
    68
    culQ50:
    75
    culHm:
    not reported by source
    culH5:
    not reported by source
    culH10:
    not reported by source
    culH20:
    not reported by source
    culH50:
    not reported by source
    seriesList:

    2 results

    1. parameterName:
      Vannstand
      parameter:
      1000
      versionNo:
      1
      unit:
      m
      serieFrom:
      1911-01-01T00:00:00
      serieTo:
      1940-12-31T00:00:00
      resolutionList:

      2 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        1911-01-01T11:00:00Z
        dataToTime:
        1940-12-31T11:00:00Z
      2. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1911-01-01T11:00:00Z
        dataToTime:
        1940-12-31T11:00:00Z
    2. parameterName:
      Vannføring
      parameter:
      1001
      versionNo:
      1
      unit:
      m³/s
      serieFrom:
      1966-09-01T00:00:00
      serieTo:
      not reported by source
      resolutionList:

      2 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        1966-09-01T11:00:00Z
        dataToTime:
        2026-09-19T06:00:00Z
      2. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1966-09-01T11:00:00Z
        dataToTime:
        2026-09-19T11:00:00Z
  2. station_id:
    3.8.0
    stationName:
    Vansjø
    latitude:
    59.45954
    longitude:
    10.76486
    utmEast_Z33:
    260037
    utmNorth_Z33:
    6598868
    masl:
    25
    riverName:
    Mossevassdraget
    councilNumber:
    3103
    councilName:
    Moss
    countyName:
    Østfold
    drainageBasinKey:
    325
    hierarchy:
    Mossevassdraget
    lakeArea:
    35.58
    lakeName:
    Vansjø
    lakeNo:
    291
    regineNo:
    003.B2
    reservoirNo:
    772
    reservoirName:
    VANSJØ
    stationTypeName:
    Privat, pålagt
    stationStatusName:
    Aktiv
    drainageBasinArea:
    678.104
    drainageBasinAreaNorway:
    678.104
    gradient1085:
    1.54
    gradientBasin:
    not reported by source
    gradientRiver:
    2.37
    heightMinimum:
    14
    heightHypso10:
    59
    heightHypso20:
    78
    heightHypso30:
    103
    heightHypso40:
    120
    heightHypso50:
    139
    heightHypso60:
    155
    heightHypso70:
    190
    heightHypso80:
    208
    heightHypso90:
    247
    heightMaximum:
    348
    lengthKmBasin:
    47.42
    lengthKmRiver:
    97.02
    percentAgricul:
    15.37
    percentBog:
    1.6
    percentEffBog:
    not reported by source
    percentEffLake:
    5.42
    percentForest:
    71.03
    percentGlacier:
    0
    percentLake:
    6.89
    percentMountain:
    0
    percentUrban:
    1.84
    utmZoneGravi:
    not reported by source
    utmEastGravi:
    not reported by source
    utmNorthGravi:
    not reported by source
    utmZoneInlet:
    not reported by source
    utmEastInlet:
    not reported by source
    utmNorthInlet:
    not reported by source
    utmZoneOutlet:
    not reported by source
    utmEastOutlet:
    not reported by source
    utmNorthOutlet:
    not reported by source
    annualRunoff:
    355.26
    specificDischarge:
    16.6
    regulationArea:
    693.56
    areaReservoirs:
    37.22
    volumeReservoirs:
    73
    regulationPartReservoirs:
    0.21
    transferAreaIn:
    0
    transferAreaOut:
    0
    reservoirAreaIn:
    0
    reservoirAreaOut:
    0
    reservoirVolumeIn:
    0
    reservoirVolumeOut:
    0
    remainingArea:
    -15.24
    numberReservoirs:
    5
    firstYearRegulation:
    0
    catchmentRegTypeName:
    regulert m/magasinregulering
    owner:
    MOSS BRUKSEIERFORENING
    qNumberOfYears:
    not reported by source
    qStartYear:
    not reported by source
    qEndYear:
    not reported by source
    qm:
    not reported by source
    q5:
    not reported by source
    q10:
    not reported by source
    q20:
    not reported by source
    q50:
    not reported by source
    hm:
    25.62
    h5:
    25.9
    h10:
    26.13
    h20:
    26.36
    h50:
    26.64
    culQm:
    not reported by source
    culQ5:
    not reported by source
    culQ10:
    not reported by source
    culQ20:
    not reported by source
    culQ50:
    not reported by source
    culHm:
    25.62
    culH5:
    25.9
    culH10:
    26.13
    culH20:
    26.36
    culH50:
    26.64
    seriesList:

    2 results

    1. parameterName:
      Vannstand
      parameter:
      1000
      versionNo:
      2
      unit:
      m
      serieFrom:
      1966-09-01T00:00:00
      serieTo:
      not reported by source
      resolutionList:

      3 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        1966-09-01T11:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2003-01-02T06:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1966-09-01T11:00:00Z
        dataToTime:
        2026-09-20T11:00:00Z
    2. parameterName:
      Magasinvolum
      parameter:
      1004
      versionNo:
      0
      unit:
      millioner m³
      serieFrom:
      not reported by source
      serieTo:
      not reported by source
      resolutionList:

      3 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        1920-01-01T11:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2003-01-02T06:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1920-01-01T11:00:00Z
        dataToTime:
        2026-09-20T11:00:00Z
limit:
25
offset:
0
returned:
2
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.