Weather

SMHI API

SMHI has excellent weather data. Apiverket shortens the path from source API to something you can show in an app.

Fetch forecasts by place, observations, climate data, rainfall and related weather signals without starting with raw source formats.

What can you fetch?

  • Weather forecasts
  • Observations
  • Climate temperature and precipitation
  • Rainfall, radar and road weather
  • Air quality, pollen and lightning signals

What can you build?

  • Weather widgets
  • Municipal risk dashboards
  • Energy and operations tools
  • AI assistants that answer local weather questions

Common problems with the original source

  • Raw weather data often starts with coordinates and parameter codes.
  • Responses are nested around time series.
  • Different weather domains use different source structures.

How Apiverket makes it easier

  • Use city-friendly endpoints for common forecasts.
  • Receive normalized JSON.
  • Use the same authentication as non-weather sources.

Example request

/v1/weather/stockholm/v1/weather/observations/parameters/v1/weather/climate/temperature
curl
curl "https://apiverket.se/v1/weather/stockholm" \
  -H "Authorization: Bearer sk_test_demo"
Freshness: Real-time and forecast endpoints use short cache windows; historical or climate endpoints can cache longer.
Source: Apiverket is independent from SMHI. Weather-critical products should validate freshness and cite SMHI. SMHI.