---
title: "Time Zone API & Time Conversion Lookup by IP, Coordinates, City, or Code"
slug: "/timezone-api.html"
parent: "IP Geolocation API"
description: "Time zone API and Time Conversion API provides current time and date information from time zone name, IP Address, geo coordinates, location name, IATA, UN/LOCODE, and ICAO codes in JSON and XML format. API also calculates time differences from different timezones, city or coordinate locations."
---

# Timezone API and IP to Timezone Lookup

IPGeolocation's free Timezone API and Time conversion API provides date and time related information such as current time, date in various formats, week, month, year, time in unix timestamp, UTC/GMT offset and day light saving time from timezone name, any IPv4 or IPv6 address or geolocation coordinates in JSON and XML format over secure HTTPS connection. The API also calculates precise time differences in hours and minutes between two locations using timezone, coordinates, or city.

[Get Free API Access](https://app.ipgeolocation.io/signup)[Explore Documentation](https://ipgeolocation.io/documentation/timezone-api.html)

## Detailed Timezone Data

Detailed timezone data consists of comprehensive information about the current time and date, presented in multiple formats. It also covers timezone offset values, daylight saving details like start and end times, any gaps or overlaps, and whether DST is active. Optionally, this data can be enriched with geolocation information when IP-based timezone detection is requested.

**Response Preview**

```json
{
  "time_zone": {
    "name": "Australia/Lord_Howe",
    "offset": 10.5,
    "offset_with_dst": 11,
    "date": "2026-02-25",
    "date_time": "2026-02-25 21:04:24",
    "date_time_txt": "Wednesday, February 25, 2026 21:04:24",
    "date_time_wti": "Wed, 25 Feb 2026 21:04:24 +1100",
    "date_time_ymd": "2026-02-25T21:04:24+1100",
    "current_time": "2026-02-25 21:04:24.099+1100",
    "current_time_unix": 1772013864.099,
    "time_24": "21:04:24",
    "time_12": "09:04:24 PM",
    "week": 9,
    "month": 2,
    "year": 2026,
    "year_abbr": "26",
    "current_tz_abbreviation": "LHDT",
    "current_tz_full_name": "Lord Howe Daylight Time",
    "standard_tz_abbreviation": "LHST",
    "standard_tz_full_name": "Lord Howe Standard Time",
    "is_dst": true,
    "dst_savings": 0.5,
    "dst_exists": true,
    "dst_tz_abbreviation": "LHDT",
    "dst_tz_full_name": "Lord Howe Daylight Time",
    "dst_start": {
      "utc_time": "2025-10-04 TIME 15:30",
      "duration": "+0.50H",
      "gap": true,
      "date_time_after": "2025-10-05 TIME 02:30",
      "date_time_before": "2025-10-05 TIME 02:00",
      "overlap": false
    },
    "dst_end": {
      "utc_time": "2026-04-04 TIME 15:00",
      "duration": "-0.50H",
      "gap": false,
      "date_time_after": "2026-04-05 TIME 01:30",
      "date_time_before": "2026-04-05 TIME 02:00",
      "overlap": true
    }
  }
}
```

## Geo Location Module

When Time Zone API is called without any parameter, with the IP address or with the location address, it returns geolocation information for the concerned location, along with the Time Zone Data.

**Response Preview**

```json
"location": {
  "continent_code": "NA",
  "continent_name": "North America",
  "country_code2": "US",
  "country_code3": "USA",
  "country_name": "United States",
  "country_name_official": "United States of America",
  "is_eu": false,
  "state_prov": "California",
  "state_code": "US-CA",
  "district": "Santa Clara",
  "city": "Mountain View",
  "zipcode": "94043-1351",
  "latitude": "37.42240",
  "longitude": "-122.08421"
}
```

## Get Airport details from IATA or ICAO codes

The Time Zone API can retrieve detailed airport information along with time zone data using IATA or ICAO codes. The response includes the airport type, name, geo coordinates, elevation, continent, country and state codes, city, and IATA, ICAO, and FAA codes (if available), providing a complete profile of the airport's location and time zone.

**Response Preview**

```json
"airport_details": {
  "type": "large_airport",
  "name": "London Heathrow Airport",
  "latitude": "51.47060",
  "longitude": "-0.46194",
  "elevation_ft": 83,
  "continent_code": "EU",
  "country_code": "GB",
  "state_code": "GB-ENG",
  "city": "London",
  "iata_code": "LHR",
  "icao_code": "EGLL",
  "faa_code": ""
}
```

## Get City Level Information from LO Code

Our Time Zone API can be queried with an LO Code to provide city-level information, including the LO Code, location type, and geographic coordinates, along with relevant time zone data.

**Response Preview**

```json
"lo_code_details": {
  "locode": "USNYC",
  "city": "New York",
  "state_code": "NY",
  "country_code": "US",
  "country_name": "",
  "location_type": "Port, Rail Terminal, Road Terminal, Airport, Postal Exchange",
  "latitude": "40.70000",
  "longitude": "-74.00000"
}
```

## Convert Time / Calculate Time Difference

Our Time Zone API sub-feature can calculate the time difference between two locations based on their time zone names, geo coordinates, or city address locations.

**Response Preview**

```json
{
  "original_time": "2024-03-11 14:47:32",
  "converted_time": "2024-03-11 02:47:32",
  "diff_hour": 12,
  "diff_min": 720
}
```

## Response in Multiple Languages

You can retrieve the geolocation information for an IP address in the following languages:

*   English
*   German
*   Russian
*   Japanese
*   French
*   Chinese Simplified
*   Spanish
*   Czech Republic
*   Italian
*   Korean
*   Persian
*   Portuguese
*   Standard Arabic

## Use Cases

### New Timezone During Traveling

Build an application for Travellers who move a lot between different timezones! Use the timezone API to keep them up-to-date and up-to-time always, no matter how many time zones they skip over.

### Ecommerce

Make sure you know which part of the world your buyers are coming from and show them the right message at their right time.

### Global Communication

For teams that work from all over the globe, make communications a piece of cake using our free time zone API.

### Flight Management

Airline platforms can build systems that facilitate users to show the accurate flight departure and arrival time in the passengers' time zones, helping them avoid any confusion and better plan their travel.

## Ready to get started? Get Started with Our Timezone API Today

Enrich every request with precise geolocation and real-time threat intelligence, delivered on a global edge with a 99.99% uptime SLA. Start free and scale when you’re ready.

[Get Started](https://app.ipgeolocation.io/signup)
