{"id":"weather","name":"Weather and natural hazards","description":"Current weather, forecasts, history, tides, sea levels, floods and avalanche hazards.","documentation":null,"operations":[{"name":"get_current_weather","description":"Get current weather conditions for a coordinate in or near Norway.","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)"},{"name":"lon","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Longitude in decimal degrees (e.g. 6.49)"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_current_weather?lat={lat}&lon={lon}&limit=25&offset=0","output_fields":["time","temperature_c","humidity_pct","wind_speed_ms","wind_direction_deg","pressure_hpa","precipitation_next_1h_mm","symbol"],"output_fields_truncated":false,"canonical_field_aliases":{"timestamp":["time"],"temperature_c":["temperature_c"],"speed_m_s":["wind_speed_ms"]},"temporal_conventions":{"timezone":"UTC","join_guidance":"The time field is UTC (Z). Join it to other sources only after comparing absolute instants or converting both sides to UTC.","utc_fields":["time"]},"description_language":"en","documentation":"Get current weather conditions for a coordinate in or near Norway.\n\nArgs:\n    lat: Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)\n    lon: Longitude in decimal degrees (e.g. 6.49)\n\nReturns temperature (C), humidity (%), wind speed (m/s),\nwind direction (deg), pressure (hPa) and precipitation (mm next hour).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/weather/get_current_weather/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/weather/get_current_weather/?lat={lat}&lon={lon}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_current_weather","response_schema":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"temperature_c":{"type":["number","null"]},"humidity_pct":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"wind_speed_ms":{"type":["number","null"]},"wind_direction_deg":{"type":["number","null"]},"pressure_hpa":{"type":["number","null"]},"precipitation_next_1h_mm":{"type":["number","null"]},"symbol":{"type":["string","null"]}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_current_weather/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_current_weather","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_current_weather?lat={lat}&lon={lon}&limit=25&offset=0"},{"name":"get_forecast","description":"Get the upcoming hourly weather forecast for a coordinate in or near Norway.","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)"},{"name":"lon","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Longitude in decimal degrees (e.g. 6.49)"},{"name":"hours","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":24,"description":"Number of hours ahead to include (1 to 48, default 24)"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_forecast?lat={lat}&lon={lon}&hours=24&limit=25&offset=0","output_fields":["[].time","[].temperature_c","[].wind_speed_ms","[].precipitation_mm","[].symbol"],"output_fields_truncated":false,"canonical_field_aliases":{"timestamp":["[].time"],"temperature_c":["[].temperature_c"],"speed_m_s":["[].wind_speed_ms"]},"temporal_conventions":{"timezone":"UTC","join_guidance":"The time field is UTC (Z). Join it to other sources only after comparing absolute instants or converting both sides to UTC.","utc_fields":["time"]},"description_language":"en","documentation":"Get the upcoming hourly weather forecast for a coordinate in or near Norway.\n\nUse this for \"what will the weather be\", \"will it rain tomorrow\",\n\"how cold will it get tonight\", or any question about future weather\nhours or days ahead. For right-now conditions use get_current_weather\ninstead; for past weather use get_historical_weather.\n\nArgs:\n    lat: Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)\n    lon: Longitude in decimal degrees (e.g. 6.49)\n    hours: Number of hours ahead to include (1 to 48, default 24)\n\nReturns a list of hourly entries, one per hour, each with:\n    time: ISO 8601 timestamp (UTC)\n    temperature_c: air temperature in Celsius\n    wind_speed_ms: wind speed in m/s\n    precipitation_mm: expected precipitation in the following hour\n    symbol: MET weather symbol code (e.g. \"partlycloudy_day\", \"rain\")\n\nUseful for heat-loss / energy planning: cold + wind = expensive doors.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/weather/get_forecast/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/weather/get_forecast/?lat={lat}&lon={lon}&hours=24&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_forecast","response_schema":{"type":"array","items":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"temperature_c":{"type":["number","null"]},"wind_speed_ms":{"type":["number","null"]},"precipitation_mm":{"type":["number","null"]},"symbol":{"type":["string","null"]}},"additionalProperties":false}},"response_schema_status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_forecast/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_forecast","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_forecast?lat={lat}&lon={lon}&hours=24&limit=25&offset=0"},{"name":"get_historical_weather","description":"Get daily historical weather for a coordinate.","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)"},{"name":"lon","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Longitude in decimal degrees (e.g. 6.49)"},{"name":"start_date","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"First day, \"YYYY-MM-DD\"."},{"name":"end_date","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"Last day, \"YYYY-MM-DD\"."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_historical_weather?lat={lat}&lon={lon}&start_date={start_date}&end_date={end_date}&limit=25&offset=0","output_fields":["[].date","[].temp_min_c","[].temp_mean_c","[].temp_max_c","[].precipitation_mm","[].wind_speed_max_ms"],"output_fields_truncated":false,"canonical_field_aliases":{"date":["[].date"]},"description_language":"en","documentation":"Get daily historical weather for a coordinate.\n\nArgs:\n    lat: Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)\n    lon: Longitude in decimal degrees (e.g. 6.49)\n    start_date: First day, \"YYYY-MM-DD\".\n    end_date: Last day, \"YYYY-MM-DD\".\n\nData is ERA5 reanalysis from Open-Meteo, available from 1940 up to\nabout 5 days ago. Returns one entry per day with min/mean/max\ntemperature (C), total precipitation (mm) and max wind speed (m/s).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/weather/get_historical_weather/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/weather/get_historical_weather/?lat={lat}&lon={lon}&start_date={start_date}&end_date={end_date}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_historical_weather","response_schema":{"type":"array","items":{"type":"object","properties":{"date":{"type":["string","null"],"format":"date"},"temp_min_c":{"type":["number","null"]},"temp_mean_c":{"type":["number","null"]},"temp_max_c":{"type":["number","null"]},"precipitation_mm":{"type":["number","null"]},"wind_speed_max_ms":{"type":["number","null"]}},"additionalProperties":false}},"response_schema_status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_historical_weather/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_historical_weather","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_historical_weather?lat={lat}&lon={lon}&start_date={start_date}&end_date={end_date}&limit=25&offset=0"},{"name":"get_tide_forecast","description":"Get the tide and sea-level forecast (\"havniv\u00e5\") for a coordinate on or\nnear the Norwegian coast, from Kartverket.","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate. Must be near the Norwegian coast (fjords included); inland positions raise an error."},{"name":"lon","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate. Must be near the Norwegian coast (fjords included); inland positions raise an error."},{"name":"hours","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":48,"description":"Hours ahead to include (default 48)."},{"name":"refcode","type":"string","schema":{"type":"string"},"display_type":"string","required":false,"default":"msl","description":"Reference level for the values: \"msl\" (mean sea level, default), \"cd\" (chart datum) or \"nn2000\"."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_forecast?lat={lat}&lon={lon}&hours=48&refcode=msl&limit=25&offset=0","output_fields":["[].tide_request","[].lat","[].lon","[].fromtime","[].totime","[].datatype","[].interval","[].refcode"],"output_fields_truncated":false,"canonical_field_aliases":{"latitude":["[].lat"],"longitude":["[].lon"],"timestamp":["[].fromtime","[].totime"]},"description_language":"en","documentation":"Get the tide and sea-level forecast (\"havniv\u00e5\") for a coordinate on or\nnear the Norwegian coast, from Kartverket.\n\nArgs:\n    lat, lon: Coordinate. Must be near the Norwegian coast (fjords\n        included); inland positions raise an error.\n    hours: Hours ahead to include (default 48).\n    refcode: Reference level for the values: \"msl\" (mean sea level,\n        default), \"cd\" (chart datum) or \"nn2000\".\n\nReturns one hourly entry per hour with:\n    time: ISO 8601 timestamp (UTC)\n    tide_cm: pure astronomical tide prediction\n    sea_level_cm: forecast water level including the weather effect\n    surge_cm: sea_level_cm minus tide_cm - the storm-surge contribution\n\nA large positive surge_cm signals storm-surge / flooding risk; compare\nsea_level_cm against get_sea_level_extremes for context.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/weather/get_tide_forecast/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/weather/get_tide_forecast/?lat={lat}&lon={lon}&hours=48&refcode=msl&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_forecast","response_schema":{"type":"array","items":{"type":"object","properties":{"tide_request":{"type":"string"},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"fromtime":{"type":"string"},"totime":{"type":"string"},"datatype":{"type":"string"},"interval":{"type":"integer"},"refcode":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_forecast/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_forecast","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_forecast?lat={lat}&lon={lon}&hours=48&refcode=msl&limit=25&offset=0"},{"name":"get_tide_table","description":"Get the tide table (\"tidevannstabell\") - high and low water times - for\na coordinate on or near the Norwegian coast, from Kartverket.","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate. Must be near the Norwegian coast."},{"name":"lon","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate. Must be near the Norwegian coast."},{"name":"days","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":7,"description":"Days ahead to include (default 7)."},{"name":"refcode","type":"string","schema":{"type":"string"},"display_type":"string","required":false,"default":"msl","description":"Reference level: \"msl\" (default), \"cd\" or \"nn2000\"."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_table?lat={lat}&lon={lon}&days=7&refcode=msl&limit=25&offset=0","output_fields":["[].time","[].height_cm","[].kind"],"output_fields_truncated":false,"canonical_field_aliases":{"timestamp":["[].time"]},"description_language":"en","documentation":"Get the tide table (\"tidevannstabell\") - high and low water times - for\na coordinate on or near the Norwegian coast, from Kartverket.\n\nArgs:\n    lat, lon: Coordinate. Must be near the Norwegian coast.\n    days: Days ahead to include (default 7).\n    refcode: Reference level: \"msl\" (default), \"cd\" or \"nn2000\".\n\nReturns one entry per high/low tide: time (ISO 8601 UTC), height_cm and\nkind (\"high\" or \"low\").","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/weather/get_tide_table/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/weather/get_tide_table/?lat={lat}&lon={lon}&days=7&refcode=msl&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_table","response_schema":{"type":"array","items":{"type":"object","properties":{"time":{"type":["string","null"],"format":"date-time"},"height_cm":{"type":"number"},"kind":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_table/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_table","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_tide_table?lat={lat}&lon={lon}&days=7&refcode=msl&limit=25&offset=0"},{"name":"get_sea_level_extremes","description":"Get reference sea levels for a coordinate on or near the Norwegian\ncoast: astronomical tide extremes and statistical storm-surge return\nlevels, from Kartverket.","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate. Must be near the Norwegian coast."},{"name":"lon","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate. Must be near the Norwegian coast."},{"name":"refcode","type":"string","schema":{"type":"string"},"display_type":"string","required":false,"default":"msl","description":"Reference level the values are given relative to: \"msl\" (mean sea level, default), \"cd\" (chart datum) or \"nn2000\"."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_sea_level_extremes?lat={lat}&lon={lon}&refcode=msl&limit=25&offset=0","output_fields":["location","levels","levels[].code","levels[].name","levels[].value_cm","levels[].type"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["levels[].code"],"name":["levels[].name"]},"description_language":"en","documentation":"Get reference sea levels for a coordinate on or near the Norwegian\ncoast: astronomical tide extremes and statistical storm-surge return\nlevels, from Kartverket.\n\nArgs:\n    lat, lon: Coordinate. Must be near the Norwegian coast.\n    refcode: Reference level the values are given relative to: \"msl\"\n        (mean sea level, default), \"cd\" (chart datum) or \"nn2000\".\n\nLevels include HAT/LAT (highest/lowest astronomical tide) and storm-surge\nreturn levels (\"1YMAX\"..\"1000YMAX\" - high water occurring on average\nevery 1-1000 years). Compare a sea_level_cm from get_tide_forecast\nagainst these to judge how unusual it is.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/weather/get_sea_level_extremes/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/weather/get_sea_level_extremes/?lat={lat}&lon={lon}&refcode=msl&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_sea_level_extremes","response_schema":{"type":"object","properties":{"location":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"levels":{"type":"array","items":{"type":"object","properties":{"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"name":{"type":["string","null"]},"value_cm":{"type":"number"},"type":{"type":["string","null"]}},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_sea_level_extremes/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_sea_level_extremes","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_sea_level_extremes?lat={lat}&lon={lon}&refcode=msl&limit=25&offset=0"},{"name":"get_avalanche_warnings","description":"Get the official avalanche danger warnings (\"sn\u00f8skredvarsel\") for a\ncoordinate in Norway, from NVE's Varsom forecast (varsom.no).","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate in decimal degrees."},{"name":"lon","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate in decimal degrees."},{"name":"days","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":2,"description":"Days ahead to include (0 to 7, default 2). Forecasts are normally published for today plus two days."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_avalanche_warnings?lat={lat}&lon={lon}&days=2&limit=25&offset=0","output_fields":["[].region","[].valid_from","[].valid_to","[].danger_level","[].danger_level_name","[].main_text"],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"Get the official avalanche danger warnings (\"sn\u00f8skredvarsel\") for a\ncoordinate in Norway, from NVE's Varsom forecast (varsom.no).\n\nArgs:\n    lat, lon: Coordinate in decimal degrees.\n    days: Days ahead to include (0 to 7, default 2). Forecasts are\n        normally published for today plus two days.\n\nReturns one entry per day with region, danger_level (0-5),\ndanger_level_name (Low/Moderate/Considerable/High/Extreme) and\nmain_text. Outside the forecasting season (roughly December-May)\nthe level is 0, \"No rating\".","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/weather/get_avalanche_warnings/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/weather/get_avalanche_warnings/?lat={lat}&lon={lon}&days=2&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_avalanche_warnings","response_schema":{"type":"array","items":{"type":"object","properties":{"region":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"valid_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"valid_to":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"danger_level":{"type":"integer"},"danger_level_name":{"type":["string","null"]},"main_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_avalanche_warnings/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_avalanche_warnings","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_avalanche_warnings?lat={lat}&lon={lon}&days=2&limit=25&offset=0"},{"name":"get_flood_warnings","description":"Get the official flood warnings (\"flomvarsel\") for a coordinate in\nNorway, from NVE's Varsom forecast (varsom.no).","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate in decimal degrees. Must be inside a Norwegian municipality; other points raise an error."},{"name":"lon","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Coordinate in decimal degrees. Must be inside a Norwegian municipality; other points raise an error."},{"name":"days","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":2,"description":"Days ahead to include (0 to 7, default 2)."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_flood_warnings?lat={lat}&lon={lon}&days=2&limit=25&offset=0","output_fields":["municipality","municipality_number","warnings","warnings[].level","warnings[].level_name","warnings[].danger_type","warnings[].valid_from","warnings[].valid_to","warnings[].main_text","warnings[].warning_text","warnings[].advice_text","warnings[].consequence_text"],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"Get the official flood warnings (\"flomvarsel\") for a coordinate in\nNorway, from NVE's Varsom forecast (varsom.no).\n\nArgs:\n    lat, lon: Coordinate in decimal degrees. Must be inside a\n        Norwegian municipality; other points raise an error.\n    days: Days ahead to include (0 to 7, default 2).\n\nReturns the municipality the coordinate falls in and its warnings,\neach with level (1-4), level_name (green/yellow/orange/red),\ndanger_type, validity and the warning/advice/consequence texts.\nGreen (level 1) means no flood danger.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/weather/get_flood_warnings/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/weather/get_flood_warnings/?lat={lat}&lon={lon}&days=2&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_flood_warnings","response_schema":{"type":"object","properties":{"municipality":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"municipality_number":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"warnings":{"type":"array","items":{"type":"object","properties":{"level":{"type":"integer"},"level_name":{"type":["string","null"]},"danger_type":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"valid_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"valid_to":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"main_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"warning_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"advice_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"consequence_text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_flood_warnings/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_flood_warnings","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/get_flood_warnings?lat={lat}&lon={lon}&days=2&limit=25&offset=0"}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/weather/{operation}/schema","related_sources":[{"id":"frost","name":"Frost historical weather and climate","reason":"Measured historical observations and climate normals from the same provider's stations.","api":"https://allemannsdata.com/wiki/api/v1/kilder/frost","wiki":"https://allemannsdata.com/wiki/kilder/frost/"},{"id":"nve","name":"NVE HydAPI","reason":"Hydrological stations behind the flood picture, from the agency operating Varsom.","api":"https://allemannsdata.com/wiki/api/v1/kilder/nve","wiki":"https://allemannsdata.com/wiki/kilder/nve/"},{"id":"luftkvalitet","name":"Air quality","reason":"Air measurements and forecasts for the same coordinate.","api":"https://allemannsdata.com/wiki/api/v1/kilder/luftkvalitet","wiki":"https://allemannsdata.com/wiki/kilder/luftkvalitet/"}],"_meta":{"retrieved_at":"2026-08-02T14:01:29Z","language":"en","content_languages":["en"],"sources":[{"id":"weather","name":"Weather and natural hazards","description":"Current weather, forecasts, history, tides, sea levels, floods and avalanche hazards.","cache_ttl_seconds":60}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/weather","names":"https://allemannsdata.com/wiki/api/v1/kilder/weather?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/weather?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/weather","wiki":"https://allemannsdata.com/wiki/kilder/weather/"}}
