KhaleejiAPIKhaleejiAPI
PricingDocumentationAbout
Sign InGet Started
Back to all APIs

Timezone API

Get timezone data by location or coordinates with DST support

Category: GeolocationEndpoint: /v1/timezone

Avg Response

<50ms

Uptime SLA

99.99%

Free Tier

1,000/mo

Quick Start

JavaScript / TypeScript

javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk';
const client = new KhaleejiAPI('your_api_key');
const tz = await client.geo.getTimezone({ city: 'Dubai' });
console.log(tz);
// {
// name: "Dubai",
// timezone: "Asia/Dubai",
// utcOffset: "+04:00",
// isDST: false,
// currentTime: "2025-01-15T14:30:00+04:00"
// }

Python

python
from khaleejiapi import KhaleejiAPI
client = KhaleejiAPI('your_api_key')
tz = client.geo.get_timezone(city="Dubai")
print(f"{tz['name']} — {tz['timezone']} ({tz['utcOffset']})")
# "Dubai — Asia/Dubai (+04:00)"

cURL

curl
curl -X GET "https://khaleejiapi.dev/api/v1/timezone?city=Dubai" \
-H "x-api-key: your_api_key"
Get Your API KeyView Documentation

Related APIs

IP Geolocation

Get location, ISP, and threat data from any IP address

Geocoding

MENA-focused forward and reverse geocoding powered by OpenStreetMap with Arabic name enrichment and structured address parsing

IP GeolocationGeocoding
KhaleejiAPIKhaleejiAPI

Fast, affordable APIs built in Dubai for developers across the Middle East.

All systems operational

APIs

  • Email Validation
  • Phone Validation
  • VAT Validation
  • IP Geolocation
  • Exchange Rates
  • Image Processing
  • View all →

Resources

  • Documentation
  • API Reference
  • SDKs
  • Status
  • Changelog

Company

  • About
  • Blog
  • Careers
  • Contact

Legal

  • Privacy
  • Terms
  • DPA

© 2026 KhaleejiAPI. All rights reserved.

Made with love in Dubai by Berd-i & Sons