Timezone Lookup
timezone_lookupLook up time zone details for any location by IP address, city, coordinates, or airport code. Returns current time, UTC offset, DST status, and venue info for airports and LOCODEs.
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'). | |
| lat | No | Latitude (-90 to 90). Must be paired with 'long'. | |
| lang | No | Language for location name fields. Defaults to English. | en |
| long | No | Longitude (-180 to 180). Must be paired with 'lat'. | |
| lo_code | No | 5-character UN/LOCODE for a city (e.g. 'USNYC', 'GBLON'). | |
| location | No | City name or address (e.g. 'Tokyo, Japan', 'New York, US'). | |
| iata_code | No | 3-letter IATA airport code (e.g. 'JFK', 'LHR'). | |
| icao_code | No | 4-letter ICAO airport code (e.g. 'KJFK', 'EGLL'). |