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. Det finnes mange tredjepartsbiblioteker for tjenesten i forskjellige programmeringsspråk.

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:

Alerts

Airqualityforecast 0.1
Forecast of air-quality for locations in Norway
Forestfireindex 1.1
Reporting danger level of forest fires.
MetAlerts 1.1
Weather alerts from the Norwegian Meteorological Institute
UVforecast
A prognosis of UV radiation

Astronomy 🌣

Sunrise 2.0
Calculate sun/moon rise/set for a given place

Aviation

Aviationforecast 1.6
Textual aviation weather forecasts
NLAroutes 1.0
Vertical cross sections for flight routes
Routeforecast 1.0
Maps and vertical cross sections for offshore flight routes
Sigcharts 1.0
Significant Weather Charts for aviation
Sigmets 1.0
Get sigmets and airmets for Norway
Spotwind 1.1
Spotwinds in XML
Tafmetar 1.0
Receive Taf/Metar from airports
Turbulence 1.1
Turbulence prognosis
Upperwindweather 1.1
Upperlevel wind and weather charts
VerticalProfile 1.1
Vertical profiles of wind and weather
Volcanicashforecast 0.1
Norwegian national volcanic ash products including forecast

Lightning

Radar 1.5
Radar images from various locations

Marine

Gribfiles 1.1
Serve grib files on the coast from Oslo and Western Norway
Icemap 1.0
Maps as images showing current ice conditions in the arctic regions.
Oceanforecast 0.9
Ocean forecast for a specified place
Soundprofile 1.0
Vertical profiles in the ocean off the Norwegian coast
Textforecast 2.0
Textual weather forecast for Norwegian land and sea areas
Tidalwater 1.1
Tidal water information

Military

Metgc 1.0
Deliver meteorological forecast data in METGM/C format for defined areas
Metgm 1.0
Deliver meteorological forecast data in METGM/C format for defined areas

Other

Weathericon 1.1
deliver weather icons.

Satellite 🛰

Geosatellite 1.4
Images from geostationary satellites
Polarsatellite 1.1
Images from satellites in polar orbit

Weather

ExtremesWWC 1.2
The Wettest, Warmest and Coldest places
Locationforecast 1.9
Weather forecast for a specified place
LocationforecastLTS
Weather forecast for a specified place, long term support.
Nowcast 0.9
Nowcast for a specified place.
Probabilityforecast 1.1
Probability forecast for a specified place
Radar 1.5
Radar images from various locations
Subjectiveforecast 1.0
Forecasts and analyses charts from the meteorologist
Textforecast 2.0
Textual weather forecast for Norwegian land and sea areas

Nyheter

Ho, ho, ho and some API stocking fillers 2019-12-20

We hope you all have been good developers this year, in which case you can look forward to some new improved products next month (for those who have been bad we will also be taking some away).

Locationforecast

On December 3rd we launched the new backend for locationforecast/1.9. In connection with that some of our users have noted that the topography for Norway is not as accurate as before. This is because we use a terrain model with a slightly coarser resolution. This does not affect the quality of our temperature forecasts. However, due to requests from our users we will soon return to a higher resolution topography for Norway.

Next year we also plan to introduce a higher resolution topography for our global forecasts. This will make the forecast more accurate when not using the recommended "msl" parameter to indicate elevation, which is hard to implement e.g. in mobile apps.

We are also working hard on finalizing the JSON format in 2.0, as well as improving the weathericon symbols so that you won't have to call sunrise to know if to use a night or day version.

Radar animations

Due to popular demand, we have decided to continue GIF animation in radar/2.0 which will launch on Feb 3rd. Everything else will be different though, included sizes (only one), areas (previously called radarsites), types (more options) and formats (all static images are now in PNG).

Radar/1.5 will continue running until May 15th so you have plenty time to update your systems. We still have plans to launch a Javascript animation version, but this is not a high priority.

More changes on Feb 3rd

Next year the sigcharts in upperwindweather will be moved to a new product, possibly with some new charts to follow. The upperwindweather product will then be deprecated, and eventually removed from the public api.

We will also be launching a new version 2.0 of icemap with more and better maps of the Arctic. The old version 1.5 will continue running until March.

We have also decided to retire the little-used lightning product on api.met.no. Since you now can download lightning data more or less in real time from Frost, there is little use for 5 min old data from the API. The data will continue to be delivered in UALF format as before. You can test out the new product here (remember to register for a developer key).

