Timezone Lookup
timezone_lookupLook up timezone details for any location using IP address, city, coordinates, or airport code. Get current time, UTC offset, and DST status instantly.
Instructions
Look up timezone information for a location. Accepts one of: IP address, timezone name, city/address, lat/long, IATA code, ICAO code, or UN/LOCODE. At least one input is required — provide IP if location fields are not provided. Returns current time, UTC offset, DST status, and timezone metadata. Airport/LOCODE inputs also return venue details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | IPv4 or IPv6 address. Required if none of the other location fields are provided. | |
| tz | No | Timezone name (tz database format, e.g. 'America/New_York', 'Europe/London'). | |
| location | No | City name or address (e.g. 'Tokyo, Japan', 'New York, US'). | |
| lat | No | Latitude (-90 to 90). Must be paired with 'long'. | |
| long | No | Longitude (-180 to 180). Must be paired with 'lat'. | |
| iata_code | No | 3-letter IATA airport code (e.g. 'JFK', 'LHR'). | |
| icao_code | No | 4-letter ICAO airport code (e.g. 'KJFK', 'EGLL'). | |
| lo_code | No | 5-character UN/LOCODE for a city (e.g. 'USNYC', 'GBLON'). | |
| lang | No | Language for location name fields. Defaults to English. | en |