{
 "version": "0.2.0",
 "sources": [
  {
   "id": "ssb_statbank",
   "name": "SSB Statbank",
   "publisher": "Statistics Norway (SSB)",
   "homepage": "https://www.ssb.no/en/statbank",
   "docs_url": "https://www.ssb.no/en/api/pxwebapi",
   "terms_url": "https://www.ssb.no/en/diverse/lisens",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "30 queries per 60 seconds per IP address; 800,000 cells per query",
   "this_service_max_per_minute": 25,
   "cache_ttls_s": {
    "search": 3600,
    "metadata": 3600,
    "codelist": 86400,
    "data": 86400
   },
   "requires_env": [],
   "covers": [
    "Search across all published Statbank tables, in English or Norwegian",
    "Table metadata: dimensions, value codes, units, aggregation codelists, footnotes",
    "Data for any selection of a table, returned as labelled rows"
   ],
   "known_gaps": [
    "Search ranks a local index of SSB's table list by words in titles, measures and subjects (stemmed, compounds split); it matches words, not meaning",
    "The index is a snapshot, rebuilt with `kildeverk ssb-index`; newer tables are found through SSB's own search, which matches title words only",
    "Codes are not checked for dimensions queried through a codelist; SSB checks them",
    "At most 10,000 rows per call; narrow the selection for more",
    "Tables from other PxWeb publishers (e.g. the Norwegian Directorate of Health) are not included"
   ],
   "tools": [
    "statistics_search_tables",
    "statistics_describe_table",
    "statistics_get_data",
    "municipality_profile",
    "compare_municipalities",
    "statistics_series",
    "statistics_rank"
   ]
  },
  {
   "id": "ssb_klass",
   "name": "SSB Klass",
   "publisher": "Statistics Norway (SSB)",
   "homepage": "https://www.ssb.no/en/klass",
   "docs_url": "https://data.ssb.no/api/klass/v1/api-guide.html",
   "terms_url": "https://data.ssb.no/api/klass/v1/api-guide.html#_license",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 25,
   "cache_ttls_s": {
    "history": 86400
   },
   "requires_env": [],
   "covers": [
    "Every Norwegian municipality and county code since 1960, with names and validity periods",
    "Every code change: renumbering, renaming, mergers and splits, with dates",
    "Converting municipality or county series to the 2020 or 2024 borders, or any date"
   ],
   "known_gaps": [
    "Klass records changes of code, not every boundary adjustment between municipalities that keep their codes; those small transfers are invisible to harmonisation",
    "A split cannot be converted exactly, because Klass says which areas a municipality split into but not how its population or other values divided",
    "Periods are read by year; a change in the middle of a year is placed in that year",
    "Codes valid only before 1960 are not known"
   ],
   "tools": [
    "regions_list",
    "regions_resolve",
    "regions_changes",
    "regions_harmonise",
    "regions_at_point",
    "municipality_profile",
    "compare_municipalities",
    "statistics_series",
    "statistics_rank"
   ]
  },
  {
   "id": "brreg",
   "name": "Enhetsregisteret (Brønnøysund Register Centre)",
   "publisher": "Brønnøysund Register Centre (Brønnøysundregistrene)",
   "homepage": "https://www.brreg.no/",
   "docs_url": "https://data.brreg.no/enhetsregisteret/api/dokumentasjon/no/index.html",
   "terms_url": "https://data.brreg.no/enhetsregisteret/api/dokumentasjon/no/index.html",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "unit": 3600,
    "search": 900
   },
   "requires_env": [],
   "covers": [
    "Every registered legal entity in Norway: companies, sole proprietorships, associations, public bodies, with their organisation number",
    "Name, legal form, industry, address and municipality, employee count, registration dates, share capital, bankruptcy and liquidation status, former names",
    "Sub-units (establishments) of an entity",
    "Search by name, municipality, industry, legal form, size and registration date"
   ],
   "known_gaps": [
    "Roles (board members, managing director, auditors) are not included: they name people",
    "Phone numbers and e-mail addresses are left out on purpose, although Brreg publishes them",
    "Industry codes are SN2025, which Brreg switched to in 2025; older SN2007 codes do not match, but a two-digit division prefix like '62' usually still finds the right firms",
    "A search can page through at most 10,000 results",
    "Annual accounts are a separate register; companies_accounts reads them"
   ],
   "tools": [
    "companies_search",
    "companies_get",
    "municipality_profile",
    "compare_municipalities"
   ]
  },
  {
   "id": "brreg_accounts",
   "name": "Regnskapsregisteret (Brønnøysund Register Centre)",
   "publisher": "Brønnøysund Register Centre (Brønnøysundregistrene)",
   "homepage": "https://www.brreg.no/",
   "docs_url": "https://data.brreg.no/regnskapsregisteret/regnskap/v3/api-docs",
   "terms_url": "https://data.norge.no/datasets/8132460c-91ab-3950-a54b-a54ee20c62e9",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 75,
   "cache_ttls_s": {
    "accounts": 86400
   },
   "requires_env": [],
   "covers": [
    "Key figures from the annual accounts companies file, for the last three years: revenue, operating profit, profit before tax, tax, net result, assets, equity, debt and cash",
    "Company accounts and, for parent companies, group accounts, with the currency, the accounting rules (Norwegian GAAP or IFRS) and whether they were audited"
   ],
   "known_gaps": [
    "Only the last three years are open; Brreg sells older accounts",
    "Public bodies, sole proprietorships and others that do not file accounts have none here",
    "Notes, the board's report, the auditor's report and cash flow are not in the open API",
    "Figures are in the currency each company reports in; Equinor, for one, reports in USD",
    "Small companies may leave out lines such as sales revenue or tax; those are empty"
   ],
   "tools": [
    "companies_accounts",
    "municipality_profile"
   ]
  },
  {
   "id": "met_locationforecast",
   "name": "MET Norway Locationforecast",
   "publisher": "Norwegian Meteorological Institute (MET Norway)",
   "homepage": "https://api.met.no/",
   "docs_url": "https://api.met.no/weatherapi/locationforecast/2.0/documentation",
   "terms_url": "https://api.met.no/doc/License",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (also offered under NLOD 2.0)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "20 requests per second per application; respect Expires; identify with User-Agent; at most 4 coordinate decimals",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "forecast": 1800
   },
   "requires_env": [],
   "covers": [
    "Weather forecast for any point: temperature, precipitation, wind, cloud, humidity, pressure and a weather symbol, hourly for about 2.5 days and 6-hourly to 9-10 days"
   ],
   "known_gaps": [
    "Coordinates are rounded to 3 decimals (about 110 m) before the request",
    "Uses the compact product; probabilistic (percentile) values are not included",
    "Warnings (MetAlerts) and ocean forecasts are not included"
   ],
   "tools": [
    "weather_forecast",
    "place_overview"
   ]
  },
  {
   "id": "met_frost",
   "name": "MET Norway Frost",
   "publisher": "Norwegian Meteorological Institute (MET Norway)",
   "homepage": "https://frost.met.no",
   "docs_url": "https://frost.met.no/howto.html",
   "terms_url": "https://api.met.no/doc/License",
   "licence": {
    "id": "CC-BY-3.0-NO",
    "name": "Creative Commons Attribution 3.0 Norway",
    "url": "https://creativecommons.org/licenses/by/3.0/no/"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 30,
   "cache_ttls_s": {
    "stations": 86400,
    "series": 86400,
    "recent": 600,
    "historic": 86400
   },
   "requires_env": [
    "KILDEVERK_FROST_CLIENT_ID"
   ],
   "covers": [
    "Weather stations: find by position or name, with location, elevation and operator",
    "What each station measures, and since when",
    "Climate normals for 1991-2020, 1961-1990 and 1931-1960: monthly and yearly mean temperature and precipitation",
    "Observations and daily or hourly aggregates: temperature, precipitation, wind, snow depth, humidity, pressure and hundreds of other elements"
   ],
   "known_gaps": [
    "Needs a free Frost client id; without one these tools answer NOT_CONFIGURED",
    "Only open data: series that need Frost's client secret are not available",
    "Fresh observations can take an hour or more to appear",
    "Frost states CC BY 3.0 Norway on every response, while MET's general licence page says NLOD 2.0 and CC BY 4.0; results cite what Frost states"
   ],
   "tools": [
    "weather_find_stations",
    "weather_station_elements",
    "weather_observations",
    "weather_normals"
   ]
  },
  {
   "id": "met_metalerts",
   "name": "MET Norway MetAlerts",
   "publisher": "Norwegian Meteorological Institute (MET Norway)",
   "homepage": "https://api.met.no/",
   "docs_url": "https://api.met.no/weatherapi/metalerts/2.0/documentation",
   "terms_url": "https://api.met.no/doc/License",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (also offered under NLOD 2.0)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "20 requests per second per application; respect Expires; identify with User-Agent",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "current": 300,
    "archive": 86400
   },
   "requires_env": [],
   "covers": [
    "Official weather warnings for land and sea: wind, gale, rain, snow, ice, storm surge, forest fire danger, polar lows and more, with level, area and advice",
    "The archive of past warnings, month by month"
   ],
   "known_gaps": [
    "County codes are those in force when a warning was issued, so warnings before 2024 use the 2020 counties",
    "Warning areas are returned as names, not polygons"
   ],
   "tools": [
    "weather_warnings",
    "place_overview",
    "municipality_profile",
    "compare_municipalities"
   ]
  },
  {
   "id": "met_nowcast",
   "name": "MET Norway Nowcast",
   "publisher": "Norwegian Meteorological Institute (MET Norway)",
   "homepage": "https://api.met.no/",
   "docs_url": "https://api.met.no/weatherapi/nowcast/2.0/documentation",
   "terms_url": "https://api.met.no/doc/License",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (also offered under NLOD 2.0)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "20 requests per second per application; respect Expires; identify with User-Agent; at most 4 coordinate decimals",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "nowcast": 300
   },
   "requires_env": [],
   "covers": [
    "Precipitation every five minutes for the next two hours anywhere in the Nordic area, from weather radar, with the temperature, wind and humidity now"
   ],
   "known_gaps": [
    "Only the Nordic area: Svalbard and the open sea far from the coast are outside",
    "Where radar coverage is reduced the precipitation is less reliable; each result says how good the coverage is",
    "Two hours ahead only; weather_forecast covers the days after"
   ],
   "tools": [
    "weather_nowcast",
    "place_overview"
   ]
  },
  {
   "id": "met_oceanforecast",
   "name": "MET Norway Oceanforecast",
   "publisher": "Norwegian Meteorological Institute (MET Norway)",
   "homepage": "https://api.met.no/",
   "docs_url": "https://api.met.no/weatherapi/oceanforecast/2.0/documentation",
   "terms_url": "https://api.met.no/doc/License",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (also offered under NLOD 2.0)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "20 requests per second per application; respect Expires; identify with User-Agent; at most 4 coordinate decimals",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "ocean": 3600
   },
   "requires_env": [],
   "covers": [
    "Ocean forecast for sea points along the Norwegian coast and in the seas around it: wave height and direction, sea temperature, and current speed and direction, hourly for about eight days"
   ],
   "known_gaps": [
    "Points on land or far into a fjord have no forecast; each result gives the sea grid point it is for",
    "Wave period and swell are not in the API"
   ],
   "tools": [
    "sea_forecast"
   ]
  },
  {
   "id": "met_airquality",
   "name": "MET Norway Airqualityforecast",
   "publisher": "Norwegian Meteorological Institute (MET Norway)",
   "homepage": "https://api.met.no/",
   "docs_url": "https://api.met.no/weatherapi/airqualityforecast/0.1/documentation",
   "terms_url": "https://api.met.no/doc/License",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (also offered under NLOD 2.0)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "20 requests per second per application; respect Expires; identify with User-Agent; at most 4 coordinate decimals",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "air": 3600
   },
   "requires_env": [],
   "covers": [
    "Air quality forecast for any place in Norway, by municipality, part of a municipality or the smallest statistical area: the air quality index and NO2, PM10, PM2.5 and ozone, hourly for about two days",
    "Where the pollution comes from: traffic exhaust, road dust, heating (mostly wood burning), shipping, industry or pollution carried in from elsewhere"
   ],
   "known_gaps": [
    "MET still calls this API version 0.1 and has not changed it since 2018, so treat it as less settled than MET's other products",
    "Norway only",
    "A model forecast, not measurements; measured air quality (NILU) is not included"
   ],
   "tools": [
    "air_quality_forecast"
   ]
  },
  {
   "id": "nve_hydapi",
   "name": "NVE HydAPI",
   "publisher": "Norwegian Water Resources and Energy Directorate (NVE)",
   "homepage": "https://www.nve.no/",
   "docs_url": "https://hydapi.nve.no/UserDocumentation/",
   "terms_url": "https://hydapi.nve.no/UserDocumentation/#license",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "5 requests per second per API key; a cap on data points per request",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "stations": 14400,
    "recent": 600,
    "historic": 86400
   },
   "requires_env": [
    "KILDEVERK_NVE_API_KEY"
   ],
   "covers": [
    "NVE's hydrological stations: rivers, lakes, groundwater and snow, with location, catchment and flood statistics",
    "Observed discharge, water level, water temperature, snow, groundwater and more, as raw readings or hourly and daily means, back to the start of each series"
   ],
   "known_gaps": [
    "Needs a free HydAPI key; without one these tools answer NOT_CONFIGURED",
    "The newest values are uncontrolled and can be revised; each row says how far it has been checked",
    "Rating curves and percentiles are not exposed yet",
    "Flood, landslide and avalanche warnings are a separate source (nve_varsom)"
   ],
   "tools": [
    "water_find_stations",
    "water_observations"
   ]
  },
  {
   "id": "entur_geocoder",
   "name": "Entur Geocoder (stop places)",
   "publisher": "Entur AS",
   "homepage": "https://developer.entur.org/",
   "docs_url": "https://developer.entur.no/docs/open-services/geocoder",
   "terms_url": "https://developer.entur.org/pages-intro-authentication",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "1000 requests per minute per ET-Client-Name, reported in rate-limit-* headers; clients must identify with ET-Client-Name",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "stops": 86400
   },
   "requires_env": [],
   "covers": [
    "Every public transport stop place in Norway from the national stop register (NSR): find by name, near a point, or by municipality, with modes and stop types"
   ],
   "known_gaps": [
    "Only NSR stop places; addresses, POIs and OpenStreetMap places are left out on purpose",
    "Groups of stop places (a whole city, say) are not returned"
   ],
   "tools": [
    "transit_find_stops",
    "transit_journeys",
    "place_overview"
   ]
  },
  {
   "id": "entur_journeyplanner",
   "name": "Entur Journey Planner",
   "publisher": "Entur AS",
   "homepage": "https://developer.entur.org/",
   "docs_url": "https://developer.entur.org/pages-journeyplanner-journeyplanner",
   "terms_url": "https://developer.entur.org/pages-intro-authentication",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "2000 requests per 2 minutes per ET-Client-Name, reported in rate-limit-* headers; clients must identify with ET-Client-Name",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "departures": 30,
    "journeys": 60
   },
   "requires_env": [],
   "covers": [
    "Departures from any stop place or quay in Norway, for every operator: scheduled and real-time times, platform, line, destination, cancellations and disruption notices",
    "Journeys from A to B by stop, name or coordinates: every leg with line, platforms, real-time times, walking and changes"
   ],
   "known_gaps": [
    "Real-time coverage depends on the operator; rows say whether a time is real-time",
    "Departures are cached for 30 seconds"
   ],
   "tools": [
    "transit_departures",
    "transit_journeys"
   ]
  },
  {
   "id": "kartverket",
   "name": "Kartverket: addresses, place names and elevation",
   "publisher": "Norwegian Mapping Authority (Kartverket)",
   "homepage": "https://www.kartverket.no/",
   "docs_url": "https://www.kartverket.no/api-og-data",
   "terms_url": "https://www.kartverket.no/api-og-data/vilkar-for-bruk",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (credit: © Kartverket)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 30,
   "cache_ttls_s": {
    "addresses": 86400,
    "places": 86400,
    "types": 604800,
    "elevation": 604800,
    "boundaries": 86400
   },
   "requires_env": [],
   "covers": [
    "Every official address in Norway from the cadastre: search by text, postcode or municipality, or find the addresses nearest a point",
    "The central place-name register: mountains, lakes, farms, towns and more, with every approved spelling and language (Norwegian, Sámi, Kven)",
    "Terrain elevation, lake surface height and sea depth at up to 50 points",
    "Which municipality and county a point lies in, sea territory included"
   ],
   "known_gaps": [
    "The address API returns at most the first 10,000 matches, and place names the first 5,000",
    "Elevation outside Norway and its waters is empty",
    "Sea depths are interpolated and must not be used for navigation",
    "Cadastral property data beyond the address (owners, areas) is not included"
   ],
   "tools": [
    "addresses_search",
    "places_search",
    "terrain_elevation",
    "regions_at_point",
    "traffic_find_points",
    "place_overview"
   ]
  },
  {
   "id": "norges_bank",
   "name": "Norges Bank open data",
   "publisher": "Norges Bank",
   "homepage": "https://www.norges-bank.no/",
   "docs_url": "https://www.norges-bank.no/en/topics/Statistics/open-data/",
   "terms_url": "https://www.norges-bank.no/en/topics/Statistics/open-data/",
   "licence": {
    "id": "not-stated",
    "name": "No licence stated by the publisher",
    "url": "https://www.norges-bank.no/en/topics/Statistics/open-data/"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 30,
   "cache_ttls_s": {
    "recent": 3600,
    "historic": 86400,
    "currencies": 86400
   },
   "requires_env": [],
   "covers": [
    "Norges Bank's exchange rates against the krone for about 40 currencies and indices, daily since 1999 (some earlier), with monthly and annual averages",
    "The key policy rate: its current level, when it last changed, and every change since",
    "NOWA, and the generic yields on Treasury bills and government bonds"
   ],
   "known_gaps": [
    "Norges Bank states no licence for this data; results say so",
    "Rates are published around 16:00 Norwegian time on business days, for that day"
   ],
   "tools": [
    "currency_exchange_rates",
    "rates_policy_rate",
    "rates_market"
   ]
  },
  {
   "id": "nve_varsom",
   "name": "NVE Varsom warnings",
   "publisher": "Norwegian Water Resources and Energy Directorate (NVE), via varsom.no",
   "homepage": "https://www.varsom.no/",
   "docs_url": "https://api.nve.no/doc/flomvarsling/",
   "terms_url": "https://api.nve.no/doc/flomvarsling/",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 30,
   "cache_ttls_s": {
    "current": 600,
    "historic": 86400,
    "regions": 604800
   },
   "requires_env": [],
   "covers": [
    "Flood and landslide warnings for every municipality: level (green to red), period, the warning, its causes, consequences and advice",
    "Avalanche forecasts for every forecasting region: danger level, avalanche problems with aspects and heights, and advice"
   ],
   "known_gaps": [
    "Avalanche forecasts are only published in winter; outside the season every region says 'No Rating' (level 0)",
    "Some avalanche texts are published in Norwegian only, even when English is asked for",
    "Warnings are forecasts; NVE gives no guarantee of timeliness, so check varsom.no before acting on them"
   ],
   "tools": [
    "hazards_flood_landslide",
    "hazards_avalanche",
    "place_overview",
    "municipality_profile",
    "compare_municipalities"
   ]
  },
  {
   "id": "nve_regobs",
   "name": "Regobs field observations",
   "publisher": "Norwegian Water Resources and Energy Directorate (NVE), via regobs.no",
   "homepage": "https://www.regobs.no/",
   "docs_url": "https://api.regobs.no/v5/swagger/ui/index",
   "terms_url": "https://api.nve.no/doc/regobs/",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0 (credit: Regobs.no and the observer)",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 35,
   "cache_ttls_s": {
    "recent": 600,
    "past": 86400
   },
   "requires_env": [],
   "covers": [
    "Field observations of snow and avalanches, landslides, floods and ice from Regobs, the observation system behind varsom.no: what was seen, where and when, by NVE's observers and the public",
    "Each observation's text summaries (avalanche activity, danger signs, snow cover, ice thickness, water level and more), its place and municipality, the observer's username and competence level, and a link to it on regobs.no"
   ],
   "known_gaps": [
    "Observations are what people report; Regobs publishes them as they are",
    "Pictures are counted and linked through the observation's page, not returned",
    "Regobs requires that each observer is credited by username, so usernames are returned; nothing else about observers is, and a username that is an e-mail address is cut so that it no longer is one"
   ],
   "tools": [
    "hazards_field_observations"
   ]
  },
  {
   "id": "datanorge",
   "name": "data.norge.no catalogue search",
   "publisher": "Norwegian Digitalisation Agency (Digdir), data.norge.no",
   "homepage": "https://data.norge.no/",
   "docs_url": "https://search.api.fellesdatakatalog.digdir.no/swagger-ui.html",
   "terms_url": "https://data.norge.no/nb/about",
   "licence": {
    "id": "not-stated",
    "name": "No licence stated for the catalogue metadata; each dataset states its own",
    "url": "https://data.norge.no/nb/about"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 13,
   "cache_ttls_s": {
    "search": 3600
   },
   "requires_env": [],
   "covers": [
    "Norway's national data catalogue: datasets and APIs described by public bodies, searchable by text, theme, publisher, format, open-data status and recent change"
   ],
   "known_gaps": [
    "Finds descriptions of data, not the data itself; each result links to its catalogue page",
    "Quality depends on what each publisher wrote; titles and descriptions are often Norwegian",
    "Publisher filtering needs the organisation path that results carry, e.g. '/STAT/972417807/971526920'",
    "Concepts, information models and public services in the catalogue are not searched"
   ],
   "tools": [
    "catalog_search"
   ]
  },
  {
   "id": "kartverket_sea_level",
   "name": "Kartverket water level and tides",
   "publisher": "Norwegian Mapping Authority, Hydrographic Service (Kartverket)",
   "homepage": "https://www.kartverket.no/til-sjos/se-havniva",
   "docs_url": "https://vannstand.kartverket.no/tideapi_en.html",
   "terms_url": "https://vannstand.kartverket.no/API%20for%20water%20level%20and%20tides%20-%20communication%20protocol_revJune2025.pdf",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (credit: Kartverket, Hydrographic Service)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "none published; asks for caching and no heavy polling",
   "this_service_max_per_minute": 25,
   "cache_ttls_s": {
    "recent": 900,
    "historic": 86400
   },
   "requires_env": [],
   "covers": [
    "Water level anywhere on the Norwegian coast: observed at about 25 permanent tide gauges, modelled elsewhere, with tidal predictions, the weather's effect and a forecast a few days ahead",
    "Tide tables: the times and heights of high and low water",
    "Storm-surge return levels (1 to 1000 years), the highest and lowest levels ever observed, and the tidal levels, in NN2000, mean sea level or chart datum"
   ],
   "known_gaps": [
    "Away from a tide gauge every value is modelled; observations exist only at the gauges",
    "Positions inland or far offshore have no data"
   ],
   "tools": [
    "sea_level",
    "sea_level_extremes"
   ]
  },
  {
   "id": "nve_reservoirs",
   "name": "NVE reservoir statistics",
   "publisher": "Norwegian Water Resources and Energy Directorate (NVE)",
   "homepage": "https://www.nve.no/energi/analyser-og-statistikk/magasinstatistikk/",
   "docs_url": "https://biapi.nve.no/magasinstatistikk/swagger/index.html",
   "terms_url": "https://api.nve.no/doc/magasinstatistikk/",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 13,
   "cache_ttls_s": {
    "latest": 3600,
    "history": 21600,
    "areas": 604800
   },
   "requires_env": [],
   "covers": [
    "How full Norway's hydropower reservoirs are, weekly since 1995: share of capacity and TWh, for the whole country and each electricity price area (NO1-NO5)",
    "The lowest, median and highest fill for each week over the last 20 years"
   ],
   "known_gaps": [
    "Weekly figures only, published on Wednesdays for the week before",
    "Individual reservoirs are not published; only area totals"
   ],
   "tools": [
    "energy_reservoirs"
   ]
  },
  {
   "id": "elhub",
   "name": "Elhub energy data",
   "publisher": "Elhub AS",
   "homepage": "https://elhub.no/",
   "docs_url": "https://api.elhub.no/",
   "terms_url": "https://api.elhub.no/",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (credit: Elhub)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "5 calls per second per user (IP address); asks users not to overload it",
   "this_service_max_per_minute": 245,
   "cache_ttls_s": {
    "recent": 3600,
    "past": 86400,
    "meta": 604800
   },
   "requires_env": [],
   "covers": [
    "Electricity consumption in every municipality, hour by hour since 2021, split into private customers (homes and cabins), business (services) and industry, with the number of metering points",
    "Installed production capacity in every municipality by kind: hydro, wind, solar, thermal and other, and how much of it sits with prosumers",
    "Consumption and production in each electricity price area (NO1-NO5): consumption by households, cabins and primary, secondary and tertiary industry; production by hydro, wind, solar, thermal and other"
   ],
   "known_gaps": [
    "Elhub serves municipality consumption one day per request, so a call covers at most 31 days",
    "Production per municipality is not given: Elhub's municipal production figures cover only prosumers, which would badly undercount places with power plants",
    "Figures follow what grid companies report, and Elhub revises them as late or corrected meter readings arrive; the newest days are the least settled",
    "Exchange between price areas, 15-minute values and Norgespris figures are not exposed yet",
    "Datasets by industry code or by supplier need Maskinporten access and are not used"
   ],
   "tools": [
    "electricity_municipality",
    "electricity_price_areas",
    "municipality_profile",
    "compare_municipalities"
   ]
  },
  {
   "id": "stortinget",
   "name": "Stortinget open data",
   "publisher": "Stortinget (the Norwegian parliament)",
   "homepage": "https://www.stortinget.no/",
   "docs_url": "https://data.stortinget.no/dokumentasjon-og-hjelp/",
   "terms_url": "https://data.stortinget.no/om-datatjenesten/bruksvilkar/",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0 (credit: Stortinget)",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "100 requests per minute; 429 above",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "sessions": 86400,
    "cases": 3600,
    "case": 3600,
    "people": 86400,
    "questions": 3600,
    "hearings": 3600,
    "publications": 21600
   },
   "requires_env": [],
   "covers": [
    "Every case before Stortinget by session: bills, budgets and other matters, with committee, status, type and the decision",
    "How Stortinget voted on a case: each vote's result, counts, and how each party voted when votes were recorded by name",
    "The members of Stortinget: party, constituency and committees, now or for a period",
    "Questions to ministers: written questions in full, question time and interpellations, with asker, minister, dates and a link to the answer"
   ],
   "known_gaps": [
    "Titles and texts are in Norwegian",
    "Many votes are by acclamation, with no counts or names; results say so",
    "Hearings and debates are not exposed yet, nor the texts of ministers' answers",
    "Contact details and birth dates of members are left out"
   ],
   "tools": [
    "parliament_cases",
    "parliament_case",
    "parliament_members",
    "parliament_questions",
    "parliament_vote_details",
    "parliament_hearings",
    "parliament_question",
    "parliament_debates"
   ]
  },
  {
   "id": "vegvesen_traffic",
   "name": "Statens vegvesen traffic data",
   "publisher": "Norwegian Public Roads Administration (Statens vegvesen)",
   "homepage": "https://trafikkdata.atlas.vegvesen.no/",
   "docs_url": "https://trafikkdata.atlas.vegvesen.no/#/om-api",
   "terms_url": "https://dataut.vegvesen.no/en/dataset/trafikkdata",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 30,
   "cache_ttls_s": {
    "points": 86400,
    "recent": 900,
    "historic": 86400,
    "averages": 86400
   },
   "requires_env": [],
   "covers": [
    "About 10,000 traffic registration points on Norwegian roads and cycle paths, with road, municipality, position and how long each has counted",
    "Vehicles per hour or per day at a point, by direction and by vehicle length, and the annual average daily traffic (ÅDT) for every year counted"
   ],
   "known_gaps": [
    "Hourly is the finest resolution; single vehicles and speeds are not public",
    "Counts are only as complete as their coverage, which each row gives",
    "Traffic indices are not exposed yet; road_at_point reads the national road database"
   ],
   "tools": [
    "traffic_find_points",
    "traffic_volumes",
    "municipality_profile",
    "compare_municipalities"
   ]
  },
  {
   "id": "vegvesen_nvdb",
   "name": "Nasjonal vegdatabank (NVDB)",
   "publisher": "Norwegian Public Roads Administration (Statens vegvesen)",
   "homepage": "https://www.vegvesen.no/fag/teknologi/nasjonal-vegdatabank/",
   "docs_url": "https://nvdb-docs.atlas.vegvesen.no/",
   "terms_url": "https://data.norge.no/datasets/e52c9fbc-1cf2-3910-97c1-425cd5c2304e",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "a rate limiter, not published; an X-Client header is required",
   "this_service_max_per_minute": 132,
   "cache_ttls_s": {
    "position": 86400,
    "objects": 86400
   },
   "requires_env": [],
   "covers": [
    "The road at any point in Norway: its road reference (E, R, F, K, P), speed limit, annual average daily traffic, signed height limit, and whether it is on a bridge or in a tunnel, with their names"
   ],
   "known_gaps": [
    "Only the road nearest the point that carries vehicles; footpaths and cycle paths are skipped",
    "A point above a tunnel finds the road on the surface; give a point on the tunnel's road at its entrance",
    "Other road objects (lanes, weight limits, road works, rest areas) are not exposed yet"
   ],
   "tools": [
    "road_at_point"
   ]
  },
  {
   "id": "udir_nsr",
   "name": "National School Register (NSR)",
   "publisher": "Norwegian Directorate for Education and Training (Udir)",
   "homepage": "https://nsr.udir.no/",
   "docs_url": "https://data-nsr.udir.no/swagger/index.html",
   "terms_url": "https://data-nsr.udir.no/swagger/index.html",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data 2.0",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 30,
   "cache_ttls_s": {
    "search": 21600,
    "school": 21600
   },
   "requires_env": [],
   "covers": [
    "Every primary and secondary school in Norway, public and private, plus Norwegian schools abroad: name, municipality, ownership, grades and number of pupils"
   ],
   "known_gaps": [
    "Kindergartens are in a different register and are not included",
    "Pupil numbers are the register's latest figure, not a time series",
    "Results, staffing ratios and other school statistics are not included"
   ],
   "tools": [
    "schools_search",
    "schools_get",
    "municipality_profile",
    "compare_municipalities"
   ]
  },
  {
   "id": "usgs_earthquakes",
   "name": "USGS Earthquake Catalog",
   "publisher": "U.S. Geological Survey (USGS)",
   "homepage": "https://earthquake.usgs.gov/",
   "docs_url": "https://earthquake.usgs.gov/fdsnws/event/1/",
   "terms_url": "https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits",
   "licence": {
    "id": "US-public-domain",
    "name": "U.S. Public Domain (credit: U.S. Geological Survey)",
    "url": "https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits"
   },
   "upstream_limit": "at most 20,000 events per query",
   "this_service_max_per_minute": 65,
   "cache_ttls_s": {
    "recent": 600,
    "past": 86400
   },
   "requires_env": [],
   "covers": [
    "Earthquakes worldwide from USGS's catalogue, near any point: time, magnitude, depth, place, whether USGS has reviewed it, how many people reported feeling it, and a link to its event page"
   ],
   "known_gaps": [
    "Outside the United States the catalogue misses many events below about magnitude 4; the Norwegian National Seismic Network records smaller Norwegian earthquakes, but its licence is unclear, so it is not used",
    "Recent events are first automatic estimates and can be revised or deleted"
   ],
   "tools": [
    "hazards_earthquakes"
   ]
  },
  {
   "id": "ordbokene",
   "name": "Bokmålsordboka and Nynorskordboka (ordbøkene.no)",
   "publisher": "University of Bergen and the Language Council of Norway (Språkrådet)",
   "homepage": "https://ordbokene.no/",
   "docs_url": "https://ord.uib.no/",
   "terms_url": "https://ord.uib.no/",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (credit: Bokmålsordboka/Nynorskordboka, Universitetet i Bergen og Språkrådet, ordbøkene.no, CC-BY 4.0)",
    "url": "https://creativecommons.org/licenses/by/4.0/deed.no"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 132,
   "cache_ttls_s": {
    "search": 86400,
    "article": 604800,
    "concepts": 604800
   },
   "requires_env": [],
   "covers": [
    "The official Bokmål and Nynorsk dictionaries: a word's meanings, examples, inflection (every standard form), word class and gender, and its origin",
    "Similar spellings when a word is not found"
   ],
   "known_gaps": [
    "Norwegian only; meanings are explained in Norwegian",
    "Compound words that are not in the dictionary are not split or explained"
   ],
   "tools": [
    "dictionary_lookup"
   ]
  },
  {
   "id": "avinor",
   "name": "Avinor flight data",
   "publisher": "Avinor AS",
   "homepage": "https://avinor.no/",
   "docs_url": "https://partner.avinor.no/en/services/flight-data/",
   "terms_url": "https://partner.avinor.no/en/services/flight-data/",
   "licence": {
    "id": "avinor-terms",
    "name": "Avinor's terms for flight data: free use, labelled 'Flight data from Avinor'",
    "url": "https://partner.avinor.no/en/services/flight-data/"
   },
   "upstream_limit": "flight times every 3 minutes at most, names once a day; cache, and do not let end users reach Avinor directly",
   "this_service_max_per_minute": 25,
   "cache_ttls_s": {
    "flights": 180,
    "names": 86400
   },
   "requires_env": [],
   "covers": [
    "Departures and arrivals at Norwegian airports in Avinor's feed, from an hour ago to several hours ahead: flight number, airline, the other airport and any stop on the way, scheduled and new or actual times, gate, check-in, baggage belt, and whether it is delayed or cancelled"
   ],
   "known_gaps": [
    "Only airports in Avinor's feed: Avinor's own and some others, such as Sandefjord Torp; an airport outside it answers with no flights",
    "Flight times are at most three minutes old, by Avinor's own rule",
    "Avinor gives no guarantee that the content is complete or up to date"
   ],
   "tools": [
    "flights_airport"
   ]
  },
  {
   "id": "worldbank_wdi",
   "name": "World Bank World Development Indicators",
   "publisher": "The World Bank",
   "homepage": "https://data.worldbank.org/",
   "docs_url": "https://datahelpdesk.worldbank.org/knowledgebase/articles/889392",
   "terms_url": "https://datacatalog.worldbank.org/search/dataset/0037712/World-Development-Indicators",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (credit: The World Bank, World Development Indicators)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 70,
   "cache_ttls_s": {
    "data": 86400,
    "indicator": 604800
   },
   "requires_env": [],
   "covers": [
    "The World Bank's World Development Indicators for every country and region: GDP, population, life expectancy, unemployment, inflation, emissions, energy, health, education and about 1,400 more, yearly, to compare Norway with other countries"
   ],
   "known_gaps": [
    "Only the World Development Indicators: other World Bank datasets can carry other licences, so indicators from them are refused",
    "Yearly figures; the latest year is often one or two years back",
    "No search: give an indicator code, or one of the common names the tool lists"
   ],
   "tools": [
    "world_indicators"
   ]
  },
  {
   "id": "eurostat",
   "name": "Eurostat database",
   "publisher": "Eurostat (European Commission)",
   "homepage": "https://ec.europa.eu/eurostat",
   "docs_url": "https://wikis.ec.europa.eu/display/EUROSTATHELP/API+Statistics+-+data+query",
   "terms_url": "https://ec.europa.eu/eurostat/web/main/help/copyright-notice",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (credit: Eurostat)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 70,
   "cache_ttls_s": {
    "catalogue": 86400,
    "data": 21600
   },
   "requires_env": [],
   "covers": [
    "Eurostat's database: about 8,000 datasets on the economy, population, labour, prices, energy, environment, health, transport and more, for EU and EFTA countries (Norway included) and the EU as a whole, often by region",
    "Searching dataset titles, and any slice of a dataset as labelled rows"
   ],
   "known_gaps": [
    "Data for countries outside the EU, EFTA and candidate countries, and data Eurostat took from other sources, are for non-commercial use only; results flag such countries",
    "Searches match words in titles, not meaning",
    "A query returns at most 2,000 rows; filter the dataset's dimensions for less"
   ],
   "tools": [
    "eurostat_search",
    "eurostat_data"
   ]
  },
  {
   "id": "lovdata",
   "name": "Lovdata public data: laws and central regulations in force",
   "publisher": "Lovdata",
   "homepage": "https://lovdata.no",
   "docs_url": "https://api.lovdata.no/swagger",
   "terms_url": "https://api.lovdata.no/swagger/api.json",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norsk lisens for offentlige data (NLOD) 2.0 (source: Lovdata)",
    "url": "https://data.norge.no/nlod/no/2.0"
   },
   "upstream_limit": "none published for the public data files",
   "this_service_max_per_minute": 5,
   "cache_ttls_s": {
    "list": 3600,
    "bundle": 43200
   },
   "requires_env": [],
   "covers": [
    "Every Norwegian law in force, and every central regulation in force, as Lovdata publishes them consolidated with their changes",
    "Finding a law or regulation by words in its title or short title, and the sections whose text contains given words",
    "Reading one section word for word, or a document's table of sections"
   ],
   "known_gaps": [
    "Local regulations, the Lovtidend archive, court decisions and preparatory works are not included",
    "Text is Lovdata's HTML with the markup removed; tables and footnotes lose their layout",
    "Search matches words, not meaning; a law found by its subject needs a word in its title or text",
    "The first search after Lovdata publishes a new bundle downloads and indexes it, which takes up to a minute for the regulations"
   ],
   "tools": [
    "laws_search",
    "laws_get_section"
   ]
  },
  {
   "id": "ted",
   "name": "TED (Tenders Electronic Daily) Search API",
   "publisher": "Publications Office of the European Union",
   "homepage": "https://ted.europa.eu/",
   "docs_url": "https://docs.ted.europa.eu/api/latest/search.html",
   "terms_url": "https://ted.europa.eu/en/legal-notice",
   "licence": {
    "id": "EU-reuse-2011-833",
    "name": "Free reuse under the European Commission's reuse policy, Decision 2011/833/EU (source: TED, Publications Office of the European Union)",
    "url": "https://ted.europa.eu/en/legal-notice"
   },
   "upstream_limit": "none published for anonymous search",
   "this_service_max_per_minute": 65,
   "cache_ttls_s": {
    "search": 3600
   },
   "requires_env": [],
   "covers": [
    "Public procurement notices published in the EU's Official Journal: calls for tenders, contract awards and prior information, from Norway and every other EU and EEA country",
    "Searching by buyer, country, CPV code (with its sub-codes), words, dates and stage"
   ],
   "known_gaps": [
    "Only notices above the EEA thresholds reach TED; smaller Norwegian tenders are on Doffin alone, whose API needs a key",
    "Titles come in the EU's languages, not Norwegian; the English title is shown",
    "Notice texts, lots and documents are linked, not returned"
   ],
   "tools": [
    "tenders_search"
   ]
  },
  {
   "id": "geonorge_wfs",
   "name": "Open map layers through Geonorge (WFS)",
   "publisher": "The layers' owners (NVE, Riksantikvaren, Kartverket, Statens vegvesen), via Geonorge",
   "homepage": "https://www.geonorge.no/",
   "docs_url": "https://kartkatalog.geonorge.no/",
   "terms_url": "https://kartkatalog.geonorge.no/",
   "licence": {
    "id": "NLOD-1.0",
    "name": "Norsk lisens for offentlige data (NLOD) 1.0",
    "url": "https://data.norge.no/nlod/no/1.0"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 256,
   "cache_ttls_s": {
    "features": 86400
   },
   "requires_env": [],
   "covers": [
    "What lies at a point on eighteen open national map layers: quick clay hazard zones and susceptibility, flood zones, landslide, rockfall and avalanche susceptibility, cultural heritage sites and listed buildings, protected watercourses, the grunnkrets and road noise zones",
    "Each feature's attributes as the layer's owner publishes them"
   ],
   "known_gaps": [
    "A curated set of layers, not all 1,190 open WFS layers in Geonorge's catalogue; Miljødirektoratet's layers are read through WMS GetFeatureInfo, so they give attributes only",
    "Geometry is not returned, only the attributes and the kind of shape",
    "A susceptibility map (aktsomhet) says a hazard may exist and needs checking; it is not a mapped hazard zone"
   ],
   "tools": [
    "map_layers_at_point"
   ]
  },
  {
   "id": "ecb",
   "name": "ECB Data Portal (SDMX API)",
   "publisher": "European Central Bank (ECB)",
   "homepage": "https://data.ecb.europa.eu/",
   "docs_url": "https://data.ecb.europa.eu/help/api/overview",
   "terms_url": "https://www.ecb.europa.eu/stats/ecb_statistics/governance_and_quality_framework/html/usage_policy.en.html",
   "licence": {
    "id": "ESCB-reuse",
    "name": "ESCB statistics reuse policy: free reuse, quoting 'Source: ECB statistics.', unmodified",
    "url": "https://www.ecb.europa.eu/stats/ecb_statistics/governance_and_quality_framework/html/usage_policy.en.html"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 65,
   "cache_ttls_s": {
    "recent": 3600,
    "historic": 86400
   },
   "requires_env": [],
   "covers": [
    "The ECB's euro foreign exchange reference rates: units of about 30 currencies per euro, the krone included, daily since 1999, with monthly and annual averages",
    "The ECB's key interest rates: the deposit facility, main refinancing operations and marginal lending facility rates, with every change"
   ],
   "known_gaps": [
    "Reference rates are set around 16:00 CET on TARGET business days, for information only",
    "The rest of the ECB Data Portal (money, banking, prices, the euro area accounts) is not exposed yet"
   ],
   "tools": [
    "ecb_exchange_rates",
    "ecb_policy_rates"
   ]
  },
  {
   "id": "fiskeridir",
   "name": "Fiskeridirektoratet: the aquaculture register and the fish buyer register",
   "publisher": "Directorate of Fisheries (Fiskeridirektoratet)",
   "homepage": "https://www.fiskeridir.no/",
   "docs_url": "https://api.fiskeridir.no/pub-aqua/api/api-docs",
   "terms_url": "https://www.fiskeridir.no/Tall-og-analyse/Lisens-for-bruk-av-Fiskeridirektoratets-data",
   "licence": {
    "id": "NLOD",
    "name": "Norsk lisens for offentlige data (NLOD) (Kilde: Fiskeridirektoratet)",
    "url": "https://data.norge.no/nlod/no/"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 150,
   "cache_ttls_s": {
    "sites": 21600,
    "licence": 21600,
    "buyers": 86400
   },
   "requires_env": [],
   "covers": [
    "Aquaculture sites (lokaliteter) by municipality, county, name or operator: place, capacity, species, water and placement, and the licences on each with their holders",
    "Registered fish buyers and buying points (Kjøperregisteret) by name, municipality or county"
   ],
   "known_gaps": [
    "Landings (sluttsedler) are published as bulk files, not an API, and are not included",
    "Fish health and salmon lice per site come from BarentsWatch, not here",
    "The buyer register gives organisation numbers; names of the companies come from Brreg"
   ],
   "tools": [
    "aquaculture_sites",
    "fish_buyers"
   ]
  },
  {
   "id": "barentswatch_fishhealth",
   "name": "BarentsWatch Fish Health API",
   "publisher": "BarentsWatch, with data from the Norwegian Food Safety Authority (Mattilsynet)",
   "homepage": "https://www.barentswatch.no/fiskehelse/",
   "docs_url": "https://developer.barentswatch.no/docs/fishhealth/",
   "terms_url": "https://www.barentswatch.no/en/articles/api-terms-and-conditions/",
   "licence": {
    "id": "NLOD",
    "name": "Norsk lisens for offentlige data (NLOD) (credit: BarentsWatch and the data owners, Mattilsynet and the fish farms' reports)",
    "url": "https://data.norge.no/nlod/en"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 130,
   "cache_ttls_s": {
    "week": 3600,
    "locality": 3600,
    "localities": 86400
   },
   "requires_env": [
    "KILDEVERK_BARENTSWATCH_API_CLIENT_ID",
    "KILDEVERK_BARENTSWATCH_API_CLIENT_SECRET"
   ],
   "covers": [
    "Salmon lice per aquaculture site and week (adult females per fish), as the farms report them, with treatments, cleaner fish, fallowing, PD and ILA",
    "Every site's week at once, by municipality or near a point, or one site in detail"
   ],
   "known_gaps": [
    "Needs a free BarentsWatch API client; without one the tool answers NOT_CONFIGURED",
    "Raw reports from the farms; Mattilsynet's own assessments are not included"
   ],
   "tools": [
    "fish_health"
   ]
  },
  {
   "id": "barentswatch_ais",
   "name": "BarentsWatch open AIS (Norwegian Coastal Administration)",
   "publisher": "BarentsWatch, with AIS data from the Norwegian Coastal Administration (Kystverket)",
   "homepage": "https://www.barentswatch.no/",
   "docs_url": "https://developer.barentswatch.no/docs/AIS/live-ais-api",
   "terms_url": "https://www.barentswatch.no/en/articles/api-terms-and-conditions/",
   "licence": {
    "id": "NLOD",
    "name": "Norsk lisens for offentlige data (NLOD) (credit: BarentsWatch and Kystverket)",
    "url": "https://data.norge.no/nlod"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 65,
   "cache_ttls_s": {
    "latest": 60
   },
   "requires_env": [
    "KILDEVERK_BARENTSWATCH_CLIENT_ID",
    "KILDEVERK_BARENTSWATCH_CLIENT_SECRET"
   ],
   "covers": [
    "Ships at sea now, from the Coastal Administration's open AIS: name, type, position, speed, course, destination and size, near a point or across the open area"
   ],
   "known_gaps": [
    "Needs a free BarentsWatch AIS client; without one the tool answers NOT_CONFIGURED",
    "Open AIS leaves out fishing vessels under 15 m and leisure craft under 45 m, and covers the Norwegian economic zone, the Svalbard zone and Jan Mayen only"
   ],
   "tools": [
    "ships_live"
   ]
  },
  {
   "id": "sodir",
   "name": "Sokkeldirektoratet FactPages and FactMaps",
   "publisher": "Norwegian Offshore Directorate (Sokkeldirektoratet)",
   "homepage": "https://factpages.sodir.no/",
   "docs_url": "https://factmaps.sodir.no/api/rest/services/DataService/Data/FeatureServer",
   "terms_url": "https://factpages.sodir.no/",
   "licence": {
    "id": "NLOD",
    "name": "Norsk lisens for offentlige data (NLOD) (source: Sokkeldirektoratet)",
    "url": "https://data.norge.no/nlod/en"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 130,
   "cache_ttls_s": {
    "query": 86400
   },
   "requires_env": [],
   "covers": [
    "Fields on the Norwegian shelf: status (producing, shut down, approved), operator, area, hydrocarbon type, discovery year, and recoverable and remaining reserves",
    "Wellbores: exploration and development wells and discoveries, counted by year"
   ],
   "known_gaps": [
    "Production per month, licences and facilities are in FactPages but not exposed yet",
    "Reports, core images and logs may carry third-party rights and are not included"
   ],
   "tools": [
    "shelf_fields",
    "shelf_wells"
   ]
  },
  {
   "id": "eurlex",
   "name": "EUR-Lex, through the Publications Office's Cellar SPARQL endpoint",
   "publisher": "Publications Office of the European Union (EUR-Lex)",
   "homepage": "https://eur-lex.europa.eu/",
   "docs_url": "https://op.europa.eu/en/web/cellar/cellar-data/metadata/knowledge-graph",
   "terms_url": "https://eur-lex.europa.eu/content/legal-notice/legal-notice.html",
   "licence": {
    "id": "EU-reuse-2011-833",
    "name": "Free reuse under Decision 2011/833/EU (source: EUR-Lex, © European Union)",
    "url": "https://eur-lex.europa.eu/content/legal-notice/legal-notice.html"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 34,
   "cache_ttls_s": {
    "search": 86400
   },
   "requires_env": [],
   "covers": [
    "EU legislation (regulations, directives, decisions) by words in the title: CELEX number, date, whether in force, entry into force, and whether it is marked as relevant for the EEA"
   ],
   "known_gaps": [
    "Whether and when an act is incorporated in the EEA Agreement and Norwegian law is not in EUR-Lex (it is in the EFTA Secretariat's EEA-Lex); search Lovdata for the Norwegian implementation",
    "Searches take 10-30 seconds; texts are linked, not returned"
   ],
   "tools": [
    "eu_legislation_search"
   ]
  },
  {
   "id": "fhi",
   "name": "FHI Statistikk Open API (Norwegian Institute of Public Health)",
   "publisher": "Norwegian Institute of Public Health (Folkehelseinstituttet, FHI)",
   "homepage": "https://statistikk.fhi.no/",
   "docs_url": "https://github.com/folkehelseinstituttet/Fhi.Statistikk.OpenAPI",
   "terms_url": "https://statistikk-data.fhi.no/swagger/index.html",
   "licence": {
    "id": "NLOD-2.0",
    "name": "Norwegian Licence for Open Government Data (NLOD) 2.0 (source: FHI)",
    "url": "https://data.norge.no/nlod/en/2.0"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 340,
   "cache_ttls_s": {
    "tables": 86400,
    "dimension": 86400,
    "data": 21600
   },
   "requires_env": [],
   "covers": [
    "FHI's statistics banks: notifiable diseases (MSIS), the abortion, birth, cause of death, prescription, vaccination, patient and cardiovascular registers, public health indicators and pathogen surveillance",
    "Finding a table by words in its title (and, for MSIS, the diseases it counts), and any slice of a table as labelled rows"
   ],
   "known_gaps": [
    "Searches match words, not meaning; some table titles are internal codes",
    "Small counts may be hidden by FHI for privacy; such cells carry its flag"
   ],
   "tools": [
    "health_statistics_search",
    "health_statistics_data"
   ]
  },
  {
   "id": "met_sunrise",
   "name": "MET Norway Sunrise",
   "publisher": "Norwegian Meteorological Institute (MET Norway)",
   "homepage": "https://api.met.no/",
   "docs_url": "https://api.met.no/weatherapi/sunrise/3.0/documentation",
   "terms_url": "https://api.met.no/doc/License",
   "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International (also offered under NLOD 2.0)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
   },
   "upstream_limit": "20 requests per second per application; respect Expires; identify with User-Agent; at most 4 coordinate decimals",
   "this_service_max_per_minute": 60,
   "cache_ttls_s": {
    "sun": 86400
   },
   "requires_env": [],
   "covers": [
    "Sunrise, sunset and solar noon with the sun's direction and height, and moonrise, moonset and the moon's phase, for any place and date"
   ],
   "known_gaps": [
    "Times are astronomical: terrain such as mountains is not taken into account"
   ],
   "tools": [
    "sun_and_moon"
   ]
  },
  {
   "id": "vegvesen_datex",
   "name": "Statens vegvesen traffic messages (DATEX II)",
   "publisher": "Norwegian Public Roads Administration (Statens vegvesen)",
   "homepage": "https://www.vegvesen.no/trafikk/",
   "docs_url": "https://dataut.vegvesen.no/en/dataset/trafikkmeldinger-api",
   "terms_url": "https://dataut.vegvesen.no/en/dataset/trafikkmeldinger-api",
   "licence": {
    "id": "NLOD",
    "name": "Norsk lisens for offentlige data (NLOD) (source: Statens vegvesen)",
    "url": "https://data.norge.no/nlod/no/"
   },
   "upstream_limit": "none published",
   "this_service_max_per_minute": 14,
   "cache_ttls_s": {
    "snapshot": 300
   },
   "requires_env": [
    "KILDEVERK_DATEX_USERNAME",
    "KILDEVERK_DATEX_PASSWORD"
   ],
   "covers": [
    "Traffic messages for Norwegian roads now: road works, closures, lane and speed restrictions, accidents, obstructions, weather on the road and diversions"
   ],
   "known_gaps": [
    "Needs DATEX access ordered from Statens vegvesen; without it the tool answers NOT_CONFIGURED",
    "The national snapshot is about 20 MB; it is read at most every five minutes"
   ],
   "tools": [
    "road_messages"
   ]
  }
 ],
 "tools": [
  {
   "name": "statistics_search_tables",
   "title": "Search SSB statistics tables",
   "description": "Find Statistics Norway (SSB) tables by keyword. Returns table ids, titles, the period each table covers and when it was last updated. Start here for any question about Norwegian official statistics (population, prices, employment, housing, trade and so on), then call statistics_describe_table on a promising table.",
   "sources": [
    "ssb_statbank"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/statistics/tables"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "description": "Words to look for in table titles, e.g. 'population municipality'.",
      "maxLength": 200,
      "minLength": 1,
      "title": "Query",
      "type": "string"
     },
     "lang": {
      "default": "en",
      "description": "Language of titles and labels. Codes are the same in both.",
      "enum": [
       "en",
       "no"
      ],
      "title": "Lang",
      "type": "string"
     },
     "updated_within_days": {
      "anyOf": [
       {
        "maximum": 3650,
        "minimum": 1,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only tables updated in the last N days.",
      "title": "Updated Within Days"
     },
     "include_discontinued": {
      "default": false,
      "description": "Also return tables SSB no longer updates.",
      "title": "Include Discontinued",
      "type": "boolean"
     },
     "limit": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     },
     "page": {
      "default": 1,
      "maximum": 100,
      "minimum": 1,
      "title": "Page",
      "type": "integer"
     }
    },
    "required": [
     "query"
    ],
    "title": "SearchTablesInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "population municipality"
    },
    {
     "query": "konsumprisindeks",
     "lang": "no"
    }
   ]
  },
  {
   "name": "statistics_describe_table",
   "title": "Describe an SSB table",
   "description": "Show what an SSB 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.",
   "sources": [
    "ssb_statbank"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/statistics/tables/{table_id}"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "table_id": {
      "description": "SSB table id, e.g. '07459'. Find ids with statistics_search_tables.",
      "examples": [
       "07459"
      ],
      "pattern": "^[0-9A-Za-z]{3,12}$",
      "title": "Table Id",
      "type": "string"
     },
     "lang": {
      "default": "en",
      "description": "Language of titles and labels. Codes are the same in both.",
      "enum": [
       "en",
       "no"
      ],
      "title": "Lang",
      "type": "string"
     },
     "value_search": {
      "anyOf": [
       {
        "maxLength": 100,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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.",
      "title": "Value Search"
     },
     "values_limit": {
      "default": 25,
      "description": "Most values to list per dimension.",
      "maximum": 1000,
      "minimum": 0,
      "title": "Values Limit",
      "type": "integer"
     }
    },
    "required": [
     "table_id"
    ],
    "title": "DescribeTableInput",
    "type": "object"
   },
   "examples": [
    {
     "table_id": "07459"
    },
    {
     "table_id": "07459",
     "value_search": "Bergen"
    }
   ]
  },
  {
   "name": "statistics_get_data",
   "title": "Get data from an SSB table",
   "description": "Fetch numbers from an SSB 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 SSB allows it; time defaults to the latest period. The size is checked before anything is fetched.",
   "sources": [
    "ssb_statbank"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/statistics/data"
   },
   "input_schema": {
    "$defs": {
     "FromCode": {
      "additionalProperties": false,
      "properties": {
       "from": {
        "description": "This value and every one after it.",
        "title": "From",
        "type": "string"
       }
      },
      "required": [
       "from"
      ],
      "title": "FromCode",
      "type": "object"
     },
     "Latest": {
      "additionalProperties": false,
      "properties": {
       "latest": {
        "description": "The last N values, e.g. the latest 5 years.",
        "maximum": 1000,
        "minimum": 1,
        "title": "Latest",
        "type": "integer"
       }
      },
      "required": [
       "latest"
      ],
      "title": "Latest",
      "type": "object"
     }
    },
    "additionalProperties": false,
    "properties": {
     "table_id": {
      "description": "SSB table id, e.g. '07459'. Find ids with statistics_search_tables.",
      "examples": [
       "07459"
      ],
      "pattern": "^[0-9A-Za-z]{3,12}$",
      "title": "Table Id",
      "type": "string"
     },
     "select": {
      "additionalProperties": {
       "anyOf": [
        {
         "items": {
          "maxLength": 40,
          "minLength": 1,
          "type": "string"
         },
         "type": "array"
        },
        {
         "const": "*",
         "type": "string"
        },
        {
         "$ref": "#/$defs/Latest"
        },
        {
         "$ref": "#/$defs/FromCode"
        }
       ],
       "description": "A list of value codes, '*' for all values, {'latest': N}, or {'from': code}."
      },
      "description": "Values to fetch per dimension code. A time dimension left out gets its latest value; other dimensions that can be omitted are totalled.",
      "examples": [
       {
        "Region": [
         "0301",
         "4601"
        ],
        "Tid": {
         "latest": 3
        }
       }
      ],
      "title": "Select",
      "type": "object"
     },
     "codelists": {
      "additionalProperties": {
       "type": "string"
      },
      "description": "Optional codelist per dimension, e.g. {'Region': 'agg_Fylker2024'} to get counties. Codes in `select` then refer to that codelist.",
      "title": "Codelists",
      "type": "object"
     },
     "lang": {
      "default": "en",
      "description": "Language of titles and labels. Codes are the same in both.",
      "enum": [
       "en",
       "no"
      ],
      "title": "Lang",
      "type": "string"
     },
     "max_rows": {
      "default": 1000,
      "maximum": 10000,
      "minimum": 1,
      "title": "Max Rows",
      "type": "integer"
     }
    },
    "required": [
     "table_id"
    ],
    "title": "GetDataInput",
    "type": "object"
   },
   "examples": [
    {
     "table_id": "07459",
     "select": {
      "Region": [
       "0301",
       "4601"
      ],
      "Tid": {
       "latest": 3
      }
     }
    },
    {
     "table_id": "07459",
     "codelists": {
      "Region": "agg_Fylker2024"
     }
    }
   ]
  },
  {
   "name": "regions_list",
   "title": "List municipalities or counties",
   "description": "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.",
   "sources": [
    "ssb_klass"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/regions"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "level": {
      "description": "'municipality' (kommune) or 'county' (fylke).",
      "enum": [
       "municipality",
       "county"
      ],
      "title": "Level",
      "type": "string"
     },
     "on_date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Defaults to today.",
      "title": "On Date"
     }
    },
    "required": [
     "level"
    ],
    "title": "ListInput",
    "type": "object"
   },
   "examples": [
    {
     "level": "county"
    },
    {
     "level": "municipality",
     "on_date": "2019-06-30"
    }
   ]
  },
  {
   "name": "regions_resolve",
   "title": "Find a municipality or county",
   "description": "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).",
   "sources": [
    "ssb_klass"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/regions/search"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "description": "A name or part of one (e.g. 'Tromsø', 'Viken') or a code (e.g. '1902').",
      "maxLength": 80,
      "minLength": 2,
      "title": "Query",
      "type": "string"
     },
     "level": {
      "anyOf": [
       {
        "description": "'municipality' (kommune) or 'county' (fylke).",
        "enum": [
         "municipality",
         "county"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Leave out to search both levels.",
      "title": "Level"
     },
     "limit": {
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "required": [
     "query"
    ],
    "title": "ResolveInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "Tromsø"
    },
    {
     "query": "Viken",
     "level": "county"
    }
   ]
  },
  {
   "name": "regions_changes",
   "title": "Region changes over time",
   "description": "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.",
   "sources": [
    "ssb_klass"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/regions/changes"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "level": {
      "description": "'municipality' (kommune) or 'county' (fylke).",
      "enum": [
       "municipality",
       "county"
      ],
      "title": "Level",
      "type": "string"
     },
     "from_date": {
      "description": "First day to include, e.g. 2019-01-01.",
      "format": "date",
      "title": "From Date",
      "type": "string"
     },
     "to_date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Last day to include; defaults to today.",
      "title": "To Date"
     },
     "code": {
      "anyOf": [
       {
        "description": "Region code: 4 digits for municipalities, 2 for counties.",
        "pattern": "^\\d{2,4}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only changes involving this code.",
      "title": "Code"
     }
    },
    "required": [
     "level",
     "from_date"
    ],
    "title": "ChangesInput",
    "type": "object"
   },
   "examples": [
    {
     "level": "county",
     "from_date": "2019-01-01"
    },
    {
     "level": "municipality",
     "from_date": "2019-01-01",
     "code": "1507"
    }
   ]
  },
  {
   "name": "regions_harmonise",
   "title": "Convert a regional series to other borders",
   "description": "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}.",
   "sources": [
    "ssb_klass"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/regions/harmonise"
   },
   "input_schema": {
    "$defs": {
     "SeriesRow": {
      "additionalProperties": false,
      "properties": {
       "region": {
        "description": "Region code: 4 digits for municipalities, 2 for counties.",
        "pattern": "^\\d{2,4}$",
        "title": "Region",
        "type": "string"
       },
       "period": {
        "description": "Starts with a year: '2019', '2019K3', '2019M07'. Only the year is used.",
        "maxLength": 20,
        "minLength": 4,
        "pattern": "^\\d{4}",
        "title": "Period",
        "type": "string"
       },
       "value": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "title": "Value"
       }
      },
      "required": [
       "region",
       "period",
       "value"
      ],
      "title": "SeriesRow",
      "type": "object"
     }
    },
    "additionalProperties": false,
    "properties": {
     "level": {
      "description": "'municipality' (kommune) or 'county' (fylke).",
      "enum": [
       "municipality",
       "county"
      ],
      "title": "Level",
      "type": "string"
     },
     "target": {
      "description": "Borders to convert to: '2020' (2020-2023), '2024' (2024 onwards), 'latest' (today), or a date like '2018-01-01'.",
      "pattern": "^(2020|2024|latest|\\d{4}-\\d{2}-\\d{2})$",
      "title": "Target",
      "type": "string"
     },
     "measure": {
      "description": "'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.",
      "enum": [
       "additive",
       "non_additive"
      ],
      "title": "Measure",
      "type": "string"
     },
     "rows": {
      "items": {
       "$ref": "#/$defs/SeriesRow"
      },
      "maxItems": 20000,
      "minItems": 1,
      "title": "Rows",
      "type": "array"
     }
    },
    "required": [
     "level",
     "target",
     "measure",
     "rows"
    ],
    "title": "HarmoniseInput",
    "type": "object"
   },
   "examples": [
    {
     "level": "municipality",
     "target": "2024",
     "measure": "additive",
     "rows": [
      {
       "region": "1201",
       "period": "2019",
       "value": 281190
      },
      {
       "region": "4601",
       "period": "2023",
       "value": 289330
      }
     ]
    }
   ]
  },
  {
   "name": "companies_search",
   "title": "Search Norwegian legal entities",
   "description": "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.",
   "sources": [
    "brreg"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/companies"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "name": {
      "anyOf": [
       {
        "maxLength": 180,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words in the entity's name.",
      "title": "Name"
     },
     "municipality": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "maxItems": 50,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality codes (4 digits) or names, matched on business or postal address. Names are resolved to today's codes.",
      "title": "Municipality"
     },
     "industry": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "maxItems": 50,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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.",
      "title": "Industry"
     },
     "legal_form": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "maxItems": 20,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Legal form codes, e.g. AS (limited company), ASA (public limited), ENK (sole proprietorship), STI (foundation), FLI (association).",
      "title": "Legal Form"
     },
     "min_employees": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "At least this many employees. Brreg accepts 0, 1, or 5 and above.",
      "title": "Min Employees"
     },
     "registered_from": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Registered in the Central Coordinating Register on or after.",
      "title": "Registered From"
     },
     "registered_to": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Registered on or before.",
      "title": "Registered To"
     },
     "include_bankrupt": {
      "default": false,
      "description": "Also return bankrupt entities.",
      "title": "Include Bankrupt",
      "type": "boolean"
     },
     "sort": {
      "default": "default",
      "enum": [
       "default",
       "most_employees",
       "newest"
      ],
      "title": "Sort",
      "type": "string"
     },
     "limit": {
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     },
     "page": {
      "default": 0,
      "description": "Page number, starting at 0.",
      "minimum": 0,
      "title": "Page",
      "type": "integer"
     }
    },
    "title": "SearchInput",
    "type": "object"
   },
   "examples": [
    {
     "name": "equinor"
    },
    {
     "municipality": [
      "4601"
     ],
     "industry": [
      "62"
     ],
     "sort": "most_employees",
     "limit": 10
    }
   ]
  },
  {
   "name": "companies_get",
   "title": "Look up a legal entity",
   "description": "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, and optionally its sub-units. Works for sub-units too. Roles and contact details are not included; for revenue and results, use companies_accounts.",
   "sources": [
    "brreg"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/companies/{org_number}"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "org_number": {
      "description": "Nine-digit organisation number, e.g. '923609016'.",
      "title": "Org Number",
      "type": "string"
     },
     "include_subunits": {
      "default": false,
      "description": "Also list the entity's establishments (sub-units).",
      "title": "Include Subunits",
      "type": "boolean"
     },
     "subunits_limit": {
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "title": "Subunits Limit",
      "type": "integer"
     }
    },
    "required": [
     "org_number"
    ],
    "title": "GetInput",
    "type": "object"
   },
   "examples": [
    {
     "org_number": "923609016"
    },
    {
     "org_number": "923609016",
     "include_subunits": true
    }
   ]
  },
  {
   "name": "companies_accounts",
   "title": "Annual accounts of a company",
   "description": "Key figures from the annual accounts a Norwegian company filed, from Brreg's Regnskapsregisteret, for the last three years: revenue, operating profit, profit before tax, tax, net result, assets, equity, debt and cash, with the operating margin, equity ratio and revenue change. Company accounts and, for parent companies, group accounts. Amounts are in the currency the company reports in.",
   "sources": [
    "brreg_accounts"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/companies/{org_number}/accounts"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "org_number": {
      "description": "Nine-digit organisation number, e.g. '923609016'.",
      "title": "Org Number",
      "type": "string"
     },
     "kind": {
      "default": "both",
      "description": "'company' for the entity's own accounts, 'group' for a parent company's consolidated accounts.",
      "enum": [
       "company",
       "group",
       "both"
      ],
      "title": "Kind",
      "type": "string"
     },
     "year": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 2000,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "One year; leave out for all that are open.",
      "title": "Year"
     }
    },
    "required": [
     "org_number"
    ],
    "title": "AccountsInput",
    "type": "object"
   },
   "examples": [
    {
     "org_number": "923609016"
    },
    {
     "org_number": "983974899",
     "kind": "company",
     "year": 2025
    }
   ]
  },
  {
   "name": "weather_forecast",
   "title": "Weather forecast for a point",
   "description": "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.",
   "sources": [
    "met_locationforecast"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/weather/forecast"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "description": "Latitude in decimal degrees.",
      "maximum": 90,
      "minimum": -90,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "description": "Longitude in decimal degrees.",
      "maximum": 180,
      "minimum": -180,
      "title": "Lon",
      "type": "number"
     },
     "altitude_m": {
      "anyOf": [
       {
        "maximum": 9000,
        "minimum": -500,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Ground height in metres. Improves temperature in hilly terrain; MET estimates it if left out.",
      "title": "Altitude M"
     },
     "hours": {
      "default": 48,
      "description": "How far ahead, from the first step.",
      "maximum": 240,
      "minimum": 1,
      "title": "Hours",
      "type": "integer"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "ForecastInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 60.3913,
     "lon": 5.3221,
     "hours": 24
    },
    {
     "lat": 69.6496,
     "lon": 18.956,
     "altitude_m": 10
    }
   ]
  },
  {
   "name": "weather_find_stations",
   "title": "Find weather stations",
   "description": "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.",
   "sources": [
    "met_frost"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/weather/stations"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "anyOf": [
       {
        "description": "Latitude in decimal degrees.",
        "maximum": 90,
        "minimum": -90,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "description": "Longitude in decimal degrees.",
        "maximum": 180,
        "minimum": -180,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 60,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Part of the station's name.",
      "title": "Name"
     },
     "limit": {
      "default": 5,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     },
     "include_closed": {
      "default": false,
      "description": "Also return stations no longer in use.",
      "title": "Include Closed",
      "type": "boolean"
     }
    },
    "title": "FindStationsInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 60.3913,
     "lon": 5.3221,
     "limit": 3
    },
    {
     "name": "Blindern"
    }
   ]
  },
  {
   "name": "weather_station_elements",
   "title": "What a weather station measures",
   "description": "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.",
   "sources": [
    "met_frost"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/weather/stations/{station}/elements"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "station": {
      "description": "Frost station id, e.g. 'SN18700' (Oslo - Blindern). Find ids with weather_find_stations.",
      "pattern": "^SN\\d{1,8}(:\\d+)?$",
      "title": "Station",
      "type": "string"
     },
     "element_search": {
      "anyOf": [
       {
        "maxLength": 60,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only elements whose id contains this text, e.g. 'precipitation'.",
      "title": "Element Search"
     }
    },
    "required": [
     "station"
    ],
    "title": "StationElementsInput",
    "type": "object"
   },
   "examples": [
    {
     "station": "SN50540",
     "element_search": "precipitation"
    }
   ]
  },
  {
   "name": "weather_observations",
   "title": "Observed weather at a station",
   "description": "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.",
   "sources": [
    "met_frost"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/weather/observations"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "station": {
      "description": "Frost station id, e.g. 'SN18700' (Oslo - Blindern). Find ids with weather_find_stations.",
      "pattern": "^SN\\d{1,8}(:\\d+)?$",
      "title": "Station",
      "type": "string"
     },
     "elements": {
      "description": "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, humidity, pressure. Or any Frost element id, e.g. 'mean(air_temperature P1M)'.",
      "items": {
       "type": "string"
      },
      "maxItems": 10,
      "minItems": 1,
      "title": "Elements",
      "type": "array"
     },
     "start": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "format": "date",
        "type": "string"
       }
      ],
      "description": "First time included, e.g. '2024-01-01'.",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "format": "date",
        "type": "string"
       }
      ],
      "description": "End of the period, not included.",
      "title": "End"
     },
     "max_rows": {
      "default": 2000,
      "maximum": 10000,
      "minimum": 1,
      "title": "Max Rows",
      "type": "integer"
     }
    },
    "required": [
     "station",
     "elements",
     "start",
     "end"
    ],
    "title": "ObservationsInput",
    "type": "object"
   },
   "examples": [
    {
     "station": "SN50540",
     "elements": [
      "daily_mean_temperature",
      "daily_precipitation"
     ],
     "start": "2026-10-01",
     "end": "2026-10-08"
    }
   ]
  },
  {
   "name": "weather_normals",
   "title": "Climate normals at a weather station",
   "description": "The 30-year climate normals at a MET Norway weather station from Frost: monthly and yearly mean temperature and precipitation for 1991-2020 (or 1961-1990, 1931-1960). Give a year to compare its months with the normal, to answer whether a month was warmer or wetter than usual. Normals exist only for stations with long records; find station ids with weather_find_stations.",
   "sources": [
    "met_frost"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/weather/stations/{station}/normals"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "station": {
      "description": "Frost station id, e.g. 'SN18700' (Oslo - Blindern). Find ids with weather_find_stations.",
      "pattern": "^SN\\d{1,8}(:\\d+)?$",
      "title": "Station",
      "type": "string"
     },
     "period": {
      "default": "1991/2020",
      "description": "The 30-year normal period; 1991-2020 is the current one.",
      "enum": [
       "1991/2020",
       "1961/1990",
       "1931/1960"
      ],
      "title": "Period",
      "type": "string"
     },
     "year": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 1900,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Compare this year's months with the normal: observed mean temperature and precipitation, the temperature difference and precipitation as per cent of normal.",
      "title": "Year"
     }
    },
    "required": [
     "station"
    ],
    "title": "NormalsInput",
    "type": "object"
   },
   "examples": [
    {
     "station": "SN18700"
    },
    {
     "station": "SN50540",
     "year": 2025
    }
   ]
  },
  {
   "name": "weather_warnings",
   "title": "Official weather warnings",
   "description": "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.",
   "sources": [
    "met_metalerts"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/weather/warnings"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "anyOf": [
       {
        "maximum": 90,
        "minimum": -90,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Warnings covering this point.",
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 180,
        "minimum": -180,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "county": {
      "anyOf": [
       {
        "pattern": "^(\\d{2}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "County number as it was when the warning was issued, or a county name (resolved to today's number).",
      "title": "County"
     },
     "domain": {
      "anyOf": [
       {
        "enum": [
         "land",
         "marine"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Land or sea.",
      "title": "Domain"
     },
     "month": {
      "anyOf": [
       {
        "pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "A past month ('2023-08') from the archive. Leave out for warnings in force or announced now.",
      "title": "Month"
     },
     "min_level": {
      "default": 2,
      "description": "1 green, 2 yellow, 3 orange, 4 red; compared with the highest level a warning reached.",
      "maximum": 4,
      "minimum": 1,
      "title": "Min Level",
      "type": "integer"
     },
     "limit": {
      "default": 20,
      "maximum": 200,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     },
     "language": {
      "default": "en",
      "description": "'nb' for MET's Norwegian (bokmål) texts.",
      "enum": [
       "en",
       "nb"
      ],
      "title": "Language",
      "type": "string"
     }
    },
    "title": "WarningsInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "lat": 69.3,
     "lon": 16.1
    },
    {
     "month": "2023-08",
     "county": "03",
     "min_level": 3
    }
   ]
  },
  {
   "name": "weather_nowcast",
   "title": "Rain in the next two hours",
   "description": "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.",
   "sources": [
    "met_nowcast"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/weather/nowcast"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "description": "Latitude in decimal degrees.",
      "maximum": 90,
      "minimum": -90,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "description": "Longitude in decimal degrees.",
      "maximum": 180,
      "minimum": -180,
      "title": "Lon",
      "type": "number"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "PointInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 59.9139,
     "lon": 10.7522
    },
    {
     "lat": 60.3913,
     "lon": 5.3221
    }
   ]
  },
  {
   "name": "sea_forecast",
   "title": "Waves and sea temperature",
   "description": "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.",
   "sources": [
    "met_oceanforecast"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/sea/forecast"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "description": "Latitude in decimal degrees.",
      "maximum": 90,
      "minimum": -90,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "description": "Longitude in decimal degrees.",
      "maximum": 180,
      "minimum": -180,
      "title": "Lon",
      "type": "number"
     },
     "hours": {
      "default": 48,
      "description": "How far ahead, from the first step.",
      "maximum": 200,
      "minimum": 1,
      "title": "Hours",
      "type": "integer"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "SeaInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 60.1,
     "lon": 4.9
    },
    {
     "lat": 69.7,
     "lon": 18.6,
     "hours": 24
    }
   ]
  },
  {
   "name": "air_quality_forecast",
   "title": "Air quality forecast",
   "description": "MET Norway's air quality forecast for a place in Norway, hour by hour for about two days: the air quality index (low, moderate, high, very high), the pollutant behind it and the NO2, PM10, PM2.5 and ozone concentrations, plus where the worst hour's pollution comes from (traffic, road dust, wood burning, shipping, industry or elsewhere). For the street area, part of the municipality or the municipality at a point.",
   "sources": [
    "met_airquality"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/air/forecast"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "description": "Latitude in decimal degrees.",
      "maximum": 90,
      "minimum": -90,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "description": "Longitude in decimal degrees.",
      "maximum": 180,
      "minimum": -180,
      "title": "Lon",
      "type": "number"
     },
     "area": {
      "default": "grunnkrets",
      "description": "The area the forecast is for: 'grunnkrets' (the smallest statistical area, a few streets), 'delomrade' (part of a municipality) or 'kommune' (the municipality).",
      "enum": [
       "grunnkrets",
       "delomrade",
       "kommune"
      ],
      "title": "Area",
      "type": "string"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "AirInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 59.9139,
     "lon": 10.7522
    },
    {
     "lat": 63.4305,
     "lon": 10.3951,
     "area": "kommune"
    }
   ]
  },
  {
   "name": "water_find_stations",
   "title": "Find hydrological stations",
   "description": "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).",
   "sources": [
    "nve_hydapi"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/water/stations"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "station": {
      "anyOf": [
       {
        "description": "NVE station id, three numbers with dots, e.g. '62.5.0'. Find ids with water_find_stations.",
        "pattern": "^\\d{1,4}\\.\\d{1,5}\\.\\d{1,3}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "One station by id.",
      "title": "Station"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 60,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Part of the name.",
      "title": "Name"
     },
     "municipality": {
      "anyOf": [
       {
        "pattern": "^\\d{4}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality code, e.g. '4621' (Voss).",
      "title": "Municipality"
     },
     "county": {
      "anyOf": [
       {
        "maxLength": 40,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "County name.",
      "title": "County"
     },
     "lat": {
      "anyOf": [
       {
        "maximum": 82,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 35,
        "minimum": -11,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "radius_km": {
      "default": 20,
      "description": "With lat and lon.",
      "exclusiveMinimum": 0,
      "maximum": 100,
      "title": "Radius Km",
      "type": "number"
     },
     "parameter": {
      "anyOf": [
       {
        "description": "One of precipitation, water_level, discharge, water_temperature, reservoir_volume, air_temperature, snow_depth, snow_water_equivalent, groundwater_level, or a HydAPI parameter number.",
        "pattern": "^([a-z_]+|\\d{1,5})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only stations measuring this, e.g. 'discharge'.",
      "title": "Parameter"
     },
     "include_closed": {
      "default": false,
      "title": "Include Closed",
      "type": "boolean"
     },
     "limit": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "FindStationsInput",
    "type": "object"
   },
   "examples": [
    {
     "name": "Bulken"
    },
    {
     "lat": 60.63,
     "lon": 6.42,
     "radius_km": 15,
     "parameter": "discharge"
    }
   ]
  },
  {
   "name": "water_observations",
   "title": "Observed river and lake data",
   "description": "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.",
   "sources": [
    "nve_hydapi"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/water/observations"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "station": {
      "description": "NVE station id, three numbers with dots, e.g. '62.5.0'. Find ids with water_find_stations.",
      "pattern": "^\\d{1,4}\\.\\d{1,5}\\.\\d{1,3}$",
      "title": "Station",
      "type": "string"
     },
     "parameter": {
      "default": "discharge",
      "description": "One of precipitation, water_level, discharge, water_temperature, reservoir_volume, air_temperature, snow_depth, snow_water_equivalent, groundwater_level, or a HydAPI parameter number.",
      "pattern": "^([a-z_]+|\\d{1,5})$",
      "title": "Parameter",
      "type": "string"
     },
     "resolution": {
      "default": "daily",
      "enum": [
       "instantaneous",
       "hourly",
       "daily"
      ],
      "title": "Resolution",
      "type": "string"
     },
     "start": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Leave start and end out for the latest value only.",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Not included.",
      "title": "End"
     },
     "max_rows": {
      "default": 2000,
      "maximum": 10000,
      "minimum": 1,
      "title": "Max Rows",
      "type": "integer"
     }
    },
    "required": [
     "station"
    ],
    "title": "ObservationsInput",
    "type": "object"
   },
   "examples": [
    {
     "station": "62.5.0",
     "parameter": "discharge",
     "start": "2026-10-01",
     "end": "2026-10-08"
    },
    {
     "station": "62.5.0",
     "parameter": "water_level",
     "resolution": "hourly"
    }
   ]
  },
  {
   "name": "transit_find_stops",
   "title": "Find public transport stops",
   "description": "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.",
   "sources": [
    "entur_geocoder"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/transit/stops"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "anyOf": [
       {
        "maxLength": 80,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Stop name, e.g. 'Oslo S'.",
      "title": "Query"
     },
     "lat": {
      "anyOf": [
       {
        "maximum": 82,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 35,
        "minimum": -11,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "radius_km": {
      "default": 1,
      "description": "With lat and lon and no query: how far to look.",
      "exclusiveMinimum": 0,
      "maximum": 10,
      "title": "Radius Km",
      "type": "number"
     },
     "municipality": {
      "anyOf": [
       {
        "pattern": "^\\d{4}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality code, e.g. '4601' (Bergen).",
      "title": "Municipality"
     },
     "stop_types": {
      "anyOf": [
       {
        "items": {
         "enum": [
          "onstreetBus",
          "busStation",
          "coachStation",
          "onstreetTram",
          "tramStation",
          "metroStation",
          "railStation",
          "airport",
          "ferryStop",
          "harbourPort",
          "ferryPort",
          "liftStation",
          "vehicleRailInterchange",
          "other"
         ],
         "type": "string"
        },
        "minItems": 1,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only these kinds of stop, e.g. ['railStation'].",
      "title": "Stop Types"
     },
     "limit": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "FindStopsInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "Oslo S",
     "limit": 3
    },
    {
     "lat": 60.3913,
     "lon": 5.3221,
     "radius_km": 0.5
    },
    {
     "municipality": "4601",
     "stop_types": [
      "railStation"
     ]
    }
   ]
  },
  {
   "name": "transit_departures",
   "title": "Upcoming departures",
   "description": "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.",
   "sources": [
    "entur_journeyplanner"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/transit/departures"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "stop": {
      "description": "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.",
      "pattern": "^NSR:(StopPlace|Quay):\\d{1,9}$",
      "title": "Stop",
      "type": "string"
     },
     "limit": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     },
     "within_minutes": {
      "default": 120,
      "description": "Only departures within this many minutes.",
      "maximum": 1440,
      "minimum": 1,
      "title": "Within Minutes",
      "type": "integer"
     },
     "start": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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.",
      "title": "Start"
     },
     "modes": {
      "anyOf": [
       {
        "items": {
         "enum": [
          "bus",
          "coach",
          "tram",
          "metro",
          "rail",
          "water",
          "air",
          "cableway",
          "funicular",
          "lift",
          "trolleybus",
          "monorail",
          "taxi"
         ],
         "type": "string"
        },
        "minItems": 1,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "e.g. ['rail'].",
      "title": "Modes"
     },
     "include_cancelled": {
      "default": true,
      "title": "Include Cancelled",
      "type": "boolean"
     }
    },
    "required": [
     "stop"
    ],
    "title": "DeparturesInput",
    "type": "object"
   },
   "examples": [
    {
     "stop": "NSR:StopPlace:59872",
     "limit": 5
    },
    {
     "stop": "NSR:StopPlace:59872",
     "modes": [
      "rail"
     ],
     "within_minutes": 60
    }
   ]
  },
  {
   "name": "transit_journeys",
   "title": "Journeys from A to B",
   "description": "Plan a public transport journey anywhere in Norway with Entur, for every operator: the next journeys (or those arriving by a time), each with departure and arrival, duration, changes and walking distance, and every leg's mode, line, direction, stops, platforms, real-time times, cancellations and notices. Give each end as a stop id, a stop name or coordinates.",
   "sources": [
    "entur_journeyplanner",
    "entur_geocoder"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/transit/journeys"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "origin": {
      "anyOf": [
       {
        "maxLength": 80,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "A stop place id ('NSR:StopPlace:337') or a stop's name ('Oslo S').",
      "title": "Origin"
     },
     "origin_lat": {
      "anyOf": [
       {
        "maximum": 82,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Origin Lat"
     },
     "origin_lon": {
      "anyOf": [
       {
        "maximum": 35,
        "minimum": -11,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Origin Lon"
     },
     "destination": {
      "anyOf": [
       {
        "maxLength": 80,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Destination"
     },
     "destination_lat": {
      "anyOf": [
       {
        "maximum": 82,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Destination Lat"
     },
     "destination_lon": {
      "anyOf": [
       {
        "maximum": 35,
        "minimum": -11,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Destination Lon"
     },
     "time": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Norwegian local time unless an offset is given; default now.",
      "title": "Time"
     },
     "arrive_by": {
      "default": false,
      "description": "Treat time as the latest arrival.",
      "title": "Arrive By",
      "type": "boolean"
     },
     "limit": {
      "default": 3,
      "maximum": 6,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "JourneysInput",
    "type": "object"
   },
   "examples": [
    {
     "origin": "Oslo S",
     "destination": "Bergen stasjon",
     "limit": 2
    },
    {
     "origin_lat": 59.9139,
     "origin_lon": 10.7522,
     "destination_lat": 59.95,
     "destination_lon": 10.73
    }
   ]
  },
  {
   "name": "addresses_search",
   "title": "Search Norwegian addresses",
   "description": "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).",
   "sources": [
    "kartverket"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/addresses"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "anyOf": [
       {
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Free text, e.g. 'Munkegata 1 Trondheim'. More words narrow the search; '*' is a wildcard.",
      "title": "Query"
     },
     "postcode": {
      "anyOf": [
       {
        "pattern": "^\\d{4}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Postcode"
     },
     "municipality": {
      "anyOf": [
       {
        "pattern": "^(\\d{4}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality code ('4601') or name ('Bergen'); names are resolved to today's code.",
      "title": "Municipality"
     },
     "fuzzy": {
      "default": false,
      "description": "Also match spellings close to the query.",
      "title": "Fuzzy",
      "type": "boolean"
     },
     "lat": {
      "anyOf": [
       {
        "maximum": 82,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 35,
        "minimum": -11,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "radius_m": {
      "default": 100,
      "description": "With lat and lon: the addresses within this.",
      "maximum": 1000,
      "minimum": 1,
      "title": "Radius M",
      "type": "integer"
     },
     "limit": {
      "default": 10,
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "AddressSearchInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "Karl Johans gate 22 Oslo"
    },
    {
     "lat": 59.9139,
     "lon": 10.7522,
     "radius_m": 50
    }
   ]
  },
  {
   "name": "places_search",
   "title": "Search Norwegian place names",
   "description": "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.",
   "sources": [
    "kartverket"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/places"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "anyOf": [
       {
        "maxLength": 100,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Place name, e.g. 'Galdhøpiggen'. '*' is a wildcard: 'storvat*'.",
      "title": "Query"
     },
     "fuzzy": {
      "default": false,
      "description": "Also match spellings close to the query.",
      "title": "Fuzzy",
      "type": "boolean"
     },
     "type": {
      "anyOf": [
       {
        "maxLength": 60,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Kind of place, in Norwegian as the register names it, e.g. 'Fjell', 'Innsjø', 'By', 'Gard', 'Tettsted', 'Øy'. Unknown kinds list close matches.",
      "title": "Type"
     },
     "municipality": {
      "anyOf": [
       {
        "pattern": "^(\\d{4}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality code ('4601') or name ('Bergen'); names are resolved to today's code.",
      "title": "Municipality"
     },
     "county": {
      "anyOf": [
       {
        "pattern": "^(\\d{2}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "County number ('46') or name ('Vestland'); names are resolved to today's number.",
      "title": "County"
     },
     "lat": {
      "anyOf": [
       {
        "maximum": 82,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 35,
        "minimum": -11,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "radius_m": {
      "default": 500,
      "description": "With lat and lon.",
      "maximum": 5000,
      "minimum": 1,
      "title": "Radius M",
      "type": "integer"
     },
     "limit": {
      "default": 10,
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "PlaceSearchInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "Galdhøpiggen"
    },
    {
     "query": "Storvatnet",
     "type": "Innsjø",
     "county": "50"
    },
    {
     "lat": 61.636,
     "lon": 8.312,
     "radius_m": 1000
    }
   ]
  },
  {
   "name": "terrain_elevation",
   "title": "Elevation at points",
   "description": "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.",
   "sources": [
    "kartverket"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/terrain/elevation"
   },
   "input_schema": {
    "$defs": {
     "Point": {
      "additionalProperties": false,
      "properties": {
       "lat": {
        "maximum": 82,
        "minimum": 57,
        "title": "Lat",
        "type": "number"
       },
       "lon": {
        "maximum": 35,
        "minimum": -11,
        "title": "Lon",
        "type": "number"
       }
      },
      "required": [
       "lat",
       "lon"
      ],
      "title": "Point",
      "type": "object"
     }
    },
    "additionalProperties": false,
    "properties": {
     "points": {
      "items": {
       "$ref": "#/$defs/Point"
      },
      "maxItems": 50,
      "minItems": 1,
      "title": "Points",
      "type": "array"
     }
    },
    "required": [
     "points"
    ],
    "title": "ElevationInput",
    "type": "object"
   },
   "examples": [
    {
     "points": [
      {
       "lat": 61.63644,
       "lon": 8.31248
      },
      {
       "lat": 59.91,
       "lon": 10.75
      }
     ]
    }
   ]
  },
  {
   "name": "regions_at_point",
   "title": "Municipality and county at a point",
   "description": "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.",
   "sources": [
    "kartverket",
    "ssb_klass"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/regions/at-point"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "maximum": 72,
      "minimum": 57,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "maximum": 33,
      "minimum": -1,
      "title": "Lon",
      "type": "number"
     },
     "date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Also say which municipality and county the point was in on this date (1960 or later), following today's back through SSB Klass.",
      "title": "Date"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "RegionsAtPointInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 60.39,
     "lon": 5.32
    },
    {
     "lat": 69.65,
     "lon": 18.96,
     "date": "2019-06-01"
    }
   ]
  },
  {
   "name": "currency_exchange_rates",
   "title": "Exchange rates against the krone",
   "description": "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.",
   "sources": [
    "norges_bank"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/currency/rates"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "currencies": {
      "default": [
       "EUR",
       "USD",
       "GBP",
       "SEK",
       "DKK"
      ],
      "items": {
       "description": "ISO code such as 'EUR', or one of Norges Bank's indices ('I44', 'TWI').",
       "pattern": "^[A-Z0-9]{3}$",
       "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "title": "Currencies",
      "type": "array"
     },
     "frequency": {
      "default": "daily",
      "description": "Daily rates (business days), or monthly or annual averages.",
      "enum": [
       "daily",
       "monthly",
       "annual"
      ],
      "title": "Frequency",
      "type": "string"
     },
     "start": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Leave start and end out for the latest.",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Included.",
      "title": "End"
     },
     "max_rows": {
      "default": 1000,
      "maximum": 10000,
      "minimum": 1,
      "title": "Max Rows",
      "type": "integer"
     }
    },
    "title": "ExchangeRatesInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "currencies": [
      "EUR"
     ],
     "frequency": "monthly",
     "start": "2025-01-01",
     "end": "2025-12-31"
    }
   ]
  },
  {
   "name": "rates_policy_rate",
   "title": "Norges Bank's key policy rate",
   "description": "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).",
   "sources": [
    "norges_bank"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/rates/policy"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "since": {
      "description": "List changes from this date. Defaults to five years ago.",
      "format": "date",
      "title": "Since",
      "type": "string"
     }
    },
    "title": "PolicyRateInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "since": "2008-01-01"
    }
   ]
  },
  {
   "name": "rates_market",
   "title": "NOWA, Treasury bill and government bond yields",
   "description": "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, 10 years), latest or over a period. The policy rate itself is rates_policy_rate.",
   "sources": [
    "norges_bank"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/rates/market"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "rates": {
      "default": [
       "nowa",
       "bills",
       "bonds"
      ],
      "items": {
       "enum": [
        "nowa",
        "bills",
        "bonds"
       ],
       "type": "string"
      },
      "minItems": 1,
      "title": "Rates",
      "type": "array"
     },
     "start": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Leave out for the latest values.",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "End"
     }
    },
    "title": "MarketInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "rates": [
      "bonds"
     ],
     "start": "2026-01-01",
     "end": "2026-06-30"
    }
   ]
  },
  {
   "name": "hazards_flood_landslide",
   "title": "Flood and landslide warnings",
   "description": "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.",
   "sources": [
    "nve_varsom"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/hazards/flood-landslide"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "start": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "First day. Leave start and end out for today and two more days.",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Last day, included.",
      "title": "End"
     },
     "kinds": {
      "default": [
       "flood",
       "landslide"
      ],
      "items": {
       "enum": [
        "flood",
        "landslide"
       ],
       "type": "string"
      },
      "minItems": 1,
      "title": "Kinds",
      "type": "array"
     },
     "municipality": {
      "anyOf": [
       {
        "pattern": "^(\\d{4}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality code ('4601') or name ('Bergen'); names are resolved to today's code.",
      "title": "Municipality"
     },
     "county": {
      "anyOf": [
       {
        "pattern": "^(\\d{2}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "County number ('46') or name ('Vestland'); names are resolved to today's number.",
      "title": "County"
     },
     "min_level": {
      "default": 2,
      "description": "1 green, 2 yellow, 3 orange, 4 red. The default leaves out green days.",
      "maximum": 4,
      "minimum": 1,
      "title": "Min Level",
      "type": "integer"
     },
     "language": {
      "default": "en",
      "description": "'nb' for NVE's Norwegian texts.",
      "enum": [
       "en",
       "nb"
      ],
      "title": "Language",
      "type": "string"
     }
    },
    "title": "FloodLandslideInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "municipality": "3305",
     "start": "2023-08-08",
     "end": "2023-08-09"
    }
   ]
  },
  {
   "name": "hazards_avalanche",
   "title": "Avalanche forecasts",
   "description": "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.",
   "sources": [
    "nve_varsom"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/hazards/avalanche"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "start": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "First day. Leave start and end out for today and two more days.",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Last day, included.",
      "title": "End"
     },
     "region": {
      "anyOf": [
       {
        "maximum": 3999,
        "minimum": 3000,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Forecasting region id, e.g. 3011 (Tromsø). Leave region, lat and lon out for a summary of every region with their ids.",
      "title": "Region"
     },
     "lat": {
      "anyOf": [
       {
        "maximum": 82,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 35,
        "minimum": -11,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "language": {
      "default": "en",
      "description": "'nb' for NVE's Norwegian texts.",
      "enum": [
       "en",
       "nb"
      ],
      "title": "Language",
      "type": "string"
     }
    },
    "title": "AvalancheInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "region": 3011,
     "start": "2026-03-10"
    },
    {
     "lat": 69.65,
     "lon": 18.96
    }
   ]
  },
  {
   "name": "hazards_field_observations",
   "title": "Field observations of avalanches, landslides, floods and ice",
   "description": "What people have observed on the ground near a point, from Regobs, the system behind varsom.no: avalanche activity, danger signs, snow cover, landslides, flooding, water levels and ice thickness, each with its place, municipality, time, the observer's username and competence, a short text and a link. Newest first, by default the last two weeks within 20 km. Pairs with hazards_avalanche and hazards_flood_landslide, which give the official warnings.",
   "sources": [
    "nve_regobs"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/hazards/observations"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "description": "Latitude in decimal degrees.",
      "maximum": 90,
      "minimum": -90,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "description": "Longitude in decimal degrees.",
      "maximum": 180,
      "minimum": -180,
      "title": "Lon",
      "type": "number"
     },
     "radius_km": {
      "default": 20,
      "exclusiveMinimum": 0,
      "maximum": 100,
      "title": "Radius Km",
      "type": "number"
     },
     "hazards": {
      "default": [
       "snow",
       "landslide",
       "flood",
       "ice"
      ],
      "description": "'snow' covers snow and avalanches; also 'landslide', 'flood', 'ice'.",
      "items": {
       "enum": [
        "snow",
        "landslide",
        "flood",
        "ice"
       ],
       "type": "string"
      },
      "minItems": 1,
      "title": "Hazards",
      "type": "array"
     },
     "start": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "First day; default two weeks ago.",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Last day, inclusive; default today.",
      "title": "End"
     },
     "limit": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "ObservationsInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 69.65,
     "lon": 18.95
    },
    {
     "lat": 69.65,
     "lon": 18.95,
     "radius_km": 30,
     "hazards": [
      "snow"
     ],
     "start": "2026-03-01",
     "end": "2026-03-31",
     "limit": 5
    }
   ]
  },
  {
   "name": "catalog_search",
   "title": "Search Norway's data catalogue",
   "description": "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.",
   "sources": [
    "datanorge"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/catalog/search"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words to find in titles, descriptions and keywords. Norwegian words often find more, e.g. 'befolkning' as well as 'population'.",
      "title": "Query"
     },
     "kind": {
      "default": "datasets",
      "description": "Datasets, or APIs and other data services.",
      "enum": [
       "datasets",
       "data_services"
      ],
      "title": "Kind",
      "type": "string"
     },
     "open_data_only": {
      "default": false,
      "description": "Only data marked as open data.",
      "title": "Open Data Only",
      "type": "boolean"
     },
     "themes": {
      "anyOf": [
       {
        "items": {
         "enum": [
          "AGRI",
          "ECON",
          "EDUC",
          "ENER",
          "ENVI",
          "GOVE",
          "HEAL",
          "INTR",
          "JUST",
          "OP_DATPRO",
          "REGI",
          "SOCI",
          "TECH",
          "TRAN"
         ],
         "type": "string"
        },
        "minItems": 1,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Themes"
     },
     "publisher": {
      "anyOf": [
       {
        "pattern": "^/[A-Z]+(/\\d{9})*$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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.",
      "title": "Publisher"
     },
     "formats": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "minItems": 1,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "File types such as 'CSV', 'JSON', 'GEOJSON', or media types such as 'text/csv'.",
      "title": "Formats"
     },
     "modified_within_days": {
      "anyOf": [
       {
        "maximum": 3650,
        "minimum": 1,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Modified Within Days"
     },
     "limit": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     },
     "page": {
      "default": 0,
      "maximum": 200,
      "minimum": 0,
      "title": "Page",
      "type": "integer"
     }
    },
    "title": "CatalogSearchInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "befolkning",
     "open_data_only": true
    },
    {
     "query": "vær",
     "kind": "data_services"
    },
    {
     "themes": [
      "TRAN"
     ],
     "formats": [
      "CSV"
     ],
     "limit": 5
    }
   ]
  },
  {
   "name": "sea_level",
   "title": "Water level and tides",
   "description": "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.",
   "sources": [
    "kartverket_sea_level"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/sea/level"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "anyOf": [
       {
        "maximum": 82,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "A point on the coast.",
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 35,
        "minimum": -11,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "station": {
      "anyOf": [
       {
        "pattern": "^[A-Z]{3}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Tide gauge code, e.g. 'BGO' (Bergen). Results for a point name the gauge they are based on.",
      "title": "Station"
     },
     "kind": {
      "default": "water_level",
      "description": "'water_level': observed, predicted and forecast series. 'tide_table': times and heights of high and low water.",
      "enum": [
       "water_level",
       "tide_table"
      ],
      "title": "Kind",
      "type": "string"
     },
     "start": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Norwegian local time unless an offset is given. Defaults to 6 hours ago (water_level) or now (tide_table).",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Defaults to 24 hours (water_level) or 3 days (tide_table) on.",
      "title": "End"
     },
     "interval_minutes": {
      "default": 60,
      "enum": [
       10,
       60
      ],
      "title": "Interval Minutes",
      "type": "integer"
     },
     "reference": {
      "default": "chart_datum",
      "description": "Zero level. Chart datum is what tide tables and sea charts use; mean sea level shows the water above or below normal.",
      "enum": [
       "chart_datum",
       "mean_sea_level",
       "nn2000"
      ],
      "title": "Reference",
      "type": "string"
     }
    },
    "title": "SeaLevelInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 60.396,
     "lon": 5.32
    },
    {
     "station": "BGO",
     "kind": "tide_table"
    },
    {
     "lat": 59.91,
     "lon": 10.73,
     "reference": "mean_sea_level",
     "start": "2026-10-01T00:00",
     "end": "2026-10-02T00:00"
    }
   ]
  },
  {
   "name": "sea_level_extremes",
   "title": "Storm surge and record sea levels",
   "description": "How high and low the sea gets at a place on the Norwegian coast, from Kartverket: storm-surge levels reached on average once in 1, 5, 10, 20, 50, 100, 200 and 1000 years, the highest and lowest levels ever observed with their dates, and the tidal levels (highest astronomical tide, mean high water and so on). In NN2000 by default, so the levels compare with heights on land. For the water level now and tide tables, use sea_level.",
   "sources": [
    "kartverket_sea_level"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/sea/extremes"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "anyOf": [
       {
        "maximum": 82,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "A point on the coast.",
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 35,
        "minimum": -11,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "station": {
      "anyOf": [
       {
        "pattern": "^[A-Z]{3}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Tide gauge code, e.g. 'BGO' (Bergen).",
      "title": "Station"
     },
     "reference": {
      "default": "nn2000",
      "description": "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.",
      "enum": [
       "nn2000",
       "mean_sea_level",
       "chart_datum"
      ],
      "title": "Reference",
      "type": "string"
     }
    },
    "title": "LevelsInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 60.398,
     "lon": 5.32
    },
    {
     "station": "OSL",
     "reference": "chart_datum"
    }
   ]
  },
  {
   "name": "energy_reservoirs",
   "title": "Hydropower reservoir fill",
   "description": "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; any years back to 1995.",
   "sources": [
    "nve_reservoirs"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/energy/reservoirs"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "areas": {
      "default": [
       "NO",
       "NO1",
       "NO2",
       "NO3",
       "NO4",
       "NO5"
      ],
      "description": "'NO' for the whole country, NO1-NO5 for electricity price areas, VASS1-VASS4 for watercourse regions.",
      "items": {
       "enum": [
        "NO",
        "NO1",
        "NO2",
        "NO3",
        "NO4",
        "NO5",
        "VASS1",
        "VASS2",
        "VASS3",
        "VASS4"
       ],
       "type": "string"
      },
      "minItems": 1,
      "title": "Areas",
      "type": "array"
     },
     "from_year": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 1995,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Leave out for the latest week only.",
      "title": "From Year"
     },
     "to_year": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 1995,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "To Year"
     }
    },
    "title": "ReservoirsInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "areas": [
      "NO2"
     ],
     "from_year": 2022,
     "to_year": 2022
    }
   ]
  },
  {
   "name": "electricity_municipality",
   "title": "Electricity use in a municipality",
   "description": "Electricity consumption in one Norwegian municipality from Elhub, the national metering data hub: MWh per day (or per hour) for private customers (homes and cabins), business (services) and industry, each group's share and number of metering points, and the production capacity installed in the municipality by kind (hydro, wind, solar, thermal). Any period of up to 31 days since 2021; by default the last seven full days. Accepts codes, old or current, and names.",
   "sources": [
    "elhub"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/electricity/municipalities/{municipality}"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "municipality": {
      "description": "A municipality code, old or current ('1201', '4601'), or a name ('Bergen').",
      "maxLength": 60,
      "minLength": 2,
      "pattern": "^(\\d{4}|[^\\d].{1,59})$",
      "title": "Municipality",
      "type": "string"
     },
     "from_date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "First day, in Norwegian time, from 2021-01-01. Leave out both dates for the last seven full days.",
      "title": "From Date"
     },
     "to_date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Last day, inclusive; at most 31 days from from_date.",
      "title": "To Date"
     },
     "resolution": {
      "default": "day",
      "description": "'hour' adds every hour, for periods of up to 3 days.",
      "enum": [
       "day",
       "hour"
      ],
      "title": "Resolution",
      "type": "string"
     }
    },
    "required": [
     "municipality"
    ],
    "title": "MunicipalityInput",
    "type": "object"
   },
   "examples": [
    {
     "municipality": "Bergen"
    },
    {
     "municipality": "0301",
     "from_date": "2026-01-05",
     "to_date": "2026-01-11"
    },
    {
     "municipality": "Tromsø",
     "from_date": "2026-10-01",
     "to_date": "2026-10-01",
     "resolution": "hour"
    }
   ]
  },
  {
   "name": "electricity_price_areas",
   "title": "Electricity by price area",
   "description": "Electricity consumption and production in Norway's five price areas (NO1-NO5) from Elhub: MWh per day and for the period, consumption by households, cabins and primary, secondary and tertiary industry, production by hydro, wind, solar, thermal and other, and production minus consumption. With all five areas, a total for Norway is added. Any period of up to 31 days since 2021; by default the last seven full days.",
   "sources": [
    "elhub"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/electricity/price-areas"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "areas": {
      "default": [
       "NO1",
       "NO2",
       "NO3",
       "NO4",
       "NO5"
      ],
      "description": "Electricity price areas; with all five, a total for Norway is added.",
      "items": {
       "enum": [
        "NO1",
        "NO2",
        "NO3",
        "NO4",
        "NO5"
       ],
       "type": "string"
      },
      "minItems": 1,
      "title": "Areas",
      "type": "array"
     },
     "from_date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "First day, in Norwegian time, from 2021-01-01. Leave out both dates for the last seven full days.",
      "title": "From Date"
     },
     "to_date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Last day, inclusive; at most 31 days from from_date.",
      "title": "To Date"
     }
    },
    "title": "PriceAreasInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "areas": [
      "NO2"
     ],
     "from_date": "2026-01-01",
     "to_date": "2026-01-31"
    }
   ]
  },
  {
   "name": "parliament_cases",
   "title": "Search Stortinget's cases",
   "description": "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.",
   "sources": [
    "stortinget"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/parliament/cases"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "session": {
      "anyOf": [
       {
        "description": "e.g. '2025-2026'.",
        "pattern": "^\\d{4}-\\d{4}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Defaults to the current session.",
      "title": "Session"
     },
     "query": {
      "anyOf": [
       {
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words that must all appear in the title (Norwegian), e.g. 'strømpris'.",
      "title": "Query"
     },
     "type": {
      "anyOf": [
       {
        "enum": [
         "budget",
         "general",
         "law"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Type"
     },
     "status": {
      "anyOf": [
       {
        "enum": [
         "dealt_with",
         "under_consideration",
         "withdrawn"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "'dealt_with' means the committee has dealt with it.",
      "title": "Status"
     },
     "committee": {
      "anyOf": [
       {
        "maxLength": 20,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Committee id, e.g. 'FIN'.",
      "title": "Committee"
     },
     "limit": {
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "CasesInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "energipriser",
     "session": "2025-2026"
    },
    {
     "type": "law",
     "limit": 5
    }
   ]
  },
  {
   "name": "parliament_case",
   "title": "A Stortinget case and its votes",
   "description": "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.",
   "sources": [
    "stortinget"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/parliament/cases/{case_id}"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "case_id": {
      "description": "Case id from parliament_cases.",
      "minimum": 1,
      "title": "Case Id",
      "type": "integer"
     },
     "party_breakdown": {
      "default": true,
      "description": "For votes recorded by name, count how each party voted.",
      "title": "Party Breakdown",
      "type": "boolean"
     }
    },
    "required": [
     "case_id"
    ],
    "title": "CaseInput",
    "type": "object"
   },
   "examples": [
    {
     "case_id": 200084
    }
   ]
  },
  {
   "name": "parliament_members",
   "title": "Members of Stortinget",
   "description": "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.",
   "sources": [
    "stortinget"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/parliament/members"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "period": {
      "anyOf": [
       {
        "pattern": "^\\d{4}-\\d{4}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Electoral period, e.g. '2021-2025'. Leave out for the members sitting today.",
      "title": "Period"
     },
     "party": {
      "anyOf": [
       {
        "maxLength": 10,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Party id, e.g. 'A', 'H'.",
      "title": "Party"
     },
     "constituency": {
      "anyOf": [
       {
        "maxLength": 40,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Constituency (county) name, e.g. 'Hordaland'.",
      "title": "Constituency"
     }
    },
    "title": "MembersInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "period": "2021-2025",
     "party": "SV"
    }
   ]
  },
  {
   "name": "parliament_questions",
   "title": "Questions to ministers",
   "description": "Questions members of Stortinget have put to ministers in a session (by default the current one): written questions (in full), questions from question time, or interpellations, filtered by words in the question, the minister, the asker's party, and whether it has been answered. Each has the asker, the minister, the dates and a link to the question and its answer on stortinget.no. Questions are in Norwegian.",
   "sources": [
    "stortinget"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/parliament/questions"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "kind": {
      "default": "written",
      "description": "'written' (skriftlige spørsmål), 'question_time' (spørretimen) or 'interpellation'.",
      "enum": [
       "written",
       "question_time",
       "interpellation"
      ],
      "title": "Kind",
      "type": "string"
     },
     "session": {
      "anyOf": [
       {
        "pattern": "^\\d{4}-\\d{4}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "e.g. '2025-2026'; default the current.",
      "title": "Session"
     },
     "query": {
      "anyOf": [
       {
        "maxLength": 100,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words that must all be in the question; each matches from the start of a word, so 'strøm' also finds 'strømpris'.",
      "title": "Query"
     },
     "minister": {
      "anyOf": [
       {
        "maxLength": 60,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Part of the minister's title, e.g. 'energi' or 'helse', or their name.",
      "title": "Minister"
     },
     "party": {
      "anyOf": [
       {
        "maxLength": 10,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "The asker's party, e.g. 'FrP', 'H', 'SV'.",
      "title": "Party"
     },
     "answered": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only answered (true) or unanswered.",
      "title": "Answered"
     },
     "limit": {
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "QuestionsInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "strøm",
     "limit": 5
    },
    {
     "kind": "interpellation",
     "session": "2025-2026"
    },
    {
     "minister": "helse",
     "party": "H",
     "answered": true,
     "session": "2025-2026",
     "limit": 5
    }
   ]
  },
  {
   "name": "parliament_vote_details",
   "title": "How each member of Stortinget voted",
   "description": "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.",
   "sources": [
    "stortinget"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/parliament/cases/{case_id}/votes"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "case_id": {
      "description": "A case id from parliament_cases.",
      "title": "Case Id",
      "type": "integer"
     },
     "party": {
      "anyOf": [
       {
        "maxLength": 10,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only this party, e.g. 'H'.",
      "title": "Party"
     },
     "county": {
      "anyOf": [
       {
        "maxLength": 40,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only members from this constituency, e.g. 'Nordland'.",
      "title": "County"
     },
     "vote_id": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "One vote of the case; default every vote recorded by name.",
      "title": "Vote Id"
     }
    },
    "required": [
     "case_id"
    ],
    "title": "VoteDetailsInput",
    "type": "object"
   },
   "examples": [
    {
     "case_id": 104908,
     "party": "H"
    }
   ]
  },
  {
   "name": "parliament_hearings",
   "title": "Stortinget's committee hearings",
   "description": "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.",
   "sources": [
    "stortinget"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/parliament/hearings"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "session": {
      "anyOf": [
       {
        "pattern": "^\\d{4}-\\d{4}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "e.g. '2025-2026'; default the current.",
      "title": "Session"
     },
     "query": {
      "anyOf": [
       {
        "maxLength": 100,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words in the case titles the hearing is about.",
      "title": "Query"
     },
     "committee": {
      "anyOf": [
       {
        "maxLength": 60,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Part of the committee's name or its id, e.g. 'ENE'.",
      "title": "Committee"
     },
     "case_id": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only hearings on this case.",
      "title": "Case Id"
     },
     "with_programme": {
      "default": true,
      "description": "Include each hearing's programme: who was heard and when (one call each).",
      "title": "With Programme",
      "type": "boolean"
     },
     "limit": {
      "default": 10,
      "maximum": 30,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "HearingsInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "statsbudsjettet",
     "limit": 3
    }
   ]
  },
  {
   "name": "parliament_question",
   "title": "One question to a minister, with the answer",
   "description": "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.",
   "sources": [
    "stortinget"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/parliament/questions/{question_id}"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "question_id": {
      "description": "A question id from parliament_questions.",
      "title": "Question Id",
      "type": "integer"
     }
    },
    "required": [
     "question_id"
    ],
    "title": "QuestionInput",
    "type": "object"
   },
   "examples": [
    {
     "question_id": 105104
    }
   ]
  },
  {
   "name": "parliament_debates",
   "title": "Speeches in Stortinget's debates",
   "description": "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.",
   "sources": [
    "stortinget"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/parliament/debates"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "anyOf": [
       {
        "maxLength": 100,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words that must all be in a speech or in its agenda item's title.",
      "title": "Query"
     },
     "speaker": {
      "anyOf": [
       {
        "maxLength": 60,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Part of the speaker's name, or a party, e.g. 'SV'.",
      "title": "Speaker"
     },
     "sitting": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "One sitting's transcript id, e.g. 'refs-202526-11-18'. Default: the latest sittings of the session.",
      "title": "Sitting"
     },
     "session": {
      "anyOf": [
       {
        "pattern": "^\\d{4}-\\d{4}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Session"
     },
     "sittings": {
      "default": 5,
      "description": "How many of the latest sittings to read.",
      "maximum": 10,
      "minimum": 1,
      "title": "Sittings",
      "type": "integer"
     },
     "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "DebatesInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "strøm",
     "sittings": 3
    },
    {
     "sitting": "refs-202526-11-18"
    }
   ]
  },
  {
   "name": "traffic_find_points",
   "title": "Find traffic counting points",
   "description": "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.",
   "sources": [
    "vegvesen_traffic",
    "kartverket"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/traffic/points"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "name": {
      "anyOf": [
       {
        "maxLength": 60,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Name"
     },
     "municipality": {
      "anyOf": [
       {
        "pattern": "^(\\d{4}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality code ('4601') or name ('Bergen'); names are resolved to today's code.",
      "title": "Municipality"
     },
     "county": {
      "anyOf": [
       {
        "pattern": "^(\\d{2}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "County number ('46') or name ('Vestland'); names are resolved to today's number.",
      "title": "County"
     },
     "road": {
      "anyOf": [
       {
        "pattern": "^(?i:[ERFK]V?)\\s?\\d{1,5}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Road number, e.g. 'E39', 'Rv7', 'Fv5000'.",
      "title": "Road"
     },
     "lat": {
      "anyOf": [
       {
        "maximum": 72,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 32,
        "minimum": 4,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "radius_km": {
      "default": 5,
      "description": "With lat and lon.",
      "exclusiveMinimum": 0,
      "maximum": 20,
      "title": "Radius Km",
      "type": "number"
     },
     "kind": {
      "anyOf": [
       {
        "enum": [
         "vehicle",
         "bicycle"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Kind"
     },
     "include_inactive": {
      "default": false,
      "description": "Also points that are out of service or retired.",
      "title": "Include Inactive",
      "type": "boolean"
     },
     "limit": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "FindPointsInput",
    "type": "object"
   },
   "examples": [
    {
     "name": "Nygårdstunnelen"
    },
    {
     "lat": 59.91,
     "lon": 10.75,
     "radius_km": 2
    },
    {
     "county": "46",
     "road": "E39",
     "limit": 5
    }
   ]
  },
  {
   "name": "traffic_volumes",
   "title": "Traffic volumes at a point",
   "description": "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.",
   "sources": [
    "vegvesen_traffic"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/traffic/volumes"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "point": {
      "description": "Point id from traffic_find_points.",
      "pattern": "^\\d{5}V\\d{3,9}$",
      "title": "Point",
      "type": "string"
     },
     "resolution": {
      "default": "daily",
      "description": "'annual' gives the annual average daily traffic (ÅDT) for every year.",
      "enum": [
       "hourly",
       "daily",
       "annual"
      ],
      "title": "Resolution",
      "type": "string"
     },
     "start": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "First day. Defaults to 7 days ago (daily) or yesterday (hourly).",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Last day, included.",
      "title": "End"
     }
    },
    "required": [
     "point"
    ],
    "title": "VolumesInput",
    "type": "object"
   },
   "examples": [
    {
     "point": "09194V804833",
     "start": "2026-10-19",
     "end": "2026-10-25"
    },
    {
     "point": "09194V804833",
     "resolution": "annual",
     "start": "2015-01-01"
    }
   ]
  },
  {
   "name": "road_at_point",
   "title": "The road at a point",
   "description": "The road nearest a point in Norway, from Statens vegvesen's national road database (NVDB): its reference and category (European, national, county, municipal or private road), the speed limit, the annual average daily traffic, any signed height limit, and the bridge or tunnel it is on. Footpaths and cycle paths are skipped. For traffic counts over time, use traffic_find_points.",
   "sources": [
    "vegvesen_nvdb"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/roads/at-point"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "description": "Latitude in decimal degrees.",
      "maximum": 90,
      "minimum": -90,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "description": "Longitude in decimal degrees.",
      "maximum": 180,
      "minimum": -180,
      "title": "Lon",
      "type": "number"
     },
     "max_distance_m": {
      "default": 50,
      "description": "How far to look for a road.",
      "maximum": 300,
      "minimum": 1,
      "title": "Max Distance M",
      "type": "integer"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "RoadInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 60.379,
     "lon": 5.3388
    },
    {
     "lat": 59.9127,
     "lon": 10.7461,
     "max_distance_m": 100
    }
   ]
  },
  {
   "name": "schools_search",
   "title": "Find schools",
   "description": "Find Norwegian primary and secondary schools, public and private, in Udir's National School Register, by name, municipality or county, optionally only one level or kind of ownership. Use schools_get for pupil numbers, grades and address.",
   "sources": [
    "udir_nsr"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/schools"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "name": {
      "anyOf": [
       {
        "maxLength": 80,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Name"
     },
     "municipality": {
      "anyOf": [
       {
        "pattern": "^(\\d{4}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality code ('4601') or name ('Bergen'); names are resolved to today's code.",
      "title": "Municipality"
     },
     "county": {
      "anyOf": [
       {
        "pattern": "^(\\d{2}|[^\\d].{1,59})$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "County number ('46') or name ('Vestland'); names are resolved to today's number.",
      "title": "County"
     },
     "level": {
      "anyOf": [
       {
        "enum": [
         "primary",
         "secondary"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "'primary' for grunnskole (years 1-10), 'secondary' for videregående.",
      "title": "Level"
     },
     "ownership": {
      "anyOf": [
       {
        "enum": [
         "public",
         "private"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Ownership"
     },
     "include_closed": {
      "default": false,
      "title": "Include Closed",
      "type": "boolean"
     },
     "limit": {
      "default": 20,
      "maximum": 200,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "SchoolsSearchInput",
    "type": "object"
   },
   "examples": [
    {
     "municipality": "4601",
     "level": "secondary"
    },
    {
     "name": "Alvøen"
    }
   ]
  },
  {
   "name": "schools_get",
   "title": "One school",
   "description": "One school from the National School Register: pupils, staff, grades, owner, Bokmål or Nynorsk, address, position, website, and when it opened or closed.",
   "sources": [
    "udir_nsr"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/schools/{org_number}"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "org_number": {
      "description": "The school's organisation number, from schools_search.",
      "pattern": "^[0-9U]\\d{8}$",
      "title": "Org Number",
      "type": "string"
     }
    },
    "required": [
     "org_number"
    ],
    "title": "SchoolGetInput",
    "type": "object"
   },
   "examples": [
    {
     "org_number": "874738352"
    }
   ]
  },
  {
   "name": "hazards_earthquakes",
   "title": "Earthquakes near a point",
   "description": "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.",
   "sources": [
    "usgs_earthquakes"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/hazards/earthquakes"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "description": "Latitude in decimal degrees.",
      "maximum": 90,
      "minimum": -90,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "description": "Longitude in decimal degrees.",
      "maximum": 180,
      "minimum": -180,
      "title": "Lon",
      "type": "number"
     },
     "radius_km": {
      "default": 500,
      "exclusiveMinimum": 0,
      "maximum": 2000,
      "title": "Radius Km",
      "type": "number"
     },
     "start": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "First day (UTC); default a year ago.",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Last day (UTC), inclusive; default today.",
      "title": "End"
     },
     "min_magnitude": {
      "default": 2.5,
      "maximum": 10,
      "minimum": 0,
      "title": "Min Magnitude",
      "type": "number"
     },
     "order": {
      "default": "time",
      "description": "'time' for the newest first, 'magnitude' for the largest.",
      "enum": [
       "time",
       "magnitude"
      ],
      "title": "Order",
      "type": "string"
     },
     "limit": {
      "default": 20,
      "maximum": 200,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "QuakesInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 66.9,
     "lon": 13.6
    },
    {
     "lat": 60.4,
     "lon": 5.3,
     "radius_km": 300,
     "start": "2000-01-01",
     "end": "2025-12-31",
     "min_magnitude": 4,
     "order": "magnitude",
     "limit": 5
    }
   ]
  },
  {
   "name": "dictionary_lookup",
   "title": "Look up a Norwegian word",
   "description": "Look a word up in Bokmålsordboka and Nynorskordboka, the official Norwegian dictionaries from the University of Bergen and Språkrådet: its meanings with examples, word class and gender, every standard inflected form, and its origin, with similar words when it is not found. Use it to check spelling, the correct form, or what a word means; the explanations are in Norwegian.",
   "sources": [
    "ordbokene"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/dictionary"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "word": {
      "description": "The word, e.g. 'fjord'. '*' matches any letters ('spring*').",
      "maxLength": 60,
      "minLength": 1,
      "title": "Word",
      "type": "string"
     },
     "dictionary": {
      "default": "both",
      "description": "'bm' for Bokmålsordboka, 'nn' for Nynorskordboka.",
      "enum": [
       "bm",
       "nn",
       "both"
      ],
      "title": "Dictionary",
      "type": "string"
     },
     "limit": {
      "default": 3,
      "description": "Articles per dictionary.",
      "maximum": 10,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "required": [
     "word"
    ],
    "title": "LookupInput",
    "type": "object"
   },
   "examples": [
    {
     "word": "fjord"
    },
    {
     "word": "springe",
     "dictionary": "nn"
    },
    {
     "word": "fjrod"
    }
   ]
  },
  {
   "name": "flights_airport",
   "title": "Departures and arrivals at an airport",
   "description": "Departures and arrivals at a Norwegian airport from Avinor, from an hour ago to seven hours ahead by default: flight number, airline, the other airport and any stops, domestic, Schengen or international, scheduled and new or actual times with the delay in minutes, gate, check-in and baggage belt, and whether it is delayed or cancelled. Filter by direction, the other airport or a flight number. Times are at most three minutes old.",
   "sources": [
    "avinor"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/flights/{airport}"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "airport": {
      "description": "IATA code ('BGO') or the airport's name in Avinor's list ('Bergen').",
      "maxLength": 40,
      "minLength": 3,
      "title": "Airport",
      "type": "string"
     },
     "direction": {
      "default": "both",
      "enum": [
       "departures",
       "arrivals",
       "both"
      ],
      "title": "Direction",
      "type": "string"
     },
     "hours_back": {
      "default": 1,
      "maximum": 24,
      "minimum": 0,
      "title": "Hours Back",
      "type": "integer"
     },
     "hours_ahead": {
      "default": 7,
      "maximum": 24,
      "minimum": 0,
      "title": "Hours Ahead",
      "type": "integer"
     },
     "other_airport": {
      "anyOf": [
       {
        "maxLength": 3,
        "minLength": 3,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only flights to or from this IATA code, e.g. 'OSL'.",
      "title": "Other Airport"
     },
     "flight": {
      "anyOf": [
       {
        "maxLength": 8,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only this flight number, e.g. 'SK274'.",
      "title": "Flight"
     }
    },
    "required": [
     "airport"
    ],
    "title": "FlightsInput",
    "type": "object"
   },
   "examples": [
    {
     "airport": "BGO",
     "direction": "departures"
    },
    {
     "airport": "Tromsø",
     "other_airport": "OSL",
     "hours_ahead": 12
    }
   ]
  },
  {
   "name": "world_indicators",
   "title": "Compare Norway with other countries",
   "description": "A World Bank World Development Indicator for Norway and other countries or regions: the latest value per country, ranked, or every year in a range. Use a WDI code or a common name (gdp, gdp_per_capita, gdp_per_capita_ppp, gdp_growth, population, life_expectancy, fertility_rate, unemployment, …). By default the Nordic countries. For figures inside Norway, use SSB's statistics tools instead.",
   "sources": [
    "worldbank_wdi"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/world/indicators"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "indicator": {
      "description": "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_share, internet_users, government_debt, gini, military_spending, research_spending, education_spending, health_spending.",
      "maxLength": 40,
      "minLength": 2,
      "title": "Indicator",
      "type": "string"
     },
     "countries": {
      "default": [
       "NOR",
       "SWE",
       "DNK",
       "FIN",
       "ISL"
      ],
      "description": "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.",
      "items": {
       "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "title": "Countries",
      "type": "array"
     },
     "from_year": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 1960,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Leave out both years for the latest value.",
      "title": "From Year"
     },
     "to_year": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 1960,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "To Year"
     }
    },
    "required": [
     "indicator"
    ],
    "title": "IndicatorInput",
    "type": "object"
   },
   "examples": [
    {
     "indicator": "gdp_per_capita"
    },
    {
     "indicator": "SP.DYN.LE00.IN",
     "countries": [
      "NOR",
      "WLD",
      "EUU"
     ],
     "from_year": 2015,
     "to_year": 2020
    }
   ]
  },
  {
   "name": "eurostat_search",
   "title": "Search Eurostat's datasets",
   "description": "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.",
   "sources": [
    "eurostat"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/eurostat/datasets"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "description": "Words in the dataset's title.",
      "maxLength": 100,
      "minLength": 2,
      "title": "Query",
      "type": "string"
     },
     "limit": {
      "default": 10,
      "maximum": 30,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "required": [
     "query"
    ],
    "title": "SearchInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "unemployment rate annual"
    },
    {
     "query": "electricity prices household"
    }
   ]
  },
  {
   "name": "eurostat_data",
   "title": "Read a Eurostat dataset",
   "description": "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 …).",
   "sources": [
    "eurostat"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/eurostat/data"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "dataset": {
      "description": "A dataset code from eurostat_search, e.g. 'une_rt_a'.",
      "title": "Dataset",
      "type": "string"
     },
     "geo": {
      "default": [
       "NO",
       "SE",
       "DK",
       "FI",
       "IS",
       "EU27_2020"
      ],
      "description": "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.",
      "items": {
       "type": "string"
      },
      "maxItems": 40,
      "minItems": 1,
      "title": "Geo",
      "type": "array"
     },
     "filters": {
      "additionalProperties": {
       "items": {
        "type": "string"
       },
       "type": "array"
      },
      "description": "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.",
      "title": "Filters",
      "type": "object"
     },
     "since": {
      "anyOf": [
       {
        "maxLength": 10,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "First period, e.g. '2015' or '2020-01'.",
      "title": "Since"
     },
     "last_periods": {
      "anyOf": [
       {
        "maximum": 50,
        "minimum": 1,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Only the last N periods. Default 5 without since.",
      "title": "Last Periods"
     }
    },
    "required": [
     "dataset"
    ],
    "title": "DataInput",
    "type": "object"
   },
   "examples": [
    {
     "dataset": "une_rt_a",
     "filters": {
      "age": [
       "Y15-74"
      ],
      "unit": [
       "PC_ACT"
      ],
      "sex": [
       "T"
      ]
     }
    },
    {
     "dataset": "demo_r_pjangrp3",
     "geo": [
      "NO08",
      "NO09"
     ],
     "filters": {
      "sex": [
       "T"
      ],
      "age": [
       "TOTAL"
      ]
     },
     "last_periods": 1
    }
   ]
  },
  {
   "name": "laws_search",
   "title": "Search Norwegian laws and regulations",
   "description": "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.",
   "sources": [
    "lovdata"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/laws/search"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "description": "Words that must all appear, e.g. 'arbeidsmiljø' or 'husdyr velferd'. Words of five letters or more also match longer forms ('forurens' finds 'forurensning').",
      "maxLength": 200,
      "minLength": 2,
      "title": "Query",
      "type": "string"
     },
     "kind": {
      "default": "both",
      "description": "Laws, central regulations, or both.",
      "enum": [
       "law",
       "regulation",
       "both"
      ],
      "title": "Kind",
      "type": "string"
     },
     "match": {
      "default": "titles",
      "description": "'titles' finds documents by title, short title or legal area; 'text' finds the sections whose heading or text holds the words.",
      "enum": [
       "titles",
       "text"
      ],
      "title": "Match",
      "type": "string"
     },
     "document": {
      "anyOf": [
       {
        "maxLength": 80,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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'.",
      "title": "Document"
     },
     "limit": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "required": [
     "query"
    ],
    "title": "SearchInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "arbeidsmiljø"
    },
    {
     "query": "overtid",
     "document": "arbeidsmiljøloven"
    }
   ]
  },
  {
   "name": "laws_get_section",
   "title": "Read a section of a law or regulation",
   "description": "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.",
   "sources": [
    "lovdata"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/laws/section"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "document": {
      "description": "An id (LOV-1981-03-13-6), a short title (forurensningsloven) or its abbreviation (forurl).",
      "maxLength": 80,
      "minLength": 2,
      "title": "Document",
      "type": "string"
     },
     "section": {
      "anyOf": [
       {
        "maxLength": 20,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "A section such as '§ 11', '11' or '14-7'. Leave out to list the document's sections.",
      "title": "Section"
     }
    },
    "required": [
     "document"
    ],
    "title": "SectionInput",
    "type": "object"
   },
   "examples": [
    {
     "document": "forurensningsloven",
     "section": "§ 11"
    },
    {
     "document": "LOV-2005-06-17-62"
    }
   ]
  },
  {
   "name": "tenders_search",
   "title": "Search public tenders (TED)",
   "description": "Public procurement notices from TED, the EU's Tenders Electronic Daily: calls for tenders, contract awards and prior information, by buyer name, country (default Norway), CPV code, words, stage and publication date. Each notice has its buyer, deadline, CPV codes, value where printed and a link; awards also name the winning suppliers, where they are, and how many tenders came in. Filter by winner or winner_city for 'who won' questions about anbud and offentlige innkjøp.",
   "sources": [
    "ted"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/tenders/search"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "buyer": {
      "anyOf": [
       {
        "maxLength": 100,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words in the buyer's name, e.g. 'Bergen kommune' or 'Statens vegvesen'.",
      "title": "Buyer"
     },
     "country": {
      "default": "NOR",
      "description": "The buyer's country, ISO 3166 three letters: 'NOR', 'SWE', 'DEU'.",
      "title": "Country",
      "type": "string"
     },
     "cpv": {
      "description": "CPV codes; each also matches its sub-codes, so '45000000' is all construction work and '72000000' all IT services. Two to eight digits ('45', '7221').",
      "items": {
       "type": "string"
      },
      "maxItems": 10,
      "title": "Cpv",
      "type": "array"
     },
     "query": {
      "anyOf": [
       {
        "maxLength": 100,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words anywhere in the notice.",
      "title": "Query"
     },
     "winner": {
      "anyOf": [
       {
        "maxLength": 100,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words in a winning supplier's name (awards).",
      "title": "Winner"
     },
     "winner_city": {
      "anyOf": [
       {
        "maxLength": 60,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Where a winning supplier is, e.g. 'Bergen'.",
      "title": "Winner City"
     },
     "stage": {
      "default": "any",
      "description": "'planned' (prior information), 'competition' (calls for tenders) or 'awarded' (contract awards).",
      "enum": [
       "any",
       "planned",
       "competition",
       "awarded"
      ],
      "title": "Stage",
      "type": "string"
     },
     "open_only": {
      "default": false,
      "description": "Only notices whose tender deadline has not passed.",
      "title": "Open Only",
      "type": "boolean"
     },
     "published_from": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Default: 90 days ago, unless open_only.",
      "title": "Published From"
     },
     "published_to": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Published To"
     },
     "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     },
     "page": {
      "default": 1,
      "maximum": 100,
      "minimum": 1,
      "title": "Page",
      "type": "integer"
     }
    },
    "title": "SearchInput",
    "type": "object"
   },
   "examples": [
    {
     "buyer": "Oslo kommune",
     "stage": "competition",
     "open_only": true
    },
    {
     "cpv": [
      "72000000"
     ],
     "stage": "awarded",
     "limit": 10
    },
    {
     "winner_city": "Bergen",
     "stage": "awarded",
     "limit": 10
    }
   ]
  },
  {
   "name": "map_layers_at_point",
   "title": "Map layers at a point",
   "description": "What lies at a coordinate on open national map layers: quick clay hazard zones and susceptibility, flood zones, landslide, rockfall and avalanche susceptibility, cultural heritage sites and listed buildings, nature protection areas, contaminated ground, radon, aquaculture sites, protected watercourses, the grunnkrets (statistical unit) and road noise zones. Each layer answers found or not, with the features' attributes and the owner's licence. Use it for 'is this site on quick clay', 'is it in a flood zone', 'are there cultural heritage sites here'.",
   "sources": [
    "geonorge_wfs"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/map/layers"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "description": "Latitude in Norway (WGS84).",
      "maximum": 71.5,
      "minimum": 57.5,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "description": "Longitude in Norway (WGS84).",
      "maximum": 31.5,
      "minimum": 4.0,
      "title": "Lon",
      "type": "number"
     },
     "layers": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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, avalanche_susceptibility, cultural_heritage_site, cultural_heritage_buffer, listed_building, aquaculture_site, protected_area, contaminated_ground, radon_susceptibility, protected_watercourse, basic_statistical_unit, road_noise.",
      "title": "Layers"
     },
     "radius_m": {
      "default": 0,
      "description": "0 for what the point lies in; up to 10,000 for what is near it.",
      "maximum": 10000,
      "minimum": 0,
      "title": "Radius M",
      "type": "number"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "AtPointInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 59.9139,
     "lon": 10.7387
    },
    {
     "lat": 60.0702,
     "lon": 11.0345,
     "layers": [
      "quick_clay_hazard_zone"
     ]
    }
   ]
  },
  {
   "name": "ecb_exchange_rates",
   "title": "Euro reference rates (ECB)",
   "description": "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.",
   "sources": [
    "ecb"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/ecb/rates"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "currencies": {
      "default": [
       "NOK",
       "USD",
       "GBP",
       "SEK",
       "DKK"
      ],
      "items": {
       "description": "ISO code, e.g. 'NOK'.",
       "pattern": "^[A-Z]{3}$",
       "type": "string"
      },
      "maxItems": 30,
      "minItems": 1,
      "title": "Currencies",
      "type": "array"
     },
     "frequency": {
      "default": "daily",
      "enum": [
       "daily",
       "monthly",
       "annual"
      ],
      "title": "Frequency",
      "type": "string"
     },
     "start": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Leave out for the latest rates.",
      "title": "Start"
     },
     "end": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "End"
     },
     "max_rows": {
      "default": 1000,
      "maximum": 10000,
      "minimum": 1,
      "title": "Max Rows",
      "type": "integer"
     }
    },
    "title": "RatesInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "currencies": [
      "NOK"
     ],
     "frequency": "monthly",
     "start": "2025-01-01",
     "end": "2025-12-31"
    }
   ]
  },
  {
   "name": "ecb_policy_rates",
   "title": "The ECB's key interest rates",
   "description": "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).",
   "sources": [
    "ecb"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/ecb/policy-rates"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "since": {
      "description": "List changes from this date. Defaults to five years ago.",
      "format": "date",
      "title": "Since",
      "type": "string"
     }
    },
    "title": "PolicyInput",
    "type": "object"
   },
   "examples": [
    {},
    {
     "since": "2022-01-01"
    }
   ]
  },
  {
   "name": "aquaculture_sites",
   "title": "Aquaculture sites (fish farms)",
   "description": "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.",
   "sources": [
    "fiskeridir"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/aquaculture/sites"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "municipality": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality code or name, e.g. '4624' or 'Austevoll'.",
      "title": "Municipality"
     },
     "county": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "County code or name, e.g. 'Vestland'.",
      "title": "County"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 60,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "The site's name.",
      "title": "Name"
     },
     "org_number": {
      "anyOf": [
       {
        "pattern": "^\\d{9}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "The licence holder's organisation number.",
      "title": "Org Number"
     },
     "species": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "One of: salmon, trout, other_fish, shellfish, algae.",
      "title": "Species"
     },
     "holders": {
      "default": true,
      "description": "Look up who holds each site's licences (one call per licence, up to 25).",
      "title": "Holders",
      "type": "boolean"
     },
     "limit": {
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "SitesInput",
    "type": "object"
   },
   "examples": [
    {
     "municipality": "Austevoll",
     "limit": 5
    },
    {
     "org_number": "964118191",
     "limit": 5
    }
   ]
  },
  {
   "name": "fish_buyers",
   "title": "Registered fish buyers",
   "description": "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.",
   "sources": [
    "fiskeridir"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/fish/buyers"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "anyOf": [
       {
        "maxLength": 60,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Words in the name or address.",
      "title": "Query"
     },
     "municipality": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Municipality code or name.",
      "title": "Municipality"
     },
     "county": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "County code or name, e.g. 'Finnmark'.",
      "title": "County"
     },
     "kind": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Location type, e.g. 'ORDINARY_FACILITY_T' (a buying facility), 'DOCK_SALESPERSON_T', 'VESSEL_T', 'LEGAL_ENTITY'.",
      "title": "Kind"
     },
     "limit": {
      "default": 30,
      "maximum": 200,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "BuyersInput",
    "type": "object"
   },
   "examples": [
    {
     "county": "Finnmark",
     "kind": "ORDINARY_FACILITY_T"
    }
   ]
  },
  {
   "name": "fish_health",
   "title": "Salmon lice and fish health per fish farm",
   "description": "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.",
   "sources": [
    "barentswatch_fishhealth"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/fish/health"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "municipality": {
      "description": "Municipality codes or names, e.g. ['Kvam', 'Ullensvang'] for Hardanger.",
      "items": {
       "type": "string"
      },
      "maxItems": 10,
      "title": "Municipality",
      "type": "array"
     },
     "lat": {
      "anyOf": [
       {
        "maximum": 72,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 32,
        "minimum": 3,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "radius_km": {
      "default": 20,
      "exclusiveMinimum": 0,
      "maximum": 100,
      "title": "Radius Km",
      "type": "number"
     },
     "locality": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "One site's locality number, for its week in detail.",
      "title": "Locality"
     },
     "year": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 2012,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Year"
     },
     "week": {
      "anyOf": [
       {
        "maximum": 53,
        "minimum": 1,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "ISO week; default last week.",
      "title": "Week"
     },
     "only_reporting": {
      "default": true,
      "description": "Only sites that reported lice.",
      "title": "Only Reporting",
      "type": "boolean"
     },
     "limit": {
      "default": 50,
      "maximum": 300,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "FishHealthInput",
    "type": "object"
   },
   "examples": [
    {
     "municipality": [
      "Kvam",
      "Ullensvang"
     ]
    },
    {
     "lat": 60.4,
     "lon": 5.2
    }
   ]
  },
  {
   "name": "ships_live",
   "title": "Ships at sea now (AIS)",
   "description": "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 …).",
   "sources": [
    "barentswatch_ais"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/ships/live"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "anyOf": [
       {
        "maximum": 85,
        "minimum": 55,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 45,
        "minimum": -15,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "radius_km": {
      "default": 10,
      "exclusiveMinimum": 0,
      "maximum": 100,
      "title": "Radius Km",
      "type": "number"
     },
     "ship_type": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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, towing, tug, wing in ground.",
      "title": "Ship Type"
     },
     "limit": {
      "default": 30,
      "maximum": 200,
      "minimum": 0,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "ShipsInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 60.4,
     "lon": 5.3,
     "radius_km": 5
    },
    {
     "limit": 0
    }
   ]
  },
  {
   "name": "shelf_fields",
   "title": "Oil and gas fields on the Norwegian shelf",
   "description": "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.",
   "sources": [
    "sodir"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/shelf/fields"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "name": {
      "anyOf": [
       {
        "maxLength": 40,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Part of a field's name.",
      "title": "Name"
     },
     "status": {
      "anyOf": [
       {
        "enum": [
         "producing",
         "shut_down",
         "approved"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Status"
     },
     "operator": {
      "anyOf": [
       {
        "maxLength": 60,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Part of the operator's name.",
      "title": "Operator"
     },
     "area": {
      "anyOf": [
       {
        "enum": [
         "North sea",
         "Norwegian sea",
         "Barents sea"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Area"
     },
     "reserves": {
      "default": true,
      "description": "Add recoverable and remaining reserves.",
      "title": "Reserves",
      "type": "boolean"
     },
     "limit": {
      "default": 50,
      "maximum": 200,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "FieldsInput",
    "type": "object"
   },
   "examples": [
    {
     "status": "shut_down"
    },
    {
     "name": "Johan Sverdrup"
    }
   ]
  },
  {
   "name": "shelf_wells",
   "title": "Wells and discoveries on the shelf, by year",
   "description": "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.",
   "sources": [
    "sodir"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/shelf/wells"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "well_type": {
      "default": "EXPLORATION",
      "enum": [
       "EXPLORATION",
       "DEVELOPMENT",
       "OTHER"
      ],
      "title": "Well Type",
      "type": "string"
     },
     "year_from": {
      "default": 2015,
      "maximum": 2100,
      "minimum": 1966,
      "title": "Year From",
      "type": "integer"
     },
     "year_to": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 1966,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Year To"
     },
     "area": {
      "anyOf": [
       {
        "enum": [
         "NORTH SEA",
         "NORWEGIAN SEA",
         "BARENTS SEA"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Area"
     }
    },
    "title": "WellsInput",
    "type": "object"
   },
   "examples": [
    {
     "year_from": 2015
    },
    {
     "area": "BARENTS SEA",
     "year_from": 2000
    }
   ]
  },
  {
   "name": "eu_legislation_search",
   "title": "Search EU legislation (EUR-Lex)",
   "description": "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.",
   "sources": [
    "eurlex"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/eu/legislation"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "description": "Words that must all be in the English title, e.g. 'batteries' or 'artificial intelligence'.",
      "maxLength": 80,
      "minLength": 3,
      "title": "Query",
      "type": "string"
     },
     "kind": {
      "default": "any",
      "enum": [
       "regulation",
       "directive",
       "decision",
       "any"
      ],
      "title": "Kind",
      "type": "string"
     },
     "since": {
      "default": "2010-01-01",
      "description": "Only acts adopted from this date.",
      "format": "date",
      "title": "Since",
      "type": "string"
     },
     "in_force_only": {
      "default": false,
      "title": "In Force Only",
      "type": "boolean"
     },
     "include_corrigenda": {
      "default": false,
      "title": "Include Corrigenda",
      "type": "boolean"
     },
     "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "required": [
     "query"
    ],
    "title": "SearchInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "batteries",
     "kind": "regulation",
     "since": "2020-01-01"
    }
   ]
  },
  {
   "name": "health_statistics_search",
   "title": "Search FHI's health statistics",
   "description": "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.",
   "sources": [
    "fhi"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/health/tables"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "query": {
      "description": "Words in the table's title or, for MSIS, a disease: 'kikhoste', 'svangerskapsavbrudd', 'influensa', 'GLP-1', 'dødsårsaker'.",
      "maxLength": 100,
      "minLength": 3,
      "title": "Query",
      "type": "string"
     },
     "source": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "One bank: abr, daar, nokkel, gs, hkr, kpr, lmr, mfr, msis, ngs, sysvak, npr, skast.",
      "title": "Source"
     },
     "limit": {
      "default": 15,
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "required": [
     "query"
    ],
    "title": "SearchInput",
    "type": "object"
   },
   "examples": [
    {
     "query": "kikhoste"
    },
    {
     "query": "svangerskapsavbrudd"
    }
   ]
  },
  {
   "name": "health_statistics_data",
   "title": "Read an FHI health statistics table",
   "description": "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.",
   "sources": [
    "fhi"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/health/data"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "source": {
      "description": "The bank, from health_statistics_search, e.g. 'msis'.",
      "title": "Source",
      "type": "string"
     },
     "table_id": {
      "title": "Table Id",
      "type": "integer"
     },
     "select": {
      "additionalProperties": {
       "items": {
        "type": "string"
       },
       "type": "array"
      },
      "description": "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.",
      "title": "Select",
      "type": "object"
     },
     "latest": {
      "default": 5,
      "description": "How many latest periods.",
      "maximum": 60,
      "minimum": 1,
      "title": "Latest",
      "type": "integer"
     }
    },
    "required": [
     "source",
     "table_id"
    ],
    "title": "DataInput",
    "type": "object"
   },
   "examples": [
    {
     "source": "msis",
     "table_id": 943,
     "select": {
      "diagnose": [
       "Campylobacteriose"
      ]
     }
    }
   ]
  },
  {
   "name": "sun_and_moon",
   "title": "Sunrise, sunset and the moon",
   "description": "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.",
   "sources": [
    "met_sunrise"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/sun"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "description": "Latitude in decimal degrees.",
      "maximum": 90,
      "minimum": -90,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "description": "Longitude in decimal degrees.",
      "maximum": 180,
      "minimum": -180,
      "title": "Lon",
      "type": "number"
     },
     "date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "Default today.",
      "title": "Date"
     },
     "utc_offset": {
      "default": "+01:00",
      "description": "Offset for the times: '+01:00' Norwegian winter time, '+02:00' summer time.",
      "pattern": "^[+-]\\d{2}:\\d{2}$",
      "title": "Utc Offset",
      "type": "string"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "SunInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 59.91,
     "lon": 10.75
    },
    {
     "lat": 69.65,
     "lon": 18.96,
     "date": "2026-12-21"
    }
   ]
  },
  {
   "name": "road_messages",
   "title": "Traffic messages: closures, road works, accidents",
   "description": "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.",
   "sources": [
    "vegvesen_datex"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/roads/messages"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "road": {
      "anyOf": [
       {
        "maxLength": 10,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "A road number: 'E6', 'E39', 'Rv7' (riksvei), 'Fv81' (fylkesvei).",
      "title": "Road"
     },
     "county": {
      "anyOf": [
       {
        "maxLength": 40,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "A county name, e.g. 'Nordland'.",
      "title": "County"
     },
     "lat": {
      "anyOf": [
       {
        "maximum": 72,
        "minimum": 57,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lat"
     },
     "lon": {
      "anyOf": [
       {
        "maximum": 32,
        "minimum": 3,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Lon"
     },
     "radius_km": {
      "default": 20,
      "exclusiveMinimum": 0,
      "maximum": 200,
      "title": "Radius Km",
      "type": "number"
     },
     "kind": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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 works, speed restriction, traffic management, vehicle obstruction, weather on the road.",
      "title": "Kind"
     },
     "active_now": {
      "default": true,
      "description": "Only messages in force now.",
      "title": "Active Now",
      "type": "boolean"
     },
     "limit": {
      "default": 30,
      "maximum": 200,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "title": "MessagesInput",
    "type": "object"
   },
   "examples": [
    {
     "road": "E6",
     "kind": "closure or lane restriction"
    }
   ]
  },
  {
   "name": "place_overview",
   "title": "Overview of a place",
   "description": "Everything Kildeverk knows about a point in Norway in one call: its municipality and county, elevation, the weather now and over the next 6 hours, when rain starts or stops in the next two hours (radar nowcast), weather, flood and landslide warnings in force, the nearest public transport stops and named places nearby, plus ready-made follow-up calls. Parts that fail become notes.",
   "sources": [
    "kartverket",
    "met_locationforecast",
    "met_nowcast",
    "met_metalerts",
    "nve_varsom",
    "entur_geocoder"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/places/overview"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "lat": {
      "maximum": 72,
      "minimum": 57,
      "title": "Lat",
      "type": "number"
     },
     "lon": {
      "maximum": 32,
      "minimum": 4,
      "title": "Lon",
      "type": "number"
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "title": "PlaceOverviewInput",
    "type": "object"
   },
   "examples": [
    {
     "lat": 60.3913,
     "lon": 5.3221
    }
   ]
  },
  {
   "name": "municipality_profile",
   "title": "Profile of a municipality",
   "description": "One Norwegian municipality from several sources at once: population and how it changed (SSB), registered companies and the largest employers (Brønnøysund), with their latest revenue and result (Regnskapsregisteret), schools by level and ownership (Udir), traffic counting points (Statens vegvesen), electricity use per inhabitant and installed production capacity over the last week (Elhub), and weather, flood and landslide warnings in force. Accepts today's code, a code from before the 2020 or 2024 reforms, or a name.",
   "sources": [
    "ssb_klass",
    "ssb_statbank",
    "brreg",
    "udir_nsr",
    "vegvesen_traffic",
    "nve_varsom",
    "met_metalerts",
    "elhub",
    "brreg_accounts"
   ],
   "http": {
    "method": "GET",
    "path": "/v1/municipalities/{municipality}/profile"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "municipality": {
      "description": "A municipality code, old or current ('1201', '4601'), or a name ('Bergen').",
      "maxLength": 60,
      "minLength": 2,
      "title": "Municipality",
      "type": "string"
     },
     "employer_accounts": {
      "default": true,
      "description": "Give the largest employers' latest revenue and result (one call each).",
      "title": "Employer Accounts",
      "type": "boolean"
     }
    },
    "required": [
     "municipality"
    ],
    "title": "MunicipalityProfileInput",
    "type": "object"
   },
   "examples": [
    {
     "municipality": "4601"
    },
    {
     "municipality": "1201"
    },
    {
     "municipality": "Tromsø"
    }
   ]
  },
  {
   "name": "compare_municipalities",
   "title": "Compare municipalities",
   "description": "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.",
   "sources": [
    "ssb_klass",
    "ssb_statbank",
    "brreg",
    "udir_nsr",
    "vegvesen_traffic",
    "nve_varsom",
    "met_metalerts",
    "elhub"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/municipalities/compare"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "municipalities": {
      "description": "Two to five codes (old or current) or names, e.g. ['Bergen', '0301'].",
      "items": {
       "type": "string"
      },
      "maxItems": 5,
      "minItems": 2,
      "title": "Municipalities",
      "type": "array"
     }
    },
    "required": [
     "municipalities"
    ],
    "title": "CompareInput",
    "type": "object"
   },
   "examples": [
    {
     "municipalities": [
      "Bergen",
      "Trondheim",
      "Stavanger"
     ]
    }
   ]
  },
  {
   "name": "statistics_series",
   "title": "A statistic over time for one region",
   "description": "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.",
   "sources": [
    "ssb_statbank",
    "ssb_klass"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/statistics/series"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "table_id": {
      "description": "SSB table, e.g. '07459'.",
      "pattern": "^\\d{5}$",
      "title": "Table Id",
      "type": "string"
     },
     "region": {
      "description": "'0' for Norway, a county or municipality code (old or current), or a name.",
      "maxLength": 60,
      "minLength": 1,
      "title": "Region",
      "type": "string"
     },
     "measure": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "The ContentsCode value, when the table has more than one measure.",
      "title": "Measure"
     },
     "filters": {
      "additionalProperties": {
       "items": {
        "type": "string"
       },
       "type": "array"
      },
      "description": "Codes for the table's other dimensions, e.g. {'Kjonn': ['2']}. Dimensions left out are summed where SSB allows it.",
      "title": "Filters",
      "type": "object"
     },
     "from_year": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 1800,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "From Year"
     },
     "to_year": {
      "anyOf": [
       {
        "maximum": 2100,
        "minimum": 1800,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "To Year"
     },
     "measure_kind": {
      "anyOf": [
       {
        "enum": [
         "additive",
         "non_additive"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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 renumberings only. Leave out to get the region's own series as published.",
      "title": "Measure Kind"
     }
    },
    "required": [
     "table_id",
     "region"
    ],
    "title": "SeriesInput",
    "type": "object"
   },
   "examples": [
    {
     "table_id": "07459",
     "region": "Tromsø",
     "from_year": 2010
    },
    {
     "table_id": "07459",
     "region": "46",
     "filters": {
      "Kjonn": [
       "2"
      ]
     }
    }
   ]
  },
  {
   "name": "statistics_rank",
   "title": "Rank municipalities or counties on a statistic",
   "description": "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.",
   "sources": [
    "ssb_statbank",
    "ssb_klass"
   ],
   "http": {
    "method": "POST",
    "path": "/v1/statistics/rank"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {
     "table_id": {
      "description": "SSB table, e.g. '07459'.",
      "pattern": "^\\d{5}$",
      "title": "Table Id",
      "type": "string"
     },
     "level": {
      "default": "municipality",
      "enum": [
       "municipality",
       "county"
      ],
      "title": "Level",
      "type": "string"
     },
     "measure": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "ContentsCode, when there are several.",
      "title": "Measure"
     },
     "filters": {
      "additionalProperties": {
       "items": {
        "type": "string"
       },
       "type": "array"
      },
      "description": "Codes for the table's other dimensions.",
      "title": "Filters",
      "type": "object"
     },
     "period": {
      "anyOf": [
       {
        "maxLength": 10,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "e.g. '2025'. Defaults to the latest.",
      "title": "Period"
     },
     "compare_to": {
      "anyOf": [
       {
        "maxLength": 10,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "An earlier period. Adds the change to each row and ranks by it.",
      "title": "Compare To"
     },
     "order": {
      "default": "highest",
      "enum": [
       "highest",
       "lowest"
      ],
      "title": "Order",
      "type": "string"
     },
     "min_value": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "description": "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.",
      "title": "Min Value"
     },
     "limit": {
      "default": 10,
      "maximum": 400,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
     }
    },
    "required": [
     "table_id"
    ],
    "title": "RankInput",
    "type": "object"
   },
   "examples": [
    {
     "table_id": "07459",
     "limit": 5
    },
    {
     "table_id": "07459",
     "compare_to": "2015",
     "limit": 5
    },
    {
     "table_id": "07459",
     "level": "county",
     "order": "lowest"
    }
   ]
  },
  {
   "name": "cite_sources",
   "title": "Citations for a result",
   "description": "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.",
   "sources": [],
   "http": {
    "method": "POST",
    "path": "/v1/cite"
   },
   "input_schema": {
    "$defs": {
     "CacheInfo": {
      "properties": {
       "hit": {
        "title": "Hit",
        "type": "boolean"
       },
       "age_s": {
        "description": "Seconds since the upstream response was retrieved.",
        "title": "Age S",
        "type": "number"
       },
       "stale": {
        "default": false,
        "description": "True when upstream failed and an expired cached copy was served instead.",
        "title": "Stale",
        "type": "boolean"
       }
      },
      "required": [
       "hit",
       "age_s"
      ],
      "title": "CacheInfo",
      "type": "object"
     },
     "Licence": {
      "properties": {
       "id": {
        "description": "Short identifier, e.g. CC-BY-4.0 or NLOD-2.0.",
        "title": "Id",
        "type": "string"
       },
       "name": {
        "title": "Name",
        "type": "string"
       },
       "url": {
        "title": "Url",
        "type": "string"
       }
      },
      "required": [
       "id",
       "name",
       "url"
      ],
      "title": "Licence",
      "type": "object"
     },
     "Provenance": {
      "properties": {
       "source_id": {
        "title": "Source Id",
        "type": "string"
       },
       "source_name": {
        "title": "Source Name",
        "type": "string"
       },
       "publisher": {
        "title": "Publisher",
        "type": "string"
       },
       "title": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "What was fetched, in a few words.",
        "title": "Title"
       },
       "licence": {
        "$ref": "#/$defs/Licence"
       },
       "request": {
        "$ref": "#/$defs/UpstreamRequest"
       },
       "retrieved_at": {
        "description": "When the upstream response was retrieved, in UTC.",
        "format": "date-time",
        "title": "Retrieved At",
        "type": "string"
       },
       "cache": {
        "$ref": "#/$defs/CacheInfo"
       },
       "citation": {
        "description": "Ready-to-paste citation line.",
        "title": "Citation",
        "type": "string"
       }
      },
      "required": [
       "source_id",
       "source_name",
       "publisher",
       "licence",
       "request",
       "retrieved_at",
       "cache",
       "citation"
      ],
      "title": "Provenance",
      "type": "object"
     },
     "UpstreamRequest": {
      "properties": {
       "method": {
        "title": "Method",
        "type": "string"
       },
       "url": {
        "description": "The exact request URL sent upstream, query string included.",
        "title": "Url",
        "type": "string"
       },
       "body": {
        "anyOf": [
         {},
         {
          "type": "null"
         }
        ],
        "default": null,
        "title": "Body"
       }
      },
      "required": [
       "method",
       "url"
      ],
      "title": "UpstreamRequest",
      "type": "object"
     }
    },
    "additionalProperties": false,
    "properties": {
     "provenance": {
      "description": "The `provenance` list of any Kildeverk result, as it came back.",
      "items": {
       "$ref": "#/$defs/Provenance"
      },
      "maxItems": 200,
      "minItems": 1,
      "title": "Provenance",
      "type": "array"
     },
     "style": {
      "default": "both",
      "enum": [
       "bibtex",
       "csl_json",
       "both"
      ],
      "title": "Style",
      "type": "string"
     }
    },
    "required": [
     "provenance"
    ],
    "title": "CiteInput",
    "type": "object"
   },
   "examples": [
    {
     "provenance": [
      {
       "source_id": "ssb_statbank",
       "source_name": "SSB Statbank",
       "publisher": "Statistics Norway (SSB)",
       "title": "Statbank table 07459: Population, by region and year",
       "licence": {
        "id": "CC-BY-4.0",
        "name": "Creative Commons Attribution 4.0 International",
        "url": "https://creativecommons.org/licenses/by/4.0/"
       },
       "request": {
        "method": "GET",
        "url": "https://data.ssb.no/api/pxwebapi/v2/tables/07459/data?lang=en",
        "body": null
       },
       "retrieved_at": "2026-10-28T07:02:11Z",
       "cache": {
        "hit": false,
        "age_s": 0.0,
        "stale": false
       },
       "citation": "Statistics Norway (SSB): Statbank table 07459. Retrieved 2026-10-28."
      }
     ],
     "style": "bibtex"
    }
   ]
  },
  {
   "name": "sources_list",
   "title": "List data sources",
   "description": "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.",
   "sources": [],
   "http": {
    "method": "GET",
    "path": "/v1/sources"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {},
    "title": "NoInput",
    "type": "object"
   },
   "examples": []
  },
  {
   "name": "service_status",
   "title": "Service status",
   "description": "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.",
   "sources": [],
   "http": {
    "method": "GET",
    "path": "/v1/status"
   },
   "input_schema": {
    "additionalProperties": false,
    "properties": {},
    "title": "NoInput",
    "type": "object"
   },
   "examples": []
  }
 ]
}