Time zone APIs: coordinates, city names or conversions

Time zone APIs answer one of two questions: which zone a place is in (Google's Time Zone API takes latitude and longitude for that), or what a given time is in other zones. If you already know the IANA zone, such as Europe/Berlin, your language's standard library converts times for free with daylight saving handled. Our Time Zone Converter API takes city names or zones and converts one time to up to 20 places for $0.002 per call.

Try it free Time Zone Converter API — cities and zones, $0.002 · $0.002 / call

Know which question you have

QuestionInputTool
What zone is this point inLatitude and longitudeGoogle Time Zone API (pay as you go) or an offline lookup library
What time is it now in TokyoZone or city nameStandard library, or a time API
9:00 in New York is what in DubaiTime, from zone, to zonesStandard library, or a conversion API

Free in Python

zoneinfo has been in the standard library since Python 3.9. On Windows, install the tzdata package for the zone database.

from datetime import datetime
from zoneinfo import ZoneInfo

meeting = datetime(2027, 1, 15, 9, 0, tzinfo=ZoneInfo("America/New_York"))
for z in ["Europe/London", "Asia/Dubai", "Asia/Tokyo"]:
    print(z, meeting.astimezone(ZoneInfo(z)).strftime("%a %H:%M"))

When a call is handier

Our API accepts IANA zones and common city names (New York, Mumbai, Sao Paulo, Sydney and others), so an AI agent or a no-code flow doesn't need to know the zone ids. Send a local time in the "from" place, an ISO time with Z or an offset, or "now". Each target comes back with local_time, weekday, utc_offset and abbreviation, plus the UTC instant. It's pure computation, $0.002 per call with x402 in USDC on Base.

curl -i -X POST https://iamai.markets/api/x402/services/ZK_qRh06oEWZ \
  -H "Content-Type: application/json" \
  -d '{"time": "2027-01-15 09:00", "from": "New York", "to": ["London", "Dubai", "Tokyo"]}'

# result: utc, from {zone, local_time, utc_offset, abbreviation}, to [...]

Daylight saving traps

What our API doesn't do

The product

Questions

Is the Google Time Zone API free?

It's billed per request under Google Maps Platform pricing, with a monthly free allowance per SKU. Check Google's pricing table for the current number.

How many zones can I convert to at once?

Up to 20 per call with our API.

What does "now" return?

The current time in the from zone and every target, with offsets and abbreviations.

Related

Updated 2026-12-02