A free JSON API for SHMÚ ALADIN numerical model data. Search stations and get hourly and daily 3-day forecasts and current weather with no sign-up and no API key.
What is the SHMU API
The SHMU API (SHMÚ API) serves weather forecasts from the Slovak Hydrometeorological Institute as simple JSON. SHMÚ publishes ALADIN model output as data files. This service downloads them on a schedule, processes them and exposes them through REST endpoints with OpenWeatherMap-style responses.
It is an unofficial open-source project that is not operated by SHMÚ. All forecasts come from public SHMÚ data.
Quick start
The service downloads data from SHMU and exposes it over HTTP. API base URL:
Base URL
https://shmu.bmikuska.com/api/v1
Stations
More than 1,000 locations. Search works without diacritics too.
Forecast
Hourly steps for the next 3 days (the ALADIN model horizon): temperature, wind, cloud cover, precipitation, and pressure.
Tip: Search is diacritic-insensitive — zilina also matches “Žilina”.
Endpoints
All endpoints use the GET method. Error responses have the following shape: {"code": 400, "message": "…"}.
The latest ALADIN forecast for the next 3 days. Provide either station (station ID), or lat and lon (nearest station). The optional hours parameter limits the response to N hourly steps from the current hour (not from the model run start).
Coordinate responses include location_match (distance and station elevation). Optional max_distance_km (max 500) rejects matches that are too far.
Alias: /api/v1/weather with the same parameters.
Parameter
Description
station
Station ID. Alternative to lat + lon.
lat
Latitude (−90 to 90). Use together with lon.
lon
Longitude (−180 to 180). Use together with lat.
hours
Number of hourly steps from the current hour.
max_distance_km
Maximum distance to the nearest station (lat/lon only).
Current weather as the hourly ALADIN step closest to the request time. This is not a live station observation — it is model guidance for “now”. Provide either station / stationId, or lat and lon.
Catalog of weather enums. Each entry has a stable code and a human-readable description. The same values appear in the weather field of hourly and daily forecasts. Day index date_index is 0 = Monday … 6 = Sunday (Europe/Bratislava).
Indicators derived from the hourly forecast (frost, heat, wind, heavy rain, snow, mixed precipitation, low-cloud mountain caution). These are not official SHMU warnings — every item has official: false and source_kind: "forecast".
Parameter
Description
station / lat+lon
Same rules as the forecast endpoint.
type
Comma-separated type filter, e.g. frost,wind,heavy_rain.
The default limit is 10 requests per minute for each endpoint and IP address. When exceeded, the API returns status 429 and a Retry-After header. Documentation routes are not rate-limited.
FAQ
Is the SHMU API free?
Yes. The SHMU API is free and needs no sign-up or API key. The only limit is 10 requests per minute for each endpoint and IP address.
Is this the official SHMÚ API?
No. It is an unofficial open-source project that processes publicly available SHMÚ ALADIN model data. It does not provide official SHMÚ warnings.
What data does the SHMU API provide?
Hourly and daily 3-day forecasts (temperature, wind, cloud cover, precipitation and pressure), current weather, more than 1,000 stations in Slovakia and derived indicators such as frost, heat or strong wind.
How often is the forecast updated?
The ALADIN model runs four times a day (00, 06, 12 and 18 UTC). SHMÚ publishes the results about 4 hours after each run and the API returns the latest available run.
Can I get a forecast by GPS coordinates?
Yes. The /forecast, /forecast/daily, /now and /indicators endpoints accept lat and lon parameters and use the nearest ALADIN model station.