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-20T23:12:57Z in 0.183 seconds.

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

Showing 1 of 1 results in compact format.

  1. station_id:
    2.461.0
    latitude:
    60.10302
    longitude:
    10.86589
Show all fields in HTML
currentLink:
https://hydapi.nve.no/api/v1/Stations?CouncilName=NITTEDAL&Active=OnlyActive
apiVersion:
1.0
license:
https://data.norge.no/nlod/en
createdAt:
2026-09-20T23:12:57.3941149Z
queryTime:
00:00:00.0014047
itemCount:
1
data:

1 results

  1. station_id:
    2.461.0
    stationName:
    Fossen
    latitude:
    60.10302
    longitude:
    10.86589
    utmEast_Z33:
    270227
    utmNorth_Z33:
    6670075
    masl:
    135
    riverName:
    Nitelva
    councilNumber:
    3232
    councilName:
    Nittedal
    countyName:
    Akershus
    drainageBasinKey:
    269
    hierarchy:
    Nitelva/Glommavassdraget
    lakeArea:
    0
    lakeName:
    not reported by source
    lakeNo:
    0
    regineNo:
    002.CD2
    reservoirNo:
    not reported by source
    reservoirName:
    not reported by source
    stationTypeName:
    Forvaltningsstasjon
    stationStatusName:
    Aktiv
    drainageBasinArea:
    224.98
    drainageBasinAreaNorway:
    224.98
    gradient1085:
    13.77
    gradientBasin:
    17.56
    gradientRiver:
    13.57
    heightMinimum:
    131
    heightHypso10:
    258
    heightHypso20:
    320
    heightHypso30:
    375
    heightHypso40:
    436
    heightHypso50:
    465
    heightHypso60:
    487
    heightHypso70:
    524
    heightHypso80:
    560
    heightHypso90:
    608
    heightMaximum:
    702
    lengthKmBasin:
    25.38
    lengthKmRiver:
    33.98
    percentAgricul:
    2.2
    percentBog:
    2.25
    percentEffBog:
    not reported by source
    percentEffLake:
    0.94
    percentForest:
    85.05
    percentGlacier:
    0
    percentLake:
    7.25
    percentMountain:
    0.03
    percentUrban:
    1.09
    utmZoneGravi:
    33
    utmEastGravi:
    261825
    utmNorthGravi:
    6679512
    utmZoneInlet:
    33
    utmEastInlet:
    251546
    utmNorthInlet:
    6685445
    utmZoneOutlet:
    not reported by source
    utmEastOutlet:
    not reported by source
    utmNorthOutlet:
    not reported by source
    annualRunoff:
    237.28
    specificDischarge:
    33.4
    regulationArea:
    29.04
    areaReservoirs:
    9.97
    volumeReservoirs:
    18.7
    regulationPartReservoirs:
    0.08
    transferAreaIn:
    0
    transferAreaOut:
    29.04
    reservoirAreaIn:
    0
    reservoirAreaOut:
    4.11
    reservoirVolumeIn:
    0
    reservoirVolumeOut:
    18.7
    remainingArea:
    196.06
    numberReservoirs:
    12
    firstYearRegulation:
    1901
    catchmentRegTypeName:
    regulert m/magasin og uregulert restfelt
    owner:
    HH. Hydrologisk avd./Hydrometri
    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:
    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:
    42
    culQ5:
    52
    culQ10:
    63
    culQ20:
    75
    culQ50:
    88
    culHm:
    3.85
    culH5:
    4.05
    culH10:
    4.25
    culH20:
    4.44
    culH50:
    4.63
    seriesList:

    4 results

    1. parameterName:
      Vannstand
      parameter:
      1000
      versionNo:
      1
      unit:
      m
      serieFrom:
      1984-04-13T00:00:00
      serieTo:
      not reported by source
      resolutionList:

      3 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        1984-04-13T11:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1986-01-01T00:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1984-04-13T11:00:00Z
        dataToTime:
        2026-09-20T11: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:
        1984-04-13T11:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1986-01-01T00:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        1984-04-13T11:00:00Z
        dataToTime:
        2026-09-20T11:00:00Z
    3. parameterName:
      Vanntemperatur
      parameter:
      1003
      versionNo:
      1
      unit:
      °C
      serieFrom:
      2010-05-26T00:00:00
      serieTo:
      2024-06-11T00:00:00
      resolutionList:

      3 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        2010-05-27T13:00:00Z
        dataToTime:
        2024-06-11T08:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2010-05-27T14:00:00Z
        dataToTime:
        2024-06-11T08:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2010-05-28T11:00:00Z
        dataToTime:
        2024-06-10T11:00:00Z
    4. parameterName:
      Lufttemperatur
      parameter:
      17
      versionNo:
      1
      unit:
      °C
      serieFrom:
      2010-05-26T00:00:00
      serieTo:
      not reported by source
      resolutionList:

      3 results

      1. resTime:
        0
        method:
        Instantaneous
        timeOffset:
        0
        dataFromTime:
        2010-05-31T00:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      2. resTime:
        60
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2010-05-31T01:00:00Z
        dataToTime:
        2026-09-20T22:00:00Z
      3. resTime:
        1440
        method:
        Mean
        timeOffset:
        0
        dataFromTime:
        2010-05-31T11:00:00Z
        dataToTime:
        2026-09-20T11: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.