Weather and climate data
The Meteorologisk Institutt API version 3 provides weather and climate data, emphasizing User-Agent header requirements to avoid 403 errors.
import requests
url = "https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=60.10&lon=10.20"
headers = {
"User-Agent": "YOUR_USER_AGENT"
}
response = requests.get(url, headers=headers)
print(response.json())Last 50 checks (10 min intervals)