TimeAPI.io returns the current time for a time zone, IP address, or coordinates, and converts times between zones.
None — no key, no signup. Every example runs as-is.
Full reference: https://timeapi.io/swagger/index.html
curl "https://timeapi.io/api/time/current/zone?timeZone=Europe%2FLondon"
{
"year": 2026,
"month": 9,
"day": 23,
"hour": 22,
"minute": 44,
"seconds": 52,
"milliSeconds": 295,
"dateTime": "2026-09-23T22:44:52.2953671",
"date": "09/23/2026",
"time": "22:44",
"timeZone": "Europe/London",
"dayOfWeek": "Wednesday",
"dstActive": true
}
Offsets and daylight-saving dates.
curl "https://timeapi.io/api/timezone/zone?timeZone=America%2FDenver"
{
"timeZone": "America/Denver",
"currentLocalTime": "2026-09-23T15:44:52.4731283",
"currentUtcOffset": {
"seconds": -21600,
"milliseconds": -21600000,
"ticks": -216000000000,
"nanoseconds": -21600000000000
},
"standardUtcOffset": {
"seconds": -25200,
"milliseconds": -25200000,
"ticks": -252000000000,
"nanoseconds": -25200000000000
},
"hasDayLightSaving": true,
"isDayLightSavingActive": true,
"dstInterval": {
"dstName": "MDT",
"dstOffsetToUtc": {
"seconds": -21600,
"milliseconds": -21600000,
"ticks": -216000000000,
"nanoseconds": -21600000000000
},
"dstOffsetToStandardTime": {
"seconds": 3600,
"milliseconds": 3600000,
"ticks": 36000000000,
"nanoseconds": 3600000000000
},
"dstStart": "2026-03-08T09:00:00Z",
"dstEnd": "2026-11-01T08:00:00Z",
"dstDuration": {
"days": 237,
"nanosecondOfDay": 82800000000000,
"hours": 23,
"minutes": 0,
"seconds": 0,
"milliseconds": 0,
"subsecondTicks": 0,
"subsecondNanoseconds": 0,
"bclCompatibleTicks": 205596000000000,
"totalDays": 237.95833333333334,
"totalHours": 5711,
"totalMinutes": 342660,
"totalSeconds": 20559600,
"totalMilliseconds": 20559600000,
"totalTicks": 205596000000000
}
}
}