SMHI open data
SMHI (the Swedish Meteorological and Hydrological Institute) offers open data with observations from more than 700 weather stations in Sweden: temperature, precipitation, wind, humidity and solar irradiance. Also a weather-forecast API (pmp3g) for coordinates. CC-BY-4.0, no auth required.
—
Data volume
Daily
Updates
4
MCP tools
{
"data": "..."
}MCP integration
API endpoints
/parametersList måleparametere
Show curl example
# GET https://data.ketl.no/api/connectors/smhi/parameters
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/smhi/parameters"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.
/stations/{parameter}Målestasjoner per parameter
Show curl example
# GET https://data.ketl.no/api/connectors/smhi/stations/{parameter}
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/smhi/stations/{parameter}"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.
/observations/{parameter}/{stationId}Observasjonsdata
- period optional
- Observasjonsperiode. Utelat for at ruta skal velge en periode SMHI annonserer for akkurat dette parameter/stasjon-paret — svaret ekkoer valget.
period=latest-day
Show curl example
# GET https://data.ketl.no/api/connectors/smhi/observations/{parameter}/{stationId}
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/smhi/observations/{parameter}/{stationId}"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.
/forecastVærprognose for koordinat (lat, lon)
- lat required
- Breddegrad (WGS84)
lat=59.33 - lon required
- Lengdegrad (WGS84)
lon=18.07
Show curl example
# GET https://data.ketl.no/api/connectors/smhi/forecast?lat=59.33&lon=18.07
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/smhi/forecast?lat=59.33&lon=18.07"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.