旅
MET Norway API
7 endpointsTravel, Maps & WeatherNOsocial:read7 real examples
Returns hourly forecasts, nowcasts, sun and moon times, weather warnings and ocean forecasts for a point.
View as Markdown| GET | /metno/forecast | Hourly weather forecast of a point: temperature, wind, humidity, cloud and rain. |
| GET | /metno/nowcast | Short-range forecast for the next two hours (5-minute steps) for a point in Nordic areas. |
| GET | /metno/sun | Sunrise, sunset and solar noon of a point on a date. |
| GET | /metno/moon | Moonrise, moonset, the highest and lowest moon and the moon phase of a point on a date. |
| GET | /metno/alerts | Current weather warnings (yellow, orange, red) for a point in Norway, from MET Norway's metalerts. |
| GET | /metno/ocean | Sea forecast of a point: wave height and direction, sea temperature and current, hourly. |
| GET | /metno/airQuality | Hourly air quality forecast of a point in Norway: the air quality index and NO2, O3, PM10 and PM2.5. |
forecast
GET
/v1/metno/forecastHourly weather forecast of a point: temperature, wind, humidity, cloud and rain.
scope social:read1 unitcached 30 min
Parameters
latstring required | Latitude, -90 to 90. e.g. 59.9139 |
lonstring required | Longitude, -180 to 180. e.g. 10.7522 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
items | Step[] |
airTemperatureCelsius | number (double) |
cloudCoverPct | number (double) |
precipitationMm | number (double) |
relativeHumidity | number (double) |
startsAt | string |
symbol | string |
windFromDeg | number (double) |
windSpeedMs | number (double) |
latitude | number (double) |
longitude | number (double) |
updatedAt | string |
curl "https://api.hoshime.com/v1/metno/forecast?lat=59.9139&lon=10.7522" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metno/forecast?lat=59.9139&lon=10.7522", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metno/forecast?lat=59.9139&lon=10.7522", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "items": [ { "airTemperatureCelsius": 1.8, "cloudCoverPct": 98.6, "precipitationMm": 0, "relativeHumidity": 86.5, "startsAt": "2026-11-06T17:00:00Z", "symbol": "partlycloudy_night", "windFromDeg": 130, "windSpeedMs": 1.3 }, { "airTemperatureCelsius": 1.4, "cloudCoverPct": 93.3, "precipitationMm": 0, "relativeHumidity": 88.5, "startsAt": "2026-11-06T18:00:00Z", "symbol": "partlycloudy_night", "windFromDeg": 106, "windSpeedMs": 1.4 } ], "latitude": 59.9139, "longitude": 10.7522, "updatedAt": "2026-11-06T17:29:09Z" }, "meta": { "cached": false, "endpoint": "forecast", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "metno", "requestId": "req_2Xb9kQ…", "units": 1 } }
nowcast
GET
/v1/metno/nowcastShort-range forecast for the next two hours (5-minute steps) for a point in Nordic areas.
scope social:read1 unitcached 5 min
Parameters
latstring required | Latitude, -90 to 90. e.g. 59.9139 |
lonstring required | Longitude, -180 to 180. e.g. 10.7522 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
items | Step[] |
airTemperatureCelsius | number (double) |
cloudCoverPct | number (double) |
precipitationMm | number (double) |
relativeHumidity | number (double) |
startsAt | string |
symbol | string |
windFromDeg | number (double) |
windSpeedMs | number (double) |
latitude | number (double) |
longitude | number (double) |
updatedAt | string |
curl "https://api.hoshime.com/v1/metno/nowcast?lat=59.9139&lon=10.7522" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metno/nowcast?lat=59.9139&lon=10.7522", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metno/nowcast?lat=59.9139&lon=10.7522", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "items": [ { "airTemperatureCelsius": 1.4, "cloudCoverPct": 0, "precipitationMm": 0, "relativeHumidity": 88.2, "startsAt": "2026-11-06T18:00:00Z", "symbol": "partlycloudy_night", "windFromDeg": 28.7, "windSpeedMs": 1.4 }, { "airTemperatureCelsius": 0, "cloudCoverPct": 0, "precipitationMm": 0, "relativeHumidity": 0, "startsAt": "2026-11-06T18:05:00Z", "symbol": "", "windFromDeg": 0, "windSpeedMs": 0 } ], "latitude": 59.9139, "longitude": 10.7522, "updatedAt": "2026-11-06T17:57:45Z" }, "meta": { "cached": false, "endpoint": "nowcast", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "metno", "requestId": "req_2Xb9kQ…", "units": 1 } }
sun
GET
/v1/metno/sunSunrise, sunset and solar noon of a point on a date.
scope social:read1 unitcached 6 h
Parameters
latstring required | Latitude, -90 to 90. e.g. 59.9139 |
lonstring required | Longitude, -180 to 180. e.g. 10.7522 |
datestring | Date, YYYY-MM-DD. Defaults to today (UTC). e.g. 2024-06-21 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
date | string |
solarMidnight | string |
solarNoon | string |
sunrise | string |
sunset | string |
curl "https://api.hoshime.com/v1/metno/sun?lat=59.9139&lon=10.7522&date=2024-06-21" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metno/sun?lat=59.9139&lon=10.7522&date=2024-06-21", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metno/sun?lat=59.9139&lon=10.7522&date=2024-06-21", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "date": "2024-06-21", "solarMidnight": "2024-06-20T23:18:00Z", "solarNoon": "2024-06-21T11:18:00Z", "sunrise": "2024-06-21T01:53:00Z", "sunset": "2024-06-21T20:43:00Z" }, "meta": { "cached": false, "endpoint": "sun", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "metno", "requestId": "req_2Xb9kQ…", "units": 1 } }
moon
GET
/v1/metno/moonMoonrise, moonset, the highest and lowest moon and the moon phase of a point on a date.
scope social:read1 unitcached 6 h
Parameters
latstring required | Latitude, -90 to 90. e.g. 59.9139 |
lonstring required | Longitude, -180 to 180. e.g. 10.7522 |
datestring | Date, YYYY-MM-DD. Defaults to today (UTC). e.g. 2024-06-21 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
date | string |
highMoon | string |
lowMoon | string |
moonrise | string |
moonset | string |
phaseDegrees | number (double) |
curl "https://api.hoshime.com/v1/metno/moon?lat=59.9139&lon=10.7522&date=2024-06-21" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metno/moon?lat=59.9139&lon=10.7522&date=2024-06-21", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metno/moon?lat=59.9139&lon=10.7522&date=2024-06-21", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "date": "2024-06-21", "highMoon": "2024-06-21T23:14:00Z", "lowMoon": "2024-06-21T10:45:00Z", "moonrise": "2024-06-21T21:48:00Z", "moonset": "2024-06-21T00:05:00Z", "phaseDegrees": 166.59 }, "meta": { "cached": false, "endpoint": "moon", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "metno", "requestId": "req_2Xb9kQ…", "units": 1 } }
alerts
GET
/v1/metno/alertsCurrent weather warnings (yellow, orange, red) for a point in Norway, from MET Norway's metalerts.
scope social:read1 unitcached 10 minpaginated
Parameters
latstring required | Latitude, -90 to 90. e.g. 59.9139 |
lonstring required | Longitude, -180 to 180. e.g. 10.7522 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
area | string |
certainty | string |
description | string |
endsAt | string |
event | string |
id | string |
instruction | string |
level | string |
severity | string |
title | string |
curl "https://api.hoshime.com/v1/metno/alerts?lat=59.9139&lon=10.7522" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metno/alerts?lat=59.9139&lon=10.7522", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metno/alerts?lat=59.9139&lon=10.7522", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "area": "Lavlandet og dalstrøk på Østlandet", "certainty": "Likely", "description": "Det er fare for is på grunn av utbredt frysende tåke, og det kan komme lett underkjølt yr i perioder. Tåke og yr vil fryse til is på vegbane…", "endsAt": "2026-11-09T10:00:00Z", "event": "ice", "id": "2.49.0.1.578.0.20261106084108.024", "instruction": "Lokalt vanskelige kjøreforhold: Beregn ekstra tid til transport og kjøring. Bruk riktige dekk og kjør etter forholdene. Følg utviklingen: Fø…", "level": "2; yellow; Moderate", "severity": "Moderate", "title": "Is, gult nivå, Lavlandet og dalstrøk på Østlandet, 2026-11-06T15:00:00+00:00, 2026-11-09T10:00:00+00:00" } ], "meta": { "cached": false, "endpoint": "alerts", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "metno", "requestId": "req_2Xb9kQ…", "units": 1 } }
ocean
GET
/v1/metno/oceanSea forecast of a point: wave height and direction, sea temperature and current, hourly.
scope social:read1 unitcached 30 min
Parameters
latstring required | Latitude, -90 to 90. e.g. 59.9 |
lonstring required | Longitude, -180 to 180. e.g. 10.7 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
items | SeaStep[] |
currentSpeedMs | number (double) |
currentToDeg | number (double) |
seaTemperatureCelsius | number (double) |
startsAt | string |
waveFromDeg | number (double) |
waveHeightMeters | number (double) |
latitude | number (double) |
longitude | number (double) |
curl "https://api.hoshime.com/v1/metno/ocean?lat=59.9&lon=10.7" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metno/ocean?lat=59.9&lon=10.7", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metno/ocean?lat=59.9&lon=10.7", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "items": [ { "currentSpeedMs": 0.1, "currentToDeg": 318.6, "seaTemperatureCelsius": 7.5, "startsAt": "2026-11-06T18:00:00Z", "waveFromDeg": 140.4, "waveHeightMeters": 0 }, { "currentSpeedMs": 0.1, "currentToDeg": 340.2, "seaTemperatureCelsius": 7.5, "startsAt": "2026-11-06T19:00:00Z", "waveFromDeg": 137.5, "waveHeightMeters": 0 } ], "latitude": 59.8996, "longitude": 10.7089 }, "meta": { "cached": false, "endpoint": "ocean", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "metno", "requestId": "req_2Xb9kQ…", "units": 1 } }
airQuality
GET
/v1/metno/airQualityHourly air quality forecast of a point in Norway: the air quality index and NO2, O3, PM10 and PM2.5.
scope social:read1 unitcached 1 h
Parameters
latstring required | Latitude, -90 to 90. e.g. 59.9139 |
lonstring required | Longitude, -180 to 180. e.g. 10.7522 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
items | AirQualityHour[] |
index | number (double) |
no2 | number (double) |
o3 | number (double) |
pm10 | number (double) |
pm25 | number (double) |
startsAt | string |
location | string |
curl "https://api.hoshime.com/v1/metno/airQuality?lat=59.9139&lon=10.7522" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/metno/airQuality?lat=59.9139&lon=10.7522", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/metno/airQuality?lat=59.9139&lon=10.7522", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "items": [ { "index": 1.414079189300537, "no2": 41.40791320800781, "o3": 31.706871032714844, "pm10": 17.439098358154297, "pm25": 11.969205856323242, "startsAt": "2026-11-06T12:00:00Z" }, { "index": 1.417569875717163, "no2": 41.75699234008789, "o3": 31.92274284362793, "pm10": 17.61250877380371, "pm25": 11.314437866210938, "startsAt": "2026-11-06T13:00:00Z" } ], "location": "Sentrum 2 - Rode 11" }, "meta": { "cached": false, "endpoint": "airQuality", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "metno", "requestId": "req_2Xb9kQ…", "units": 1 } }