GET/v1/time/now
The current time in a time zone, with offset, DST flag and ISO week
Pass at to describe a specific instant instead of now — handy for tests and for "what time is it in Tokyo when it's 9am in New York" when combined with /v1/time/convert.
- tzquery · string
- IANA zone, e.g. America/New_Yorke.g. Europe/Paris
- atquery · string
- ISO-8601 instant to describe instead of nowe.g. 2026-07-01T12:00:00Z
curl "https://api.apialmanac.com/v1/time/now" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://api.apialmanac.com/v1/time/now", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://api.apialmanac.com/v1/time/now", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
200OK
{
"zone": "Europe/Paris",
"iso": "2026-07-01T14:00:00+02:00",
"date": "2026-07-01",
"time": "14:00:00",
"weekday": "Wednesday",
"utc": "2026-07-01T12:00:00Z",
"unix": 1782907200,
"offset": "+02:00",
"offset_minutes": 120,
"abbreviation": "GMT+2",
"dst": true,
"dst_observed": true,
"iso_week": 27,
"iso_week_year": 2026,
"day_of_year": 182
}