GnistAI GnistAI
Log in

NVE Flood Warnings (Norway)

Norwegian flood warnings from NVE — current county-level risk assessments, regional details with municipalities, and detailed flood warnings with severity levels (green/yellow/orange/red).

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Environment

Data source: NVE (Norwegian Water Resources and Energy Directorate)

REST Bridge Endpoint https://context.gnist.ai/rest/nve-flood/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

get_county_overview

Get current flood warning levels for all Norwegian counties.

Returns a summary of flood risk across Norway with activity levels
(1=green/safe, 2=yellow/moderate, 3=orange/significant, 4=red/extreme).
Use this to quickly check if any part of Norway has elevated flood risk.

Returns:
County list with activity levels, plus count of counties with elevated warnings.

Request Body
{
  "query": "example"
}
get_region_details

Get municipalities and active warnings for a Norwegian county.

Drill down into a specific county to see which municipalities are affected
and what warnings are active.

Returns:
Region details with municipality list and any active warnings.

ParameterTypeRequiredDescription
county_idstringrequiredNorwegian county ID (e.g. '03' for Oslo, '46' for Vestland, '50' for Trøndelag).
Request Body
{
  "county_id": "example"
}
get_flood_warnings

Get flood warnings for Norway, optionally filtered by county or municipality.

Returns detailed flood warnings from the Norwegian Water Resources and Energy
Directorate (NVE). Warnings include activity level, affected areas, and
descriptive text explaining the flood risk.

Activity levels: 1=green (safe), 2=yellow (moderate), 3=orange (significant), 4=red (extreme).

Returns:
List of flood warnings with severity, affected areas, and validity period.

ParameterTypeRequiredDescription
county_idanyoptionalFilter by county ID (e.g. '46' for Vestland). Omit for all of Norway.
municipality_idanyoptionalFilter by municipality ID (e.g. '0301' for Oslo). Overrides county_id if set.
start_dateanyoptionalStart date in YYYY-MM-DD format. Defaults to today.
end_dateanyoptionalEnd date in YYYY-MM-DD format. Defaults to 3 days from today.
Request Body
{
  "query": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/nve-flood/get_region_details" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"county_id": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/nve-flood/get_region_details",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "county_id": "example"
},
)
print(resp.json())

Related Toolkits (Environment)

Resources