Timezone Converter API
Convert a timestamp between any two IANA timezones at the exact UTC offset that applied on that date — daylight saving handled correctly. Clean JSON, no key during beta. A drop-in alternative to paid timezone services (TimeZoneDB, Google Time Zone) — pure code, no upstream cost.
Try it
Convert a time (live & free during beta)
GET https://tz.wrapper-agency.com/api/v1/tz?from=America/New_York&to=Asia/Tokyo&time=2008-11-04T09:00
{
"from": "America/New_York",
"to": "Asia/Tokyo",
"input": "2008-11-04T09:00",
"instant": "2008-11-04T14:00:00.000Z",
"converted": "2008-11-04T23:00:00",
"fromOffset": "UTC-05:00",
"toOffset": "UTC+09:00"
}Convert an epoch timestamp
GET https://tz.wrapper-agency.com/api/v1/tz?from=UTC&to=Europe/London&epoch=1225789200Also: a machine-readable OpenAPI spec and a paid batch endpoint for agents (POST /api/v1/pro/tz, x402 micropayment).
Why ZoneShift
- DST-correct
- Uses the actual offset for the date you pass, not a fixed offset — so conversions around clock changes are right.
- Pure code, no upstream
- Built on the IANA time zone database via the JavaScript Intl API. No third-party API, no surprise rate caps.
- Simple & cheap
- One call, one JSON answer. Free now; per-call pricing for agents.
New to timezone math in code? Read the developer guide.