# Look Up Timezone API

> Resolve a lat/long to its IANA timezone, country, current local time, UTC offset (with DST detection), and standard offset. Uses the free timeapi.io.

Category: [Data APIs](https://upapi.io/apis/data) · Last updated 2026-06-12

## How to call it

- Endpoint: `POST https://api.upapi.io/timezone-lookup.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 1 weighted unit per call.
- Timeout: 12 seconds.
- Cache: identical requests are served from cache for 3600 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/timezone-lookup.get

```bash
curl -X POST https://api.upapi.io/timezone-lookup.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "latitude": 43.65, "longitude": -79.38 }'
```

## Request parameters

- `latitude` (number, required) — Decimal latitude
- `longitude` (number, required) — Decimal longitude

## Response fields

- `timezone` (string, required)
- `fetchedAt` (string, required)
- `countryCode` (string, required)
- `countryName` (string, required)
- `currentLocalTime` (string, required)
- `isDaylightSavingTime` (boolean, required)
- `currentUtcOffsetSeconds` (integer, required)
- `standardUtcOffsetSeconds` (integer, required)
- `daylightSavingsUtcOffsetSeconds` (integer, required)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "latitude": 43.65,
  "longitude": -79.38
}
```

```json
{
  "timezone": "example",
  "fetchedAt": "example",
  "countryCode": "US",
  "countryName": "example",
  "currentLocalTime": "example",
  "isDaylightSavingTime": false,
  "currentUtcOffsetSeconds": 1,
  "standardUtcOffsetSeconds": 1,
  "daylightSavingsUtcOffsetSeconds": 1
}
```

## Frequently asked questions

### How much does the Look Up Timezone API cost per call?

Each call spends 1 weighted unit of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the Look Up Timezone API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are Look Up Timezone API responses cached?

Yes — identical requests are served from cache for 3600 seconds, and a cache hit is not billed.

## More Data APIs

- [Wayback Machine Lookup](https://upapi.io/apis/data/archive-wayback)
- [Geolocate IP Address](https://upapi.io/apis/data/ip-geolocation)
- [Get Current Weather](https://upapi.io/apis/data/weather-current)
- [Get Wikipedia Article Summary](https://upapi.io/apis/data/wikipedia-article)
- [Get BBC News Headlines](https://upapi.io/apis/data/bbc-news)
