Einfache JSON API für aktuelle Uhrzeit basierend auf Zeitzonen.
GET /api/json?tz=Berlin
GET /api/json/Asia/Kolkata
GET /api/json?tz=Berlin?ts=1777777777
tz – Stadt, Kürzel oder IANA-ZeitzoneBerlinEurope/BerlinNew YorkAsia/Tokyots – unix TimeStamp (optional)1111111111122222222212345678900
$ curl https://time.omata.de/api/json/Berlin
{
"datetime": "2026-05-02T17:58:53+02:00",
"utcOffset": "+02:00",
"isDayLightSavingsTime": true,
"dayOfWeek": "Saturday",
"timeZoneName": "Europe/Berlin",
"unixTime": 1777737533,
"ordinalDate": 122
}
$ curl https://time.omata.de/api/json/Berlin?ts=1777777777
{
"datetime": "2026-05-03T05:09:37+02:00",
"utcOffset": "+02:00",
"isDayLightSavingsTime": true,
"dayOfWeek": "Sunday",
"timeZoneName": "Europe/Berlin",
"unixTime": 1777777777,
"ordinalDate": 123
}
$ curl https://time.omata.de/api/json/Berlin?ts=1
{
"datetime": "1970-01-01T01:00:01+01:00",
"utcOffset": "+01:00",
"isDayLightSavingsTime": false,
"dayOfWeek": "Thursday",
"timeZoneName": "Europe/Berlin",
"unixTime": 1,
"ordinalDate": 1
}
{
"error": true,
"message": "Zeitzone nicht gefunden"
}