Finally the radar/1.5 and uvforecast products will be end-of-lifed on May 15th, to be replaced by the improved radar/2.0 and locationforecast/2.0 respectively.

Changes to Textforecast and Locationforecast 2019-11-13

We will shortly be making some changes to the existing versions of Textforecast and Locationforecast.

Textforecast

The seahigh and seabank products will be replaced with a new, auto-generated product (named sea) which will be available on December 3rd (possibly earlier). The old forecasts will continue production until February 1st, after which requests will be returned the new sea forecast instead.

Locationforecast

We will shortly be changing the backend for the locationforecast to a new, cloud-based service. For the immediate future there will be very little change for the users except for higher performance. There are some minimal changes to the version 1.9 output, in short:

  1. Only 1- and 6-hour forecasts will be supported, the 2- and 3-hour intervals will be removed.

  2. We have added precipitation minvalues and maxvalues for the whole forecast for the Nordic and Arctic regions, not just the first two days:

  3. The EPS, LOCAL and EC* models in the meta header are no longer relevant. We now how only one model (met_public_forecast), with a single runended and nextrun timestamp.

  4. The global forecast (outside the Nordic and Arctic regions) will be shortened by 6 hours. As a compensation it will update every 6 hours, instead of every 12 hours as previously.

If you experience any problems due to these changes, we suggest temporarily switching over to LocationforecastLTS until you can make the necessary changes.

LocationforecastLTS

As Locationforecast and LocationforecastLTS currently runs on the same old backend and is virtually similar, we have decided to end-of-life this product as it is impossible to guarantee the same output on the new backend. This means LocationforecastLTS will be officially deprecated once the new model is in production, but will not be terminated until the end of February 2020 at the earliest (which should be plenty of time to change your implementation). Since the new backend is much faster and has a more correct forecast, we suggest changing over to I as soon as possible.

Plans for next year

Some of the planned changes for the next 6 months include:

Locationforecast

In the long term we will be launching a new 2.0 version, which features:

  • a new, proper JSON format (instead of conversion from XML)
  • probability values (as in the current probabilityforecast)
  • UV index data (replacing the current UVforecast product)
  • more understandable weathersymbol codes, hopefully without the need to contact sunrise

At the same time we will be deprecating the Probabilityforecast and UVforecast products since the data will now be available in Locationforecast instead.

Radar and Radarlightning: These will be consolidated into a new version Radar/2.0, with removal of some unused products and replacement of GIF animations with Javascript templates.

UVforecast: These are produced by external parties, and we experienced distribution problems last summer. Since UV data will be available in locationforecast/2.0, the UVforecast product will be terminated after Easter 2020. UV maps should still be available from external distributors.

ExtremesWWC: This product will be replaced by a similar feature on our observations and climate API frost.met.no.

We do not have exact dates for the above changes, but will return with updates once we have more specific information.

News archive

Endringslogg

UVforecast: Product EOL, 2020-04-20

This product will be discontinued after Easter 2020. Instead UV index will be returned in the JSON version of locationforecast/2.0.

Tidalwater: New harbour Mausund, 2020-02-05

Data for Mausund added to harbour list

LocationforecastLTS: A few variables removed from the Nordic model, 2020-01-19

As mentioned earlier we have deprecated the LocationforecastLTS product, which will be retired some time after we have launched the new Locationforecast 2.0. In the mean time, the background model for the Nordic area (MEPS) will soon been replaced with a new, improved model (CMEPS) which is run every hour.

Unfortunately, some little used parameters are no longer present in the new model, which means that there will be some slight changes to locationforecastlts in late January:

* the parameter areaMaxWindSpeed will be removed

* there will no longer be available time intervals backward in time

These changes will only be visible for the Nordic area (Norway, Sweden, Denmark and Finland). There will be no changes for the rest of the world (which uses the EC model).

We apologize for the inconvenience, but unfortunately the changes were discovered too late to give the promised 3 month warning. Hopefully the changes are insignificant enough not to give any problems for the vast majority of users.

Metgc: 2020-01-08

New area tarva. Metgm and Metgc now using same product handler.

Metgm: 2020-01-08

New area tarva. Metgm and Metgc now using same product handler.

Sunrise: Height parameter fixed: 2020-01-03

Due to an error the height parameter was accidentally called alt in the interface (but not in the documentation). This has now been fixed.

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. Informasjon om behandling av persondata, se vår personværnerklæring. Tekniske spørsmål kan stilles til teknisk kontakt.