Kildeverk
v0.2.1Live Norwegian public data: transit, SSB statistics, weather, roads, laws, with source and licence.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
statistics_search_tables Search statistics tables
Find Statistics Norway (SSB) tables by keyword, or Sweden's, Finland's or Iceland's with `country`. Returns table ids, titles, the period each table covers and when it was last updated. Start here for any question about official statistics (population, prices, employment, housing, trade and so on), then call statistics_describe_table on a promising table with the same country.
| Parameter | Type | Description |
|---|---|---|
query * | string | Words to look for in table titles, e.g. 'population municipality'. |
country | string | 'no' Norway (SSB), 'se' Sweden, 'fi' Finland, 'is' Iceland. |
include_discontinued | boolean | Also tables no longer updated (Norway and Sweden). |
lang | string | Titles and labels: 'en' or the country's own. Codes are the same. |
limit | integer | Max results. |
page | integer | Result page. |
updated_within_days | integer | Only tables updated in the last N days. |
statistics_describe_table Describe a statistics table
Show what a table contains before fetching data: its dimensions and their value codes, units, available codelists (such as counties or 5-year age groups) and footnotes. Use value_search to find a code, e.g. the code for a municipality. The answer includes example_arguments that statistics_get_data accepts as they are.
| Parameter | Type | Description |
|---|---|---|
table_id * | string | Table id, e.g. '07459'. Find ids with statistics_search_tables. |
country | string | 'no' Norway (SSB), 'se' Sweden, 'fi' Finland, 'is' Iceland. |
lang | string | Titles and labels: 'en' or the country's own. Codes are the same. |
value_search | string | Only list dimension values whose code or label contains this text, e.g. 'Bergen'. Use it to find the code for a place or category. |
values_limit | integer | Most values to list per dimension. |
statistics_get_data Get data from a statistics table
Fetch numbers from a table as labelled rows. Choose values per dimension in `select` with codes from statistics_describe_table: a list of codes, '*' for all, {'latest': N} for the last N periods, or {'from': code}. Dimensions you leave out are totalled where the table allows it; time defaults to the latest period. The size is checked before anything is fetched.
| Parameter | Type | Description |
|---|---|---|
table_id * | string | Table id, e.g. '07459'. Find ids with statistics_search_tables. |
codelists | object | Optional codelist per dimension, e.g. {'Region': 'agg_Fylker2024'} to get counties. Codes in `select` then refer to that codelist. |
country | string | 'no' Norway (SSB), 'se' Sweden, 'fi' Finland, 'is' Iceland. |
lang | string | Titles and labels: 'en' or the country's own. Codes are the same. |
max_rows | integer | Max rows returned. |
select | object | Values to fetch per dimension code. A time dimension left out gets its latest value; other dimensions that can be omitted are totalled. |
regions_list List municipalities or counties
List every Norwegian municipality or county with its code and name, as of today or any date since 1960. Use it to get the current codes, or the codes that applied in a past year.
| Parameter | Type | Description |
|---|---|---|
level * | string | 'municipality' (kommune) or 'county' (fylke). |
on_date | string | Defaults to today. |
regions_resolve Find a municipality or county
Look up a Norwegian municipality or county by name or code, including former ones. Each match shows when the code was valid and what it is part of today, so 'Tromsø' returns 1902 (until 2019), 5401 (2020-2023) and 5501 (from 2024).
| Parameter | Type | Description |
|---|---|---|
query * | string | A name or part of one (e.g. 'Tromsø', 'Viken') or a code (e.g. '1902'). |
level | string | Leave out to search both levels. |
limit | integer | Max results. |
regions_changes Region changes over time
List the mergers, splits, renumberings and renamings of Norwegian municipalities or counties between two dates, grouped into events. Filter by code to see one region's history.
| Parameter | Type | Description |
|---|---|---|
from_date * | string | First day to include, e.g. 2019-01-01. |
level * | string | 'municipality' (kommune) or 'county' (fylke). |
code | string | Only changes involving this code. |
to_date | string | Last day to include; defaults to today. |
regions_harmonise Convert a regional series to other borders
Convert values by municipality or county to the borders of another date, so a series spanning the 2020 and 2024 reforms lines up. Mergers are summed for additive values and renumberings are followed. Anything that cannot be converted exactly (a split, a missing piece, a rate that would need weights) is listed in `unconverted` with the reason, never estimated. Rows usually come from statistics_get_data: pass {region, period, value}.
| Parameter | Type | Description |
|---|---|---|
level * | string | 'municipality' (kommune) or 'county' (fylke). |
measure * | string | 'additive' if values can be summed across regions (counts, totals, areas). 'non_additive' for rates, shares, averages and indices: these are only renumbered, never summed. |
rows * | array | The series: region, period, value. |
target * | string | Borders to convert to: '2020' (2020-2023), '2024' (2024 onwards), 'latest' (today), or a date like '2018-01-01'. |
companies_search Search Norwegian legal entities
Search the Central Coordinating Register for Legal Entities (Enhetsregisteret): companies, sole proprietorships, associations and public bodies. Filter by name, municipality, industry (SN2025 code or its leading digits), legal form, minimum employees and registration date. Bankrupt entities are excluded unless asked for.
| Parameter | Type | Description |
|---|---|---|
include_bankrupt | boolean | Also return bankrupt entities. |
include_estates | boolean | Also return estates (legal form KBO: konkursbo, tvangsavviklingsbo). |
industry | array | Industry codes (SN2025, the Norwegian NACE), or their leading digits: '62' finds all IT services, '62.200' one class. Matches any of an entity's up to three industry codes, not only its main one. |
legal_form | array | Legal form codes, e.g. AS (limited company), ASA (public limited), ENK (sole proprietorship), STI (foundation), FLI (association). |
limit | integer | Max results. |
min_employees | integer | At least this many employees. Brreg accepts 0, 1, or 5 and above. |
municipality | array | Municipality codes (4 digits) or names, matched on business or postal address. Names are resolved to today's codes. |
name | string | Words in the entity's name. |
page | integer | Page number, starting at 0. |
registered_from | string | Registered in the Central Coordinating Register on or after. |
registered_to | string | Registered on or before. |
sort | string | 'newest' by registration; 'default' is Brreg's order. |
voluntary | boolean | Only organisations in the Register of Non-Profit Organisations (Frivillighetsregisteret). |
companies_get Look up a legal entity
Get one entity by its nine-digit organisation number: name, legal form, industries, addresses, employees, share capital, register memberships, bankruptcy and liquidation status, former names, roles (board, managing director, auditor and others, by name) and who may sign, and optionally its sub-units. Works for sub-units too. Birth dates and contact details are not included; for revenue and results, use companies_accounts. follow_up points to food inspections and work approvals.
| Parameter | Type | Description |
|---|---|---|
org_number * | string | Nine-digit organisation number, e.g. '923609016'. |
include_subunits | boolean | Also list the entity's establishments (sub-units). |
roles | boolean | Board, managing director, auditor and other roles, and who may sign. Names only; birth dates are left out. |
subunits_limit | integer | Establishments to list. |
city_bikes City bikes now (Oslo, Bergen, Trondheim)
City bike stations in Oslo, Bergen or Trondheim right now, from the open GBFS feeds: bikes and free docks at each station, the city's totals, and the stations nearest a point or matching a name.
| Parameter | Type | Description |
|---|---|---|
city * | string | Whose bike system. |
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
name | string | Words in a station's name. |
companies_accounts Annual accounts of a company
Key figures from a Norwegian company's filed annual accounts (Brreg's Regnskapsregisteret), the last three years: revenue, operating profit, result, assets, equity, debt and cash, with margins and change; group accounts for parent companies. In the company's reporting currency.
| Parameter | Type | Description |
|---|---|---|
org_number * | string | Nine-digit organisation number, e.g. '923609016'. |
kind | string | 'company' for the entity's own accounts, 'group' for a parent company's consolidated accounts. |
year | integer | One year; leave out for all that are open. |
weather_forecast Weather forecast for a point
Forecast from MET Norway for any latitude and longitude: temperature, precipitation, wind, cloud, humidity, pressure and a weather symbol. Hourly for about the first 2.5 days, then 6-hourly up to 10 days. Needs no configuration.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in decimal degrees. |
lon * | number | Longitude in decimal degrees. |
altitude_m | integer | Ground height in metres. Improves temperature in hilly terrain; MET estimates it if left out. |
hours | integer | How far ahead, from the first step. |
weather_find_stations Find weather stations
Find MET Norway weather stations nearest a point, or by name. Returns station ids for weather_station_elements and weather_observations, with location, elevation and operator. Closed stations are left out unless asked for.
| Parameter | Type | Description |
|---|---|---|
include_closed | boolean | Also return stations no longer in use. |
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
name | string | Part of the station's name. |
weather_station_elements What a weather station measures
List what a MET Norway station measures (temperature, precipitation, snow depth and so on), at which time resolutions, and over which years. Use the element ids it returns in weather_observations.
| Parameter | Type | Description |
|---|---|---|
station * | string | Frost station id, e.g. 'SN18700' (Oslo - Blindern). Find ids with weather_find_stations. |
element_search | string | Only elements whose id contains this text, e.g. 'precipitation'. |
weather_observations Observed weather at a station
Measured weather from a MET Norway station over a period: hourly readings or daily and monthly aggregates, back to when the station opened. Use friendly element names like 'daily_mean_temperature' or 'daily_precipitation', or any Frost element id.
| Parameter | Type | Description |
|---|---|---|
elements * | array | What to fetch. Friendly names: temperature, daily_mean_temperature, daily_max_temperature, daily_min_temperature, hourly_precipitation, daily_precipitation, wind_speed, max_wind_gust, snow_depth, humi… |
end * | End of the period, not included. | |
start * | First time included, e.g. '2024-01-01'. | |
station * | string | Frost station id, e.g. 'SN18700' (Oslo - Blindern). Find ids with weather_find_stations. |
max_rows | integer | Max rows returned. |
weather_normals Climate normals at a weather station
30-year climate normals at a MET Norway station (Frost): monthly and yearly mean temperature and precipitation for 1991-2020 (or 1961-1990, 1931-1960). Give a year to compare its months with normal: was a month warmer or wetter than usual. Station ids from weather_find_stations.
| Parameter | Type | Description |
|---|---|---|
station * | string | Frost station id, e.g. 'SN18700' (Oslo - Blindern). Find ids with weather_find_stations. |
period | string | The 30-year normal period; 1991-2020 is the current one. |
year | integer | Compare this year's months with the normal: observed mean temperature and precipitation, the temperature difference and precipitation as per cent of normal. |
weather_warnings Official weather warnings
MET Norway's official weather warnings for land and sea: wind, gale, rain, snow, ice, storm surge, forest fire danger and more, with level (yellow, orange, red), area, period, consequences and advice. Filter by point, county or land/sea; give a month for past warnings. For flood, landslide and avalanche warnings use the hazards_ tools.
| Parameter | Type | Description |
|---|---|---|
county | string | County number as it was when the warning was issued, or a county name (resolved to today's number). |
domain | string | Land or sea. |
geometry | boolean | Each warning's area as GeoJSON, for maps. |
language | string | 'nb' for MET's Norwegian (bokmål) texts. |
lat | number | Warnings covering this point. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
min_level | integer | 1 green, 2 yellow, 3 orange, 4 red; compared with the highest level a warning reached. |
month | string | A past month ('2023-08'); one not yet archived is read from the last 30 days. Leave out for warnings in force or announced now. |
weather_lightning Lightning strikes
Lightning strikes detected by MET Norway: time, position, ground or cloud, and peak current, in the last minutes (default 15) or any past window, near a point or over the whole Nordic network.
| Parameter | Type | Description |
|---|---|---|
end | string | End of the window (UTC if no offset); default now. |
lat | number | Latitude, WGS84. |
limit | integer | Max listed; 0 for the totals only. |
lon | number | Longitude, WGS84. |
minutes | integer | How far back to look. |
radius_km | number | Around lat/lon. |
weather_nowcast Rain in the next two hours
MET Norway's radar nowcast for a point in the Nordic area: precipitation every five minutes for the next two hours, whether it is raining now and when rain starts or stops, plus the temperature and wind now. Use weather_forecast for anything beyond two hours.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in decimal degrees. |
lon * | number | Longitude in decimal degrees. |
sea_forecast Waves and sea temperature
MET Norway's ocean forecast for a point at sea along the Norwegian coast: wave height and direction, sea temperature, and current speed and direction, hourly for up to about eight days, with the highest waves ahead. The forecast is for the nearest sea grid point, which the result gives. For water level and tides, use sea_level.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in decimal degrees. |
lon * | number | Longitude in decimal degrees. |
hours | integer | How far ahead, from the first step. |
air_quality_forecast Air quality forecast
MET Norway's air quality forecast at a place in Norway, hourly for about two days: the index (low to very high), the pollutant behind it, NO2, PM10, PM2.5 and ozone, and where the worst hour's pollution comes from (traffic, road dust, wood burning, shipping, industry).
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in decimal degrees. |
lon * | number | Longitude in decimal degrees. |
area | string | The area the forecast is for: 'grunnkrets' (the smallest statistical area, a few streets), 'delomrade' (part of a municipality) or 'kommune' (the municipality). |
water_find_stations Find hydrological stations
Find NVE's river, lake, snow and groundwater stations by name, municipality code, county, or distance from a point, optionally only those measuring a given parameter (e.g. 'discharge'). Each station lists its series with available resolutions and years, plus catchment size and flood statistics (mean annual and 5- to 50-year floods).
| Parameter | Type | Description |
|---|---|---|
county | string | County name. |
include_closed | boolean | Also closed stations. |
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
municipality | string | Municipality code, e.g. '4621' (Voss). |
name | string | Part of the name. |
parameter | string | Only stations measuring this, e.g. 'discharge'. |
radius_km | number | With lat and lon. |
station | string | One station by id. |
water_observations Observed river and lake data
Measured hydrology at an NVE station: discharge, water level, water temperature, snow, groundwater and more, as daily or hourly means or raw readings. Leave out start and end for the latest value. Each value says whether NVE has quality-checked it, and gives the normal for that day of the year.
| Parameter | Type | Description |
|---|---|---|
station * | string | NVE station id, three numbers with dots, e.g. '62.5.0'. Find ids with water_find_stations. |
end | Not included. | |
max_rows | integer | Max rows returned. |
parameter | string | One of precipitation, water_level, discharge, water_temperature, reservoir_volume, air_temperature, snow_depth, snow_water_equivalent, groundwater_level, or a HydAPI parameter number. |
resolution | string | Time step. |
start | Leave start and end out for the latest value only. |
svalbard_place_names Svalbard place names (Norsk Polarinstitutt)
Svalbard's official place names near a point or by name, from Norsk Polarinstitutt's S0 Stedsnavn: the kind of feature, the distance, and what each name describes and where it comes from. On the mainland, use places_search.
| Parameter | Type | Description |
|---|---|---|
details | boolean | Add each name's description and origin. |
lat | number | In Svalbard. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
name | string | Part of a name. |
radius_km | number | Around lat/lon. |
power_plants Hydropower and wind power plants (NVE)
Power plants from NVE's registers: every hydropower plant in operation (owner, maximum output in MW, head, year) and the licensed wind power plants (owner, capacity, expected GWh, turbines, NVE's case), by name, owner, municipality or county and year first in operation, largest first, with the count and summed MW. For production and use over time, see the Elhub tools.
| Parameter | Type | Description |
|---|---|---|
county | string | County number ('46') or name ('Vestland'); names are resolved to today's number. |
in_operation_from | integer | First in operation this year or later. |
in_operation_to | integer | First in operation this year or earlier. |
kind | string | Plant type. |
limit | integer | Max results. |
min_mw | number | At least this capacity. |
municipality | string | Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. |
name | string | Words in the name. |
owner | string | Words in the owner's name. |
wind_stage | array | Wind plants: operating, under_construction or licensed (not built). |
transit_find_stops Find public transport stops
Find bus, tram, metro, train, ferry and airport stops anywhere in Norway, from the national stop register. Search by name, near a point, or by municipality code, optionally only some kinds of stop (e.g. 'railStation'). Returns stop ids for transit_departures, with the modes served, location and fare zones.
| Parameter | Type | Description |
|---|---|---|
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
municipality | string | Municipality code, e.g. '4601' (Bergen). |
query | string | Stop name, e.g. 'Oslo S'. |
radius_km | number | With lat and lon and no query: how far to look. |
stop_types | array | Only these kinds of stop, e.g. ['railStation']. |
transit_departures Upcoming departures
Next departures from a stop (all its platforms) or from one quay, for every operator in Norway: scheduled and real-time times, delay, platform, line, destination and cancellations, plus any disruption notices. Optionally only some modes, or from a later start time.
| Parameter | Type | Description |
|---|---|---|
stop * | string | NSR id of a stop place ('NSR:StopPlace:59872', all its platforms) or of one quay ('NSR:Quay:571', one platform or side of the road). Find ids with transit_find_stops. |
include_cancelled | boolean | Also cancelled departures. |
limit | integer | Max results. |
modes | array | e.g. ['rail']. |
start | string | Look from this time instead of now (local Norwegian time unless an offset is given). Real-time data only exists for the next few hours. |
within_minutes | integer | Only departures within this many minutes. |
transit_vehicles Buses, trams, trains and ferries now
Public transport vehicles now from Entur's real-time positions: buses, trams, metro, trains, coaches and ferries near a point, on one line or nationwide, with line, destination, operator, delay and when each last reported.
| Parameter | Type | Description |
|---|---|---|
lat | number | Latitude, WGS84. |
limit | integer | Max listed; 0 for the totals only. |
line | string | One line by its Entur id, e.g. 'RUT:Line:31'; else every line. |
lon | number | Longitude, WGS84. |
max_age_minutes | integer | Leave out older reports. |
modes | array | Only these; default all. |
radius_km | number | Around lat/lon. |
transit_journeys Journeys from A to B
Plan a public transport journey anywhere in Norway with Entur, all operators: the next journeys (or arriving by a time) with times, duration, changes, walking, and each leg's mode, line, stops, platforms, real-time times and cancellations. Each end as a stop id, a stop name or coordinates.
| Parameter | Type | Description |
|---|---|---|
arrive_by | boolean | Treat time as the latest arrival. |
destination | string | As for origin. |
destination_lat | number | End, WGS84. |
destination_lon | number | End, WGS84. |
limit | integer | Max results. |
modes | array | Only these modes, e.g. ['rail'] for train only. Default: all. |
origin | string | A stop place id ('NSR:StopPlace:337') or a stop's name ('Oslo S'). |
origin_lat | number | Start, WGS84. |
origin_lon | number | Start, WGS84. |
time | string | Norwegian local time unless an offset is given; default now. |
addresses_search Search Norwegian addresses
Find official addresses from Kartverket's cadastre by free text ('Munkegata 1 Trondheim'), postcode or municipality code, or the addresses nearest a point. Each address has its coordinates, postcode, municipality and property numbers (gnr/bnr).
| Parameter | Type | Description |
|---|---|---|
fuzzy | boolean | Also match spellings close to the query. |
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
municipality | string | Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. |
postcode | string | Postnummer. |
query | string | Free text, e.g. 'Munkegata 1 Trondheim'. More words narrow the search; '*' is a wildcard. |
radius_m | integer | With lat and lon: the addresses within this. |
places_search Search Norwegian place names
Find mountains, lakes, rivers, islands, farms, towns and other named places in Kartverket's place-name register, by name (wildcards and fuzzy matching allowed) or near a point, optionally by kind of place, municipality or county. Each place lists every spelling and language the register holds, including Sámi and Kven names.
| Parameter | Type | Description |
|---|---|---|
county | string | County number ('46') or name ('Vestland'); names are resolved to today's number. |
fuzzy | boolean | Also match spellings close to the query. |
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
municipality | string | Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. |
query | string | Place name, e.g. 'Galdhøpiggen'. '*' is a wildcard: 'storvat*'. |
radius_m | integer | With lat and lon. |
type | string | Kind of place, in Norwegian as the register names it, e.g. 'Fjell', 'Innsjø', 'By', 'Gard', 'Tettsted', 'Øy'. Unknown kinds list close matches. |
terrain_elevation Elevation at points
Height above sea level at up to 50 points in Norway, from Kartverket's 1 m terrain model where available. Lakes give their surface height and the sea its depth (negative). Each value says which model it came from.
| Parameter | Type | Description |
|---|---|---|
points * | array | Points to look up. |
regions_at_point Municipality and county at a point
Which municipality and county a coordinate lies in, by Kartverket's current boundaries, and optionally which it was in on an earlier date (via SSB Klass). The codes plug straight into the statistics, company, address, warning and region tools, so this joins a location to everything filed by municipality.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude, WGS84. |
lon * | number | Longitude, WGS84. |
date | string | Also say which municipality and county the point was in on this date (1960 or later), following today's back through SSB Klass. |
currency_exchange_rates Exchange rates against the krone
Norges Bank's exchange rates: how many kroner one unit of a currency costs, for about 40 currencies and the krone's trade-weighted indices. Daily (business days) or as monthly or annual averages; leave out start for the latest rate.
| Parameter | Type | Description |
|---|---|---|
currencies | array | Priced in NOK. |
end | string | Included. |
frequency | string | Daily rates (business days), or monthly or annual averages. |
max_rows | integer | Max rows returned. |
start | string | Leave start and end out for the latest. |
rates_policy_rate Norges Bank's key policy rate
The key policy rate set by Norges Bank: its level now, when it took effect, and every change since a given date (by default the last five years).
| Parameter | Type | Description |
|---|---|---|
since | string | List changes from this date. Defaults to five years ago. |
rates_market NOWA, Treasury bill and government bond yields
Norwegian market interest rates from Norges Bank: NOWA (the overnight rate), and the generic yields on Treasury bills (3, 6, 12 months) and government bonds (3, 5, 7, 10 years), latest or over a period. The policy rate itself is rates_policy_rate.
| Parameter | Type | Description |
|---|---|---|
end | string | Inclusive. |
rates | array | NOWA, Treasury bills, government bonds. |
start | string | Leave out for the latest values. |
hazards_flood_landslide Flood and landslide warnings
NVE's flood and landslide warnings from varsom.no, for Norway, a county or a municipality: level (green, yellow, orange, red), when it applies, what to expect, the causes, consequences and advice. Defaults to today and the next two days, yellow and above; any past period works too.
| Parameter | Type | Description |
|---|---|---|
county | string | County number ('46') or name ('Vestland'); names are resolved to today's number. |
end | string | Last day, included. |
kinds | array | Warning types. |
language | string | 'nb' for NVE's Norwegian texts. |
min_level | integer | 1 green, 2 yellow, 3 orange, 4 red. The default leaves out green days. |
municipality | string | Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. |
start | string | First day. Leave start and end out for today and two more days. |
hazards_avalanche Avalanche forecasts
NVE's avalanche forecasts from varsom.no: danger level 1-5 per forecasting region, with avalanche problems (type, aspects, heights, size), advice and the forecaster's assessment. Ask by region id or by point; with neither, every region's level and id. Forecasts are published in winter and spring.
| Parameter | Type | Description |
|---|---|---|
end | string | Last day, included. |
language | string | 'nb' for NVE's Norwegian texts. |
lat | number | Latitude, WGS84. |
lon | number | Longitude, WGS84. |
region | integer | Forecasting region id, e.g. 3011 (Tromsø). Leave region, lat and lon out for a summary of every region with their ids. |
start | string | First day. Leave start and end out for today and two more days. |
hazards_field_observations Field observations of avalanches, landslides, floods and ice
What people observed on the ground near a point, from Regobs (varsom.no): avalanche activity, danger signs, snow, landslides, flooding, water levels and ice, each with place, time, observer, text and link. Newest first; default the last two weeks within 20 km. The official warnings are hazards_avalanche and hazards_flood_landslide.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in decimal degrees. |
lon * | number | Longitude in decimal degrees. |
end | string | Last day, inclusive; default today. |
hazards | array | 'snow' covers snow and avalanches; also 'landslide', 'flood', 'ice'. |
limit | integer | Max results. |
radius_km | number | Around lat/lon. |
start | string | First day; default two weeks ago. |
catalog_search Search Norway's data catalogue
Search data.norge.no, the national catalogue where Norwegian public bodies describe their datasets and APIs. Filter by EU theme, publisher, file format, open data, or recent change. Finds where data lives and who publishes it, with links; it does not return the data itself. Use it when no other tool covers a topic.
| Parameter | Type | Description |
|---|---|---|
formats | array | File types such as 'CSV', 'JSON', 'GEOJSON', or media types such as 'text/csv'. |
kind | string | Datasets, or APIs and other data services. |
limit | integer | Max results. |
modified_within_days | integer | Changed in the last N days. |
open_data_only | boolean | Only data marked as open data. |
page | integer | Result page. |
publisher | string | Organisation path as results give it in publisher.path, e.g. '/STAT/972417807/971526920' (Statistics Norway). A shorter path includes everything below it: '/KOMMUNE' is every municipality. |
query | string | Words to find in titles, descriptions and keywords. Norwegian words often find more, e.g. 'befolkning' as well as 'population'. |
themes | array | EU data themes. |
sea_level Water level and tides
Sea level on the Norwegian coast from Kartverket: observed at tide gauges, the tidal prediction, the effect of wind and air pressure, and a forecast for the next days; or a tide table of high and low water. Ask by coastal point or tide gauge code.
| Parameter | Type | Description |
|---|---|---|
end | string | Defaults to 24 hours (water_level) or 3 days (tide_table) on. |
interval_minutes | integer | Time step. |
kind | string | 'water_level': observed, predicted and forecast series. 'tide_table': times and heights of high and low water. |
lat | number | A point on the coast. |
lon | number | Longitude, WGS84. |
reference | string | Zero level. Chart datum is what tide tables and sea charts use; mean sea level shows the water above or below normal. |
start | string | Norwegian local time unless an offset is given. Defaults to 6 hours ago (water_level) or now (tide_table). |
station | string | Tide gauge code, e.g. 'BGO' (Bergen). Results for a point name the gauge they are based on. |
sea_level_extremes Storm surge and record sea levels
How high and low the sea gets at a place on the coast, from Kartverket: storm-surge levels for return periods of 1 to 1000 years, the highest and lowest ever observed with dates, and the tidal levels; in NN2000 by default, comparable with heights on land. For the water level now and tide tables, use sea_level.
| Parameter | Type | Description |
|---|---|---|
lat | number | A point on the coast. |
lon | number | Longitude, WGS84. |
reference | string | Zero level. NN2000 is the height system of maps and buildings on land, so levels can be compared with terrain heights; chart datum is what sea charts use. |
station | string | Tide gauge code, e.g. 'BGO' (Bergen). |
energy_reservoirs Hydropower reservoir fill
How full Norway's hydropower reservoirs are, from NVE's weekly statistics: per cent of capacity and TWh for the whole country, each electricity price area (NO1-NO5) or watercourse region, with the change from last week and the 20-year low, median and high for the same week. Latest week by default, with the same week last year; any years and weeks back to 1995.
| Parameter | Type | Description |
|---|---|---|
areas | array | 'NO' for the whole country, NO1-NO5 for electricity price areas, VASS1-VASS4 for watercourse regions. |
from_year | integer | Leave out for the latest week only. |
to_year | integer | Inclusive. |
weeks | array | Only these ISO weeks, with from_year. |
electricity_municipality Electricity use in a municipality
Electricity consumption in one Norwegian municipality from Elhub: MWh per day or hour for homes and cabins, business and industry, with shares and metering points, and the production capacity installed (hydro, wind, solar, thermal). Up to 31 days since 2021; default the last seven full days. Codes, old or current, or names.
| Parameter | Type | Description |
|---|---|---|
municipality * | string | A municipality code, old or current ('1201', '4601'), or a name ('Bergen'). |
from_date | string | First day, in Norwegian time, from 2021-01-01. Leave out both dates for the last seven full days. |
resolution | string | 'hour' adds every hour, for periods of up to 3 days. |
to_date | string | Last day, inclusive; at most 31 days from from_date. |
electricity_price_areas Electricity by price area
Electricity consumption and production in the five price areas (NO1-NO5) from Elhub: MWh per day and for the period, consumption by households, cabins and industry, production by hydro, wind, solar and thermal, and the balance; a Norway total with all five. Up to 31 days since 2021; default the last seven full days. Not prices.
| Parameter | Type | Description |
|---|---|---|
areas | array | Electricity price areas; with all five, a total for Norway is added. |
from_date | string | First day, in Norwegian time, from 2021-01-01. Leave out both dates for the last seven full days. |
to_date | string | Last day, inclusive; at most 31 days from from_date. |
electricity_grid_area Grid loss and consumption in a grid area (Elhub)
One electricity grid area (nettområde, e.g. EIDSIVA-D, BKK) from Elhub, over up to 31 days (default the last seven): grid loss in MWh and as a share of net infeed (nettap), and consumption by group (household, cabin, primary, secondary, tertiary) with shares, and its price area.
| Parameter | Type | Description |
|---|---|---|
grid_area * | string | The grid area's name as Elhub gives it, e.g. 'EIDSIVA-D', 'BKK', or part of it. |
from_date | string | Default: seven days ago. |
to_date | string | Default: yesterday. Up to 31 days. |
parliament_cases Search Stortinget's cases
Cases before the Norwegian parliament in a session (by default the current one): bills, budgets, members' proposals and more, filtered by words in the title, type, status or committee. Titles are in Norwegian. Use parliament_case for the decision and how the parties voted.
| Parameter | Type | Description |
|---|---|---|
committee | string | Committee id, e.g. 'FIN'. |
limit | integer | Max results. |
query | string | Words that must all appear in the title (Norwegian), e.g. 'strømpris'. |
session | string | Defaults to the current session. |
since | string | Only cases updated since this date. |
status | string | 'dealt_with' means the committee has dealt with it. |
type | string | Case type. |
parliament_case A Stortinget case and its votes
One case in the Norwegian parliament: title, committee, rapporteurs, the decision, and every vote on it with the result, the counts, and how each party voted when votes were recorded by name.
| Parameter | Type | Description |
|---|---|---|
case_id * | integer | Case id from parliament_cases. |
party_breakdown | boolean | For votes recorded by name, count how each party voted. |
parliament_members Members of Stortinget
The members of the Norwegian parliament sitting today, or for an electoral period: party, constituency and committees, with a count per party. Filter by party or constituency.
| Parameter | Type | Description |
|---|---|---|
constituency | string | Constituency (county) name, e.g. 'Hordaland'. |
party | string | Party id, e.g. 'A', 'H'. |
period | string | Electoral period, e.g. '2021-2025'. Leave out for the members sitting today. |
parliament_questions Questions to ministers
Questions members of Stortinget put to ministers in a session (default the current one): written questions, question time or interpellations, by words, minister, the asker's party and whether answered, with dates and links. In Norwegian. The answer's text is in parliament_question.
| Parameter | Type | Description |
|---|---|---|
answered | boolean | Only answered (true) or unanswered. |
kind | string | 'written' (skriftlige spørsmål), 'question_time' (spørretimen) or 'interpellation'. |
limit | integer | Max results. |
minister | string | Part of the minister's title, e.g. 'energi' or 'helse', or their name. |
party | string | The asker's party, e.g. 'FrP', 'H', 'SV'. |
query | string | Words that must all be in the question; each matches from the start of a word, so 'strøm' also finds 'strømpris'. |
session | string | e.g. '2025-2026'; default the current. |
parliament_vote_details How each member of Stortinget voted
Every member's vote (for, against, absent) in the votes on a Stortinget case that were recorded by name, with party and constituency; filter by party or county. Case ids come from parliament_cases; parliament_case gives the totals by party.
| Parameter | Type | Description |
|---|---|---|
case_id * | integer | A case id from parliament_cases. |
county | string | Only members from this constituency, e.g. 'Nordland'. |
party | string | Only this party, e.g. 'H'. |
vote_id | integer | One vote of the case; default every vote recorded by name. |
parliament_hearings Stortinget's committee hearings
Committee hearings in Stortinget (høringer): which cases, committee, date, deadline for written submissions, and the programme of who was heard. Filter by words in the case titles, committee or case id.
| Parameter | Type | Description |
|---|---|---|
case_id | integer | Only hearings on this case. |
committee | string | Part of the committee's name or its id, e.g. 'ENE'. |
limit | integer | Max results. |
query | string | Words in the case titles the hearing is about. |
session | string | e.g. '2025-2026'; default the current. |
with_programme | boolean | Include each hearing's programme: who was heard and when (one call each). |
parliament_question One question to a minister, with the answer
One question from a member of Stortinget to a minister in full: the question, the asker's reasoning, and the minister's answer text with date. Ids come from parliament_questions.
| Parameter | Type | Description |
|---|---|---|
question_id * | integer | A question id from parliament_questions. |
parliament_debates Speeches in Stortinget's debates
What was said in Stortinget's sittings, from the published transcripts (referater): each speech with speaker, party, time and agenda item. Search the latest sittings by words or speaker, or read one sitting by its id.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results. |
query | string | Words that must all be in a speech or in its agenda item's title. |
session | string | e.g. '2025-2026'; default the current. |
sitting | string | One sitting's transcript id, e.g. 'refs-202526-11-18'. Default: the latest sittings of the session. |
sittings | integer | How many of the latest sittings to read. |
speaker | string | Part of the speaker's name, or a party, e.g. 'SV'. |
traffic_find_points Find traffic counting points
Find Statens vegvesen's traffic registration points by name, municipality, county, road (e.g. 'E39') or distance from a point, for vehicles or bicycles. Each point gives its road reference, location, whether it counts all year, and the dates it has data for.
| Parameter | Type | Description |
|---|---|---|
county | string | County number ('46') or name ('Vestland'); names are resolved to today's number. |
include_inactive | boolean | Also points that are out of service or retired. |
kind | string | Default both. |
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
municipality | string | Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. |
name | string | Words in the point's name. |
radius_km | number | With lat and lon. |
road | string | Road number, e.g. 'E39', 'Rv7', 'Fv5000'. |
traffic_volumes Traffic volumes at a point
How many vehicles passed a traffic registration point per hour or per day, split by direction and into light and heavy vehicles, with how much of each period was counted; or the annual average daily traffic (ÅDT) for every year it has counted.
| Parameter | Type | Description |
|---|---|---|
point * | string | Point id from traffic_find_points (vehicle or bicycle). |
end | string | Last day, included. |
resolution | string | 'annual' gives the annual average daily traffic (ÅDT) for every year. |
start | string | First day. Defaults to 7 days ago (daily) or yesterday (hourly). |
road_at_point The road at a point
The road nearest a point, from Statens vegvesen's NVDB: its reference and category (European, national, county, municipal, private), speed limit, annual average daily traffic, height limit, and any bridge or tunnel. For traffic counts over time, use traffic_find_points.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in decimal degrees. |
lon * | number | Longitude in decimal degrees. |
max_distance_m | integer | How far to look for a road. |
road_objects Toll stations, tunnels, bridges and roads in a municipality (NVDB)
Across a whole municipality, from Statens vegvesen's NVDB: its toll stations with prices for small and large vehicles, its tunnels (length, year, subsea) or bridges (length, year, type, owner), longest first, or the numbered roads through it with their length there. For the road at one point, use road_at_point.
| Parameter | Type | Description |
|---|---|---|
kind * | string | 'roads': the numbered roads through it, with their length there. |
municipality * | string | Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. |
limit | integer | Max results. |
min_length_m | number | Tunnels and bridges at least this long. |
road_category | array | Only roads of these categories: E (European), R (national), F (county), K (municipal), P (private). Default for kind 'roads': E, R and F. |
schools_search Find schools
Find Norwegian schools (or, with units='kindergartens', barnehager) in Udir's registers by name, municipality or county, one level or ownership; changed_since lists those changed or closed since a date. schools_get gives pupils, owner, address.
| Parameter | Type | Description |
|---|---|---|
changed_since | string | Only units changed in the register since this date. |
county | string | County number ('46') or name ('Vestland'); names are resolved to today's number. |
include_closed | boolean | Also closed units. |
level | string | 'primary' for grunnskole (years 1-10), 'secondary' for videregående. |
limit | integer | Max results. |
municipality | string | Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. |
name | string | Words in the name. |
ownership | string | Default both. |
units | string | Or 'kindergartens' (barnehager). |
schools_get One school
One school or kindergarten from Udir's registers: pupils or children, staff, grades, owner, Bokmål or Nynorsk, address, position, website, and when it opened or closed.
| Parameter | Type | Description |
|---|---|---|
org_number * | string | The school's or kindergarten's organisation number, from schools_search. |
school_survey Pupil Survey results (Elevundersøkelsen, Udir)
Results from Udir's Pupil Survey (Elevundersøkelsen) for the country, counties, municipalities and each school: the share of pupils bullied (mobbing), indicator scores 1-5 (trivsel, støtte fra lærer, motivasjon, …) or participation, by grade, sex and school year (the last five). Give schools_in a municipality to list its schools beside it; results from small groups are hidden by Udir.
| Parameter | Type | Description |
|---|---|---|
grades | array | Grades: ['9'] (primary 5-10, secondary 1-3). Default: each. |
level | string | 'primary': grunnskole, grades 5-10. 'secondary': videregående. |
places | array | Country, counties, municipalities or schools by name or number: ['Hele landet', 'Nordland', 'Bodø', '1804']. |
report | string | 'bullying' (share bullied), 'indicators' (scores 1-5: trivsel, støtte fra lærer …) or 'participation'. |
school_years | array | E.g. ['2025-26', '2024-25']. Default: the latest. |
schools_in | string | A municipality whose schools are each listed too, e.g. 'Bodø'. |
select | object | Other dimensions by key, values by code or name: {'KjoennID': ['J']}, {'SpoersmaalID': ['Trivsel']}. Default: 'Alle', and the indices for questions. |
hazards_earthquakes Earthquakes near a point
Earthquakes near a point from the U.S. Geological Survey's worldwide catalogue: time, magnitude, depth, place, distance from the point, whether USGS has reviewed it and how many people reported feeling it. By default the last year within 500 km and magnitude 2.5 and up, newest first; order by magnitude for the largest.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in decimal degrees. |
lon * | number | Longitude in decimal degrees. |
end | string | Last day (UTC), inclusive; default today. |
limit | integer | Max results. |
min_magnitude | number | Smallest to include. |
order | string | 'time' for the newest first, 'magnitude' for the largest. |
radius_km | number | Around lat/lon. |
start | string | First day (UTC); default a year ago. |
dictionary_lookup Look up a Norwegian word
Look a word up in Bokmålsordboka and Nynorskordboka (UiB and Språkrådet): meanings with examples, word class, gender, every inflected form and origin, with similar words when not found. For spelling, the correct form or what a word means; explanations are in Norwegian.
| Parameter | Type | Description |
|---|---|---|
word * | string | The word, e.g. 'fjord'. '*' matches any letters ('spring*'). |
dictionary | string | 'bm' for Bokmålsordboka, 'nn' for Nynorskordboka. |
limit | integer | Articles per dictionary. |
flights_airport Departures and arrivals at an airport
Departures and arrivals at a Norwegian airport from Avinor, by default from an hour ago to seven hours ahead: flight, airline, the other airport, scheduled and actual times with the delay, gate and belt, delayed or cancelled. Filter by direction, the other airport or a flight number. At most three minutes old.
| Parameter | Type | Description |
|---|---|---|
airport * | string | IATA code ('BGO') or the airport's name in Avinor's list ('Bergen'). |
counts_only | boolean | Only the counts per local day. |
direction | string | Flights to list. |
flight | string | Only this flight number, e.g. 'SK274'. |
hours_ahead | integer | Hours after now. |
hours_back | integer | Hours before now. |
other_airport | string | Only flights to or from this IATA code, e.g. 'OSL'. |
world_indicators Compare Norway with other countries
A World Bank indicator for Norway and other countries: the latest value per country, ranked, or every year in a range. A WDI code or a common name (gdp, gdp_per_capita, gdp_per_capita_ppp, gdp_growth, population, life_expectancy, unemployment, …). Default the Nordic countries. For figures inside Norway, use SSB's statistics tools.
| Parameter | Type | Description |
|---|---|---|
indicator * | string | A WDI code ('NY.GDP.PCAP.CD') or one of: gdp, gdp_per_capita, gdp_per_capita_ppp, gdp_growth, population, life_expectancy, fertility_rate, unemployment, inflation, co2_per_capita, renewable_energy_sha… |
countries | array | ISO country codes ('NOR', 'SE') or World Bank aggregates ('WLD' for the world, 'EUU' for the EU, 'OED' for the OECD). Default: the Nordic countries. |
from_year | integer | Leave out both years for the latest value. |
to_year | integer | Inclusive. |
eurostat_search Search Eurostat's datasets
Find Eurostat datasets by words in their titles: code, title, last update and the periods covered. Eurostat covers EU and EFTA countries, Norway included, so it compares Norway with Europe. Read a dataset with eurostat_data. Norway's own newest monthly figures (unemployment, CPI) come first from SSB's statistics tools.
| Parameter | Type | Description |
|---|---|---|
query * | string | Words in the dataset's title. |
limit | integer | Max results. |
eurostat_data Read a Eurostat dataset
A slice of a Eurostat dataset as labelled rows: by default the last five periods for Norway, Sweden, Denmark, Finland, Iceland and the EU. Filter any dimension by its codes; the result lists every dimension's codes and labels, so a first call shows how to narrow the next. Values carry Eurostat's flags (provisional, estimated …).
| Parameter | Type | Description |
|---|---|---|
dataset * | string | A dataset code from eurostat_search, e.g. 'une_rt_a'. |
filters | object | Codes to keep per dimension, e.g. {'sex': ['T'], 'age': ['Y15-74']}. Leave a dimension out to get all its values; the result lists each dimension's codes. |
geo | array | Country or region codes: 'NO', 'SE', 'EU27_2020', or NUTS regions such as 'NO08'. Eurostat writes Greece as 'EL'. Default: the Nordic countries and the EU. |
last_periods | integer | Only the last N periods. Default 5 without since. |
since | string | First period, e.g. '2015' or '2020-01'. |
laws_search Search Norwegian laws and regulations
Find Norwegian laws and central regulations in force (Lovdata), by words in their titles or in the text of their sections. Returns ids, short titles, the ministry and when the latest change took effect, or the sections that hold the words. Use it for questions about what the law says, which act governs something, or a paragraph (§). Read a section with laws_get_section.
| Parameter | Type | Description |
|---|---|---|
query * | string | Words that must all appear, e.g. 'arbeidsmiljø' or 'husdyr velferd'. Words of five letters or more also match longer forms ('forurens' finds 'forurensning'). |
document | string | Only search the text of this document: an id (LOV-2005-06-17-62), a short title (arbeidsmiljøloven) or its abbreviation (aml). Implies match='text'. |
kind | string | Laws, central regulations, or both. |
limit | integer | Max results. |
match | string | 'titles' finds documents by title, short title or legal area; 'text' finds the sections whose heading or text holds the words. |
laws_get_section Read a section of a law or regulation
The text of one section (§) of a Norwegian law or central regulation in force, word for word from Lovdata, with its heading, chapter and a link. Name the document by id, short title or abbreviation ('forurensningsloven', 'aml'). Without a section it lists the document's sections.
| Parameter | Type | Description |
|---|---|---|
document * | string | An id (LOV-1981-03-13-6), a short title (forurensningsloven) or its abbreviation (forurl). |
section | string | A section such as '§ 11', '11' or '14-7'. Leave out to list the document's sections. |
tenders_search Search public tenders (TED)
Public procurement notices (anbud, offentlige innkjøp) from TED, the EU's Tenders Electronic Daily: calls for tenders, awards and prior information by buyer, country (default Norway), CPV code, words, stage and date, with deadline, value and a link. Awards name the winners, where they are and how many tenders came in; filter by winner or winner_city for 'who won'. Each notice gives the contract's duration and renewals; procedure_id lists a procedure's call and award, to date the whole run.
| Parameter | Type | Description |
|---|---|---|
buyer | string | Words in the buyer's name, e.g. 'Bergen kommune' or 'Statens vegvesen'. |
country | string | The buyer's country, ISO 3166 three letters: 'NOR', 'SWE', 'DEU'. |
cpv | array | CPV codes, sub-codes included: '45' (construction), '72' (IT services). |
limit | integer | Max results. |
open_only | boolean | Only notices whose tender deadline has not passed. |
page | integer | Result page. |
procedure_id | string | Every notice of one procedure (the call and its award), from a notice's procedure_id. |
published_from | string | Default: 90 days ago, unless open_only. |
published_to | string | Inclusive. |
query | string | Words anywhere in the notice. |
stage | string | 'planned', 'competition' (calls for tenders) or 'awarded'. |
winner | string | Words in a winning supplier's name (awards). |
winner_city | string | Where a winning supplier is, e.g. 'Bergen'. |
map_layers_at_point Map layers at a point
What lies at or near a coordinate on open national map layers: quick clay, flood, landslide, rockfall and avalanche zones, cultural heritage, protected areas, Ramsar sites, nature types, alien (SE, HI) and red-listed (CR, EN, VU) species records, contaminated ground, radon, aquaculture, protected watercourses, grunnkrets, road noise, and at sea Kystverket's fairways (farled), speed limits, recommended routes, emergency ports (nødhavner) and port facilities (kaier), and reindeer districts. Each layer answers found or not, with the features' attributes and the owner's licence.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in Norway (WGS84). |
lon * | number | Longitude in Norway (WGS84). |
layers | array | Layer keys to ask; leave out for all: quick_clay_hazard_zone, quick_clay_runout, quick_clay_susceptibility, flood_zone, flood_susceptibility, debris_flow_susceptibility, rockfall_susceptibility, avala… |
radius_m | number | 0 for what the point lies in; up to 10,000 for what is near it (emergency_port: 50,000). |
ecb_exchange_rates Euro reference rates (ECB)
The European Central Bank's euro foreign exchange reference rates: how many units of a currency one euro buys, for about 30 currencies, NOK included. Daily, or monthly or annual averages; leave out start for the latest. For kroner per currency, use Norges Bank's currency_exchange_rates.
| Parameter | Type | Description |
|---|---|---|
currencies | array | Priced in euros. |
end | string | Inclusive. |
frequency | string | Monthly and annual are averages. |
max_rows | integer | Max rows returned. |
start | string | Leave out for the latest rates. |
ecb_policy_rates The ECB's key interest rates
The European Central Bank's three key interest rates (deposit facility, main refinancing operations, marginal lending facility): each one's level now, when it took effect, and every change since a date (by default five years ago).
| Parameter | Type | Description |
|---|---|---|
since | string | List changes from this date. Defaults to five years ago. |
aquaculture_sites Aquaculture sites (fish farms)
Fish farms and other aquaculture sites from Fiskeridirektoratet's register, by municipality, county, name or the operator's organisation number: place and coordinates, capacity, species, sea or land, production area, and the licences on each site with who holds them. For sites near a point, use map_layers_at_point.
| Parameter | Type | Description |
|---|---|---|
county | string | County code or name, e.g. 'Vestland'. |
holders | boolean | Look up who holds each site's licences (one call per licence, up to 25). |
limit | integer | Max results. |
municipality | string | Municipality code or name, e.g. '4624' or 'Austevoll'. |
name | string | The site's name. |
org_number | string | The licence holder's organisation number. |
species | string | One of: salmon, trout, other_fish, shellfish, algae. |
fish_buyers Registered fish buyers
Buyers of fish and their buying points from Fiskeridirektoratet's buyer register (Kjøperregisteret): name, organisation number, address and position, by words, municipality, county or kind of location.
| Parameter | Type | Description |
|---|---|---|
county | string | County code or name, e.g. 'Finnmark'. |
kind | string | Location type, e.g. 'ORDINARY_FACILITY_T' (a buying facility), 'DOCK_SALESPERSON_T', 'VESSEL_T', 'LEGAL_ENTITY'. |
limit | integer | Max results. |
municipality | string | Municipality code or name. |
query | string | Words in the name or address. |
fish_landings Fish landings in Norway (Fiskeridirektoratet)
How much fish was landed in Norway, from Fiskeridirektoratet's sales notes since 2000: round weight (tonnes) and value per species, landing municipality, month, year or fleet (Norwegian or foreign vessels), for chosen years, a municipality and a species ('torsk'). A year not asked for before takes up to a minute to fetch.
| Parameter | Type | Description |
|---|---|---|
years * | array | Years, e.g. [2024, 2025]. A year not asked for before takes up to a minute. |
by | string | What the rows are summed by. |
fleet | string | Vessel nationality. |
limit | integer | Max results. |
municipality | string | Where the fish was landed. Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. |
species | string | Words in the species' Norwegian name, e.g. 'torsk', 'sei', 'laks'. |
aquaculture_records NYTEK certificates, applications, surveys, escapes (Fiskeridirektoratet)
Fish farm records from Fiskeridirektoratet's map service: NYTEK installation certificates (valid to, inspection body), aquaculture applications under processing, B surveys of the seabed (condition 1-4, report), escapes, and the production areas' traffic-light colour; by site number, holder (name or organisation number) or municipality, newest first.
| Parameter | Type | Description |
|---|---|---|
kind * | string | nytek (installation certificates), applications (under processing), surveys (B surveys of the seabed), escapes, production_areas (traffic light). |
holder | string | The holder or applicant: words in its name, or its organisation number. |
lat | number | Production areas: the one this point lies in. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
municipality | string | A municipality's name. |
site_number | integer | The site's number (lokalitetsnummer). |
fish_health Salmon lice and fish health per fish farm
Salmon lice per fish farm and week from BarentsWatch: adult female lice per fish as reported, treatments, cleaner fish, fallowing, PD and ILA, for every site in some municipalities or near a point, or one site in detail; with the national count above the limit. Default: last week.
| Parameter | Type | Description |
|---|---|---|
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
localities | array | Sites. |
locality | integer | One site's locality number, for its week in detail. |
lon | number | Longitude, WGS84. |
municipality | array | Municipality codes or names, e.g. ['Kvam', 'Ullensvang'] for Hardanger. |
only_reporting | boolean | Only sites that reported lice. |
org_number | string | The sites whose licences this holder has. |
radius_km | number | Around lat/lon. |
week | integer | ISO week; default last week. |
year | integer | ISO year of the week. |
ships_live Ships at sea now (AIS)
Ships at sea now from the Coastal Administration's open AIS: name, type, position, speed, destination and size, near a point or across Norwegian waters, with a count by kind of ship (cargo, passenger, fishing, tanker …).
| Parameter | Type | Description |
|---|---|---|
lat | number | Latitude, WGS84. |
limit | integer | Max listed; 0 for the totals only. |
lon | number | Longitude, WGS84. |
radius_km | number | Around lat/lon. |
ship_type | string | Only one kind: cargo, dredging or diving, fishing, high-speed craft, law enforcement, medical transport, military, passenger, pilot, pleasure craft, port tender, sailing, search and rescue, tanker, to… |
shelf_fields Oil and gas fields on the Norwegian shelf
Oil and gas fields on the Norwegian continental shelf from Sokkeldirektoratet: status (producing, shut down, approved), operator, area, hydrocarbon type, discovery year, and recoverable and remaining reserves; filter by name, status, operator or area. Counts by status come back too.
| Parameter | Type | Description |
|---|---|---|
area | string | Sea area. |
limit | integer | Max results. |
name | string | Part of a field's name. |
operator | string | Part of the operator's name. |
reserves | boolean | Add recoverable and remaining reserves. |
status | string | Field status. |
shelf_wells Wells and discoveries on the shelf, by year
How many exploration (or development) wells were drilled on the Norwegian shelf each year, and how many made discoveries, from Sokkeldirektoratet; optionally for one sea.
| Parameter | Type | Description |
|---|---|---|
area | string | Sea area. |
well_type | string | Well purpose. |
year_from | integer | Entry year, from. |
year_to | integer | Inclusive. |
shelf_objects Facilities, pipelines, licences and wellbores on the shelf
Facilities (platforms, templates, FPSOs), pipelines, production licences or wellbores on the Norwegian shelf from Sokkeldirektoratet, by name, field, operator, phase (IN SERVICE, INSTALLATION, SHUT DOWN, DECOMMISSIONED …; licences ACTIVE) or near a point, with counts by phase and by operator. Fields themselves are shelf_fields.
| Parameter | Type | Description |
|---|---|---|
kind * | string | What to list. |
field | string | The field it belongs to, e.g. 'Johan Sverdrup'. |
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
name | string | Part of its name. |
operator | string | Part of the operator's name. |
phase | array | Facilities and pipelines: IN SERVICE, INSTALLATION, SHUT DOWN, DECOMMISSIONED, REMOVED, ABANDONED IN PLACE …; licences: ACTIVE or INACTIVE. |
radius_km | number | Around lat and lon. |
eu_legislation_search Search EU legislation (EUR-Lex)
EU regulations, directives and decisions by words in their English title, from EUR-Lex: CELEX number, adoption date, whether in force, entry into force, and whether marked as relevant for the EEA (and so for Norway). Slow: 10-30 seconds.
| Parameter | Type | Description |
|---|---|---|
query * | string | Words that must all be in the English title, e.g. 'batteries' or 'artificial intelligence'. |
in_force_only | boolean | Only acts in force. |
include_corrigenda | boolean | Also corrections. |
kind | string | Type of act. |
limit | integer | Max results. |
since | string | Only acts adopted from this date. |
health_statistics_search Search FHI's health statistics
Find tables in the Norwegian Institute of Public Health's statistics banks: notifiable diseases (MSIS: kikhoste, norovirus, influensa …), abortions, births, causes of death, prescriptions (Legemiddelregisteret), vaccinations, patients, and public health indicators, by words in the title or the disease. Read one with health_statistics_data.
| Parameter | Type | Description |
|---|---|---|
query * | string | Words in the table's title or, for MSIS, a disease: 'kikhoste', 'svangerskapsavbrudd', 'influensa', 'GLP-1', 'dødsårsaker'. |
limit | integer | Max results. |
source | string | One bank: abr, daar, nokkel, gs, hkr, kpr, lmr, mfr, msis, ngs, sysvak, npr, skast. |
health_statistics_data Read an FHI health statistics table
Numbers from one FHI table as labelled rows: choose values per dimension in select (e.g. a disease, a county, an age group); dimensions left out take their total, and time its latest periods. The result lists each dimension's values for the next call.
| Parameter | Type | Description |
|---|---|---|
source * | string | The bank, from health_statistics_search, e.g. 'msis'. |
table_id * | integer | From health_statistics_search. |
latest | integer | How many latest periods. |
select | object | Values to keep per dimension code, e.g. {'diagnose': ['Kikhoste']}. Left out, a dimension takes its first value (usually the total), and time its latest periods. |
species_observations Species observations (GBIF)
Species observed in Norway, through GBIF (mostly Artsobservasjoner and museum collections): in a municipality or within a radius of a point, for a taxon (scientific or common name) and dates: the number of records, the species with most records, the datasets and their licences, and the latest records with date and place. Its red list filter is the global IUCN list: for the Norwegian Red List (CR, EN, VU) or alien species risk (SE, HI), use species_records.
| Parameter | Type | Description |
|---|---|---|
iucn | array | Global IUCN categories, e.g. ['CR', 'EN', 'VU']; not the Norwegian Red List. |
lat | number | Latitude, WGS84. |
limit | integer | Latest records to list. |
lon | number | Longitude, WGS84. |
municipality | string | Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. Searched by its bounding box. |
radius_km | number | Around lat and lon. |
since | string | Observed on or after. |
taxon | string | A species or group, scientific or common name: 'Lynx lynx', 'gaupe', 'Aves', 'Pinus'. |
until | string | Observed on or before. |
species_records Red-listed and alien species records (Artskart)
Species records from Artsdatabanken's Artskart in a municipality, county or near a point, between dates, by Norwegian Red List category (CR, EN, VU …) or Alien Species List risk (SE, HI …), optionally for one taxon: Artskart's total count, the species with most records and the latest records with date, place and source.
| Parameter | Type | Description |
|---|---|---|
category | array | Norwegian Red List (CR, EN, VU, NT, DD, RE) or Alien Species List risk (SE very high, HI high, PH, LO, NK). Default: any record. |
county | string | County number ('46') or name ('Vestland'); names are resolved to today's number. |
lat | number | Latitude, WGS84. |
limit | integer | Latest records to list. |
lon | number | Longitude, WGS84. |
municipality | string | Municipality code ('4601') or name ('Bergen'); names are resolved to today's code. |
radius_km | number | A box around lat and lon. |
since | string | Observed on or after. |
taxon | string | A species or group, Norwegian or scientific. |
until | string | Observed on or before. |
higher_education_tables Find a higher education statistics table (DBH)
Find tables in DBH, HK-dir's database for statistics on higher education: students, applicants and admissions, completion and drop-out (frafall), credits, degrees awarded, doctorates (doktorgrader), staff, finances and scientific publishing (publiseringspoeng per university). Each table lists its fields; read one with higher_education_data.
| Parameter | Type | Description |
|---|---|---|
query * | string | Words in the table's name or fields: 'doktorgrader', 'publiseringspoeng', 'frafall', 'opptak'. |
limit | integer | Max results. |
higher_education_data Read a higher education statistics table (DBH)
Numbers from one DBH table, summed by the fields in group_by (default: per year), for chosen institutions (UiO, UiB, NTNU, UiT …), years ('2016-2025') and exact field values. E.g. table 101 (doctorates awarded, women and men) or 373 (publication points per institution). The result lists the table's fields for the next call.
| Parameter | Type | Description |
|---|---|---|
table_id * | integer | From higher_education_tables, e.g. 373. |
contains | object | Text a field must contain, e.g. {'Internasjonal tittel': 'samfunnsforskning'}. |
fields | array | For list tables: the fields to return. Default: all. |
filters | object | Exact values per field, e.g. {'Kjønnkode': ['2']} or {'Nivåkode': ['PHD']}. |
group_by | array | Fields to sum by (summable tables), e.g. ['Institusjonskode', 'Årstall']. Default: the year, and the institution when institutions are given. |
institutions | array | By name, short name or code: 'UiB', 'NTNU', 'Universitetet i Oslo'. |
limit | integer | Max results. |
years | string | One year or a range: '2024', '2016-2025'. Default: every year. |
publication_channels Look up a journal's or publisher's level (DBH channel register)
The level (nivå 1 or 2, or 0) of a scientific journal or book publisher in the Norwegian register of publication channels, per year, by title or ISSN, with its ISSNs, publisher, open access status and field.
| Parameter | Type | Description |
|---|---|---|
issn | string | A journal's print or online ISSN. |
kind | string | What to look up. |
limit | integer | Max results. |
title | string | Words in the journal's or publisher's title, e.g. 'Tidsskrift for samfunnsforskning', 'Lancet', 'Universitetsforlaget'. |
sun_and_moon Sunrise, sunset and the moon
When the sun rises and sets at a place on a date, in which direction, how high it gets at noon and how long the day is (or whether it is polar night or midnight sun), with moonrise, moonset and the moon's phase. From MET Norway.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in decimal degrees. |
lon * | number | Longitude in decimal degrees. |
date | string | Default today. |
utc_offset | string | Offset for the times: '+01:00' Norwegian winter time, '+02:00' summer time. |
sea_text_forecast Sea and coast forecast in words (MET Norway)
MET Norway's forecast for a coastal stretch (kyststrekning) or sea area (havområde) as written for sailors: wind, sea state, weather and visibility, with gale, icing or polar low warnings, by area name ('Skagerrak') or a point. In Norwegian or English. For numbers at a point (waves, currents), use sea_forecast.
| Parameter | Type | Description |
|---|---|---|
area | string | Words in the area's name, e.g. 'Skagerrak'. |
kind | string | 'coast' (kyststrekninger) or 'sea' (havområder, further out). |
language | string | Norwegian or English. |
lat | number | Latitude, WGS84. |
lon | number | Longitude, WGS84. |
road_messages Traffic messages: closures, road works, accidents
Traffic messages on Norwegian roads now, from Statens vegvesen: closures, road works, lane and speed restrictions, accidents, obstructions and diversions, with road number, place, description and period. Filter by road (E6, Rv7, Fv81), county or a point.
| Parameter | Type | Description |
|---|---|---|
active_now | boolean | Only messages in force now. |
county | string | A county name, e.g. 'Nordland'. |
kind | string | Only one kind: accident, animals on the road, closure or lane restriction, construction, damaged road, diversion, event, obstruction (landslide, flood, snow …), poor visibility or weather, road work… |
lat | number | Latitude, WGS84. |
limit | integer | Max results. |
lon | number | Longitude, WGS84. |
radius_km | number | Around lat/lon. |
road | string | A road number: 'E6', 'E39', 'Rv7' (riksvei), 'Fv81' (fylkesvei). |
aid_search Search Norwegian aid agreements
Norwegian development aid agreements since 1960 (Norad), by recipient country, region, partner, sector, target area, budget chapter, policy marker, years or words in the title and description. Titles, descriptions, countries, sectors and partner groups are in English, so search in English ('oil', not 'olje'). Each with partner, country, sector, years and the amount disbursed, largest first. Read one with aid_agreement; sums with aid_totals.
| Parameter | Type | Description |
|---|---|---|
assistance | string | Type of assistance: 'Bilateral', 'Earmarked to multilaterals' … |
chapter | string | Budget chapter number ('170') or words. |
country | string | Recipient country, English as Norad names it: 'Ukraine', 'South Sudan', 'Global Unspecified'. |
limit | integer | Max results. |
marker_level | string | principal = 2; significant_or_principal = 1 or 2. |
markers | array | Policy markers every agreement must have; 'climate' is mitigation or adaptation. Needs marker_level. |
offset | integer | Results to skip. |
partner | string | Words in the agreement or implementing partner's name; Norwegian organisations by their Norwegian name ('Flyktninghjelpen'). |
partner_group | string | 'NGO Norwegian', 'Multilateral institutions' … |
region | string | 'Africa', 'Asia' … |
sector | string | DAC main sector code ('410') or words. |
target_area | string | 'Education', 'Emergency assistance' … |
text | string | Words in the title or description, which are in English: 'oil', not 'olje'. |
year_from | integer | First year. |
year_to | integer | Default: the latest year published. |
aid_totals Norwegian aid totals
Norwegian development aid disbursed (Norad), in NOK and USD, summed by year, country, region, partner, sector, target area, type of assistance, budget chapter or agency, with the same filters as aid_search. Policy markers (gender equality, climate …) take an explicit level; marker amounts overlap and cannot be added together.
| Parameter | Type | Description |
|---|---|---|
assistance | string | Type of assistance: 'Bilateral', 'Earmarked to multilaterals' … |
chapter | string | Budget chapter number ('170') or words. |
country | string | Recipient country, English as Norad names it: 'Ukraine', 'South Sudan', 'Global Unspecified'. |
group_by | string | What the totals are summed by. |
limit | integer | Max results. |
marker_level | string | principal = 2; significant_or_principal = 1 or 2. |
markers | array | Policy markers every agreement must have; 'climate' is mitigation or adaptation. Needs marker_level. |
partner | string | Words in the agreement or implementing partner's name; Norwegian organisations by their Norwegian name ('Flyktninghjelpen'). |
partner_group | string | 'NGO Norwegian', 'Multilateral institutions' … |
region | string | 'Africa', 'Asia' … |
sector | string | DAC main sector code ('410') or words. |
target_area | string | 'Education', 'Emergency assistance' … |
text | string | Words in the title or description, which are in English: 'oil', not 'olje'. |
year_from | integer | First year. |
year_to | integer | Default: the latest year published. |
aid_agreement One Norwegian aid agreement
One Norwegian development aid agreement by number (Norad): its title, full description, and every year's disbursements with partner, country, sector, budget post and policy markers.
| Parameter | Type | Description |
|---|---|---|
number * | string | E.g. 'MOZ-22/0005-1'. |
food_inspections Smilefjes food inspections
Mattilsynet's smilefjes inspections of restaurants, cafés, bakeries and other places serving food since 2016, by the owner's organisation number, the place's name, postcode or town: each place with its latest inspections, the overall grade and smiley, and the grades for its four themes. Latest inspected first.
| Parameter | Type | Description |
|---|---|---|
inspections | integer | Inspections per place, latest first. |
limit | integer | Places to return. |
name | string | Words in the place's name. |
org_number | string | The owner's organisation number. A company's own number also finds the places run by its establishments (sub-units). |
postcode | string | Postnummer. |
town | string | Postal town (poststed), e.g. 'Bergen'. |
worst_grade | integer | Only places whose latest inspection has this grade or worse: 2 for a straight mouth or sad, 3 for sad. |
work_approvals Approved cleaning companies and health services
Whether a company is approved by Arbeidstilsynet as a cleaning company (Renholdsregisteret) or as an occupational health service (bedriftshelsetjeneste), by organisation number, name or municipality: status, industry codes, website, address and establishments. An establishment's number finds its company.
| Parameter | Type | Description |
|---|---|---|
approved_only | boolean | Leave out not approved and pending. |
limit | integer | Max results. |
municipality | string | Municipality code or name, of the address. |
name | string | Words in the company's name. |
org_number | string | A company's number, or one of its establishments'. |
registers | string | Which register. |
subunits | integer | Establishments per company. |
place_overview Overview of a place
Everything about a point in Norway in one call: municipality and county, elevation, the weather now and the next 6 hours, rain in the next two hours, warnings in force, the nearest stop for each mode (bus, tram, rail, ferry) and places nearby, plus ready follow-up calls. Parts that fail become notes.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude, WGS84. |
lon * | number | Longitude, WGS84. |
municipality_profile Profile of a municipality
One Norwegian municipality from several sources at once: population and its change (SSB), companies and largest employers with their results, schools, traffic counting points, electricity use and production capacity, and warnings in force. Accepts today's code, a code from before the 2020 or 2024 reforms, or a name.
| Parameter | Type | Description |
|---|---|---|
municipality * | string | A municipality code, old or current ('1201', '4601'), or a name ('Bergen'). |
employer_accounts | boolean | Give the largest employers' latest revenue and result (one call each). |
compare_municipalities Compare municipalities
Two to five Norwegian municipalities side by side: population and its change, registered units in the business register (also per 1,000 inhabitants), schools, traffic counting points, electricity use per inhabitant and warnings in force. Accepts codes, old or current, and names. Built on municipality_profile, which gives each one in full.
| Parameter | Type | Description |
|---|---|---|
municipalities * | array | Two to five codes (old or current) or names, e.g. ['Bergen', '0301']. |
statistics_series A statistic over time for one region
One SSB statistic for Norway, a county or a municipality over every year, in one call. Uses SSB's series summed to today's borders where the table has one, so the series does not stop at the 2020 or 2024 reforms. Accepts codes, old or current, and names. Find tables with statistics_search_tables.
| Parameter | Type | Description |
|---|---|---|
region * | string | '0' for Norway, a county or municipality code (old or current), or a name. |
table_id * | string | SSB table, e.g. '07459'. |
filters | object | Codes for the table's other dimensions, e.g. {'Kjonn': ['2']}. Dimensions left out are summed where SSB allows it. |
from_year | integer | Inclusive. |
measure | string | The ContentsCode value, when the table has more than one measure. |
measure_kind | string | When SSB has no series for today's borders: 'additive' (counts, totals) lets Kildeverk rebuild earlier years by summing the regions that became this one; 'non_additive' (rates, shares) follows renumbe… |
to_year | integer | Inclusive. |
statistics_rank Rank municipalities or counties on a statistic
Every municipality or county ranked on one SSB statistic for one period, highest or lowest first, with Norway's figure for reference. Give compare_to for an earlier period to rank by change instead ('which municipalities grew fastest since 2015?'). Uses SSB's figures for today's borders where the table has them.
| Parameter | Type | Description |
|---|---|---|
table_id * | string | SSB table, e.g. '07459'. |
compare_to | string | An earlier period. Adds the change to each row and ranks by it. |
county | string | Only municipalities in this county: County number ('46') or name ('Vestland'); names are resolved to today's number. |
filters | object | Codes for the table's other dimensions. |
level | string | Regions to rank. |
limit | integer | Max results. |
measure | string | ContentsCode, when there are several. |
min_value | number | Leave out regions whose value is below this, e.g. 1000 when ranking change, so that tiny municipalities with large swings don't top the list. |
order | string | Which end first. |
period | string | e.g. '2025'. Defaults to the latest. |
cite_sources Citations for a result
Turn the `provenance` of any Kildeverk result into references: BibTeX entries and CSL-JSON (for Zotero, Pandoc and citation processors). Repeated requests are merged. Runs locally; it fetches nothing.
| Parameter | Type | Description |
|---|---|---|
provenance * | array | The `provenance` list of any Kildeverk result, as it came back. |
style | string | Output format. |
sources_list List data sources
List every upstream source this service reads from, with its licence, rate limits, cache lifetimes, what it covers, its known gaps, and the tools that use it.
service_status Service status
Show how much request budget is left for each upstream, how full the cache is, and how each tool has been used since the service started: calls, errors by code, cache hits and average time. Useful after a RATE_LIMITED error.