Velkommen til api.met.no

English version.

api.met.no/weatherapi er et grensesnitt mot et utvalg av data fra Meteorologisk institutt. Dataene er fritt tilgjengelige for bruk under disse betingelsene. Se også egne vilkår for bruk av tjenesten.

Alle jevnlige brukere av API anbefales på det sterkeste å abonnere på vår epostliste for API-brukere siden dette er den eneste kanalen vi vil kommunisere planlagte endringer på utenom websidene (se arkivet for tidligere meldinger).

For driftsstatus and vedlikeholdsmeldinger, se status.met.no (vennligst lag bokmerke i tilfelle siten er utilgjengelig).

For informasjon over hvilke data som er tilgjengelig, samt hvordan disse kan brukes, se dokumentasjonen (engelsk tekst).

Data som eies av andre enn Meteorologisk institutt er ikke tilgjengelig for allmenn bruk. Dette står spesifisert i dokumentasjonen for hvert enkelt produkt. Denne problemstillingen gjelder spesielt radarbildet over Norden og satellittbildene. Les dokumentasjonen for hvert enkelt produkt før bruk.

Tilgjengelige produkter:

Errornotifications 1.0
Errornotifications - Error notifications from the WeatherAPI system
Extremeforecast
Extremeforecast - Textual extreme forecast.
ExtremesWWC 1.2
ExtremesWWC - The Wettest, Warmest and Coldest places
Forestfireindex 1.1
ForestfireIndex - Reporting danger level of forest fires.
Geosatellite 1.4
Geosatellite - Images from geostationary satellites
Gribfiles 1.1
Gribfiles - Serve grib files on the coast from Oslo and Western Norway
Icemap 1.0
Icemap - Maps as images showing current ice conditions in the arctic regions.
Lightning 1.0
Lightning - lightning data delivered in UALF
Locationforecast 1.9
Locationforecast - Weather forecast for a specified place
LocationforecastLTS 1.3
LocationforecastLTS - Weather forecast for a specified place, long term support.
MetAlerts 1.1
MetAlerts - Weather alerts from the Norwegian Meteorological Institute
Metgm 1.0
Metgm - Deliver meteorological forecast data in METGM format for defined areas
Mountaineasterobservations
Mountaineasterobservations - manual observations from DNT mountain cabins during easter.
NLAroutes 1.0
NLAroutes - Vertical cross sections for flight routes
Nowcast 0.9
Nowcast - Nowcast for a specified place.
Oceanforecast 0.9
Oceanforecast - Ocean forecast for a specified place
Polarsatellite 1.1
Polarsatellite - Images from satellites in polar orbit
Probabilityforecast 1.1
Probabilityforecast - Probability forecast for a specified place
Radar 1.5
Radar - Radar images from various locations
Radarlightning 1.1
Radarlightning - Radar images from various locations
Sigmets 1.0
Sigmets - Get sigmets and airmets for Norway
Spotwind 1.0
Spotwinds - Spotwinds in XML
Subjectiveforecast 1.0
Subjectiveforecast - Forecasts and analyses charts from the meteorologist
Sunrise 1.1
Sunrise - When does the sun rise and set for a given place?
Tafmetar 1.0
Tafmetar - Receive Taf/Metar from airports
Temperatureverification 1.0
Temperatureverification - Verification of temperature forecast.
Textforecast 1.6
Textforecast - Textual weather forecast for all parts of the country
Textlocation 1.0
Textlocation - All available textual forecasts for a given point.
Tidalwater 1.1
Tidalwater - Tidal water information
Turbulence 1.1
Turbulence - Turbulence prognosis
UVforecast 1.0
UVforecast - A prognosis of UV radiation
Upperwindweather 1.1
Upperwindweather - Upperlevel wind and weather charts
VerticalProfile 1.1
Verticalprofile - Vertical profiles of wind and weather
Weathericon 1.1
Weathericon - deliver weather icons.

Nyheter

Planned maintainance and discontinuation of old domains 2018-05-09

On Monday May 14th, 2018 from 07:00 to 13:00 UTC we will be running at 50% capacity due to replacement of the cooling system in one of our data centers. All services are expected to continue running, but latency times and timeout errors may increase due to reduced capacity.

Also, as has been noted earlier, the domains api.yr.no and beta.api.met.no will be turned off on June 11th, 2018. Please switch your systems to use api.met.no instead.

Migration completed 2018-02-26

As most of you probably have noticed, we upgraded api.met.no about A week ago to the new version. After some initial performance problems we managed to tune the caches so it is now handling traffic well.

Some users have reported problems accessing the API, mostly related to not handling HTTPS and/or redirects. If you are getting "Failed to get data from weather api. Reason: end tag name </body> must match start tag name <hr> from line 5" this means you are trying to parse the HTML message as XML instead of following the 301 redirect. We are also working on recommendations for users using HTTPS via local proxies.

In order to ensure stability of our own services, we have also introduced traffic rate limiting (and in some extreme cases, blocking) for some users not abiding by our terms of use. If you are receiving 429 status codes it means you are being throttled, either due to a missing/generic User-Agent header and/or excessive traffic (>20r/s).

Finally, we have noticed there is a lot of production traffic against beta.api.met.no (which was only to be used for testing) as well as api.yr.no (which has been deprecated for years). We would like to inform you that these hostnames will be removed within a few months, so please update your applications accordingly.

Endringslogg

Textforecast: gale and obs removed, 2018-06-07

gale* and obs* are no longer permitted values in the forecast parameter

Textlocation: type parameter removed, 2018-06-07

Since there is no longer any types to filter on, the type parameter has now been removed.

Extremeforecast: End of life, 2018-05-01

Discontinuation of extremeforecast has been postponed until June 1st, 2018.

Sunrise: version 2.0 beta: 2018-04-25

XML format trimmed, toned and beefed up, date and offset params are now mandatory. Expected to go into production in beginning of May.

Textlocation: discontinuation of flood warnings, 2018-04-05

Since NVE now offers flood warnings in standard CAP format via their API, there is no longer any requirement for the MET API to offer these in our proprietary format. As such they will no longer be issued, and the type parameter will be removed in a later update.

To download flood warnings in CAP format, please visit the NVE API at .

Mountaineasterobservations: version 1.0 : 2018-03-26

As of 2018 this product is no longer being produced. The service will be removed from the API on June 1st.

Andre datakilder ved Meteorologisk institutt

Se frie meteorologiske data på met.no for en komplett liste over tilgjengelige for data nedlasting.

Kontakt

Ved spørsmål om rettigheter og bruk av data, se vår Licensing and Data Policy. Tekniske spørsmål kan stilles til teknisk kontakt.