List of weather warnings
This dataset provides a list of meteorological warnings (meteo alarms) valid for the territory of the city of Trnava at the specified time. Each warning contains information about the type of phenomenon (e.g. fog), its intensity, time validity and a detailed text description. The dataset is suitable for informing the public, supporting traffic management and crisis management. Graphical data visualization as well as the display of device locations on the map can be found on the public portal.
Publisher
Chief Executive's Office, City of Trnava
Format
API JSON
License
CC BY 4.0
Update frequency
Irregular
Last modified
3. 11. 2026
Download data
- API JSON Sample
- CSV Sample
- XML Sample
- API Documentation
Parameters
{
"validityDate": "2026-10-22 09:00:00.000Z"
}
validityDate (string, optional, datetime) – The date and time for which valid weather alerts should be returned. The format corresponds to a UTC date and time (e.g. "2025-12-06 07:00:00.000Z"). If the parameter is not specified, all future alerts valid from the current time will be returned.
Note
The source of meteorological data and alert texts is the Slovak Hydrometeorological Institute (SHMÚ).
Request
POST https://opendata.trnava.sk/api/datasets/v1/city-dashboard/environment/list-meteo-alarms
Answer
[
{
"_id": "6ad9d73bfa20fba4d9da0f27",
"itemId": "6ad9d6f35ad61700011a46e3",
"from": "2026-10-22T00:00:00.000Z",
"to": "2026-10-22T10:00:00.000Z",
"type": "Wind",
"severity": "Moderate",
"description": "V okrese Trnava sa OJEDINELE očakáva výskyt vetra, ktorý dosiahne krátkodobo (v nárazoch) rýchlosť 18 - 23 m/s (65 - 85 km/h) alebo priemernú rýchlosť okolo 12 m/s Táto rýchlosť predstavuje potenciálne nebezpečenstvo pre ľudské aktivity. Predpokladaná rýchlosť vetra je v danej ročnej dobe a oblasti bežná, ale môže spôsobiť škody menšieho rozsahu. ZVÝŠTE POZORNOSŤ pred zvíreným prachom a úlomkami unášanými vetrom. Je možné lokálne narušenie aktivít vonku a zhoršenie jazdných podmienok vďaka zníženej viditeľnosti. Zdroj: Slovak Hydrometeorological Institute (http://www.shmu.sk/?page=987)",
"eventId": "570be0bb-d955-4465-8505-f4b43122d2a7",
"timestamp": "2026-10-22T09:28:27.251Z"
}
]
_id (string) – Internal identifier of the weather alert record.
itemId (string) – Identifier of the related object or area in the system (e.g. district or monitored entity).
from (string, date and time) – Start of the weather alert validity in UTC.
to (string, date and time) – End of the weather alert validity in UTC.
type (string) – Type of weather phenomenon to which the alert applies (e.g. "Fog").
severity (string) – Severity level of the alert (e.g. "Moderate").
description (string) – Detailed text description of the weather situation, its impacts and recommended behavior. The text may also contain a link to the source of information.
eventId (string) – Identifier of a specific event/alert in the provider's system.
timestamp (string, date and time) – Time of creation or last update of the given alert record.
Request
GET https://opendata.trnava.sk/api/datasets/v1/city-dashboard/environment/list-meteo-alarms?outputType=csv
Answer
"_id","itemId","from","to","type","severity","description","eventId","timestamp"
"6ad9d73bfa20fba4d9da0f27","6ad9d6f35ad61700011a46e3","2026-10-22T00:00:00.000Z","2026-10-22T10:00:00.000Z","Wind","Moderate","V okrese Trnava sa OJEDINELE očakáva výskyt vetra, ktorý dosiahne krátkodobo (v nárazoch) rýchlosť 18 - 23 m/s (65 - 85 km/h) alebo priemernú rýchlosť okolo 12 m/s Táto rýchlosť predstavuje potenciálne nebezpečenstvo pre ľudské aktivity. Predpokladaná rýchlosť vetra je v danej ročnej dobe a oblasti bežná, ale môže spôsobiť škody menšieho rozsahu. ZVÝŠTE POZORNOSŤ pred zvíreným prachom a úlomkami unášanými vetrom. Je možné lokálne narušenie aktivít vonku a zhoršenie jazdných podmienok vďaka zníženej viditeľnosti. Zdroj: Slovak Hydrometeorological Institute (http://www.shmu.sk/?page=987)","570be0bb-d955-4465-8505-f4b43122d2a7","2026-10-22T09:28:27.251Z"
_id (string) – Internal identifier of the weather alert record.
itemId (string) – Identifier of the related object or area in the system (e.g. district or monitored entity).
from (string, date and time) – Start of the weather alert validity in UTC.
to (string, date and time) – End of the weather alert validity in UTC.
type (string) – Type of weather phenomenon to which the alert applies (e.g. "Fog").
severity (string) – Severity level of the alert (e.g. "Moderate").
description (string) – Detailed text description of the weather situation, its impacts and recommended behavior. The text may also contain a link to the source of information.
eventId (string) – Identifier of a specific event/alert in the provider's system.
timestamp (string, date and time) – Time of creation or last update of the given alert record.
Request
GET https://opendata.trnava.sk/api/datasets/v1/city-dashboard/environment/list-meteo-alarms?outputType=xml
Answer
<root>
<item>
<_id>6ad9d73bfa20fba4d9da0f27</_id>
<itemId>6ad9d6f35ad61700011a46e3</itemId>
<from>2026-10-22T00:00:00.000Z</from>
<to>2026-10-22T10:00:00.000Z</to>
<type>Wind</type>
<severity>Moderate</severity>
<description>V okrese Trnava sa OJEDINELE očakáva výskyt vetra, ktorý dosiahne krátkodobo (v nárazoch) rýchlosť 18 - 23 m/s (65 - 85 km/h) alebo priemernú rýchlosť okolo 12 m/s Táto rýchlosť predstavuje potenciálne nebezpečenstvo pre ľudské aktivity. Predpokladaná rýchlosť vetra je v danej ročnej dobe a oblasti bežná, ale môže spôsobiť škody menšieho rozsahu. ZVÝŠTE POZORNOSŤ pred zvíreným prachom a úlomkami unášanými vetrom. Je možné lokálne narušenie aktivít vonku a zhoršenie jazdných podmienok vďaka zníženej viditeľnosti. Zdroj: Slovak Hydrometeorological Institute (http://www.shmu.sk/?page=987)</description>
<eventId>570be0bb-d955-4465-8505-f4b43122d2a7</eventId>
<timestamp>2026-10-22T09:28:27.251Z</timestamp>
</item>
</root>
_id (string) – Internal identifier of the weather alert record.
itemId (string) – Identifier of the related object or area in the system (e.g. district or monitored entity).
from (string, date and time) – Start of the weather alert validity in UTC.
to (string, date and time) – End of the weather alert validity in UTC.
type (string) – Type of weather phenomenon to which the alert applies (e.g. "Fog").
severity (string) – Severity level of the alert (e.g. "Moderate").
description (string) – Detailed text description of the weather situation, its impacts and recommended behavior. The text may also contain a link to the source of information.
eventId (string) – Identifier of a specific event/alert in the provider's system.
timestamp (string, date and time) – Time of creation or last update of the given alert record.