Loading World Time...

🚀 FREE — No API Key Required

World Time API

Simple REST API for current time, time zone conversion, and UTC offsets. Built for developers who need reliable time data.

GET requests only
60 req/min rate limit
Response: JSON
CORS enabled
GET /api/:timezone

Get the current time for any IANA timezone. Returns local time, UTC offset, and DST status.

# Example: Get time in New York
GET https://worldtimessync.com/api/America/New_York
// Response
{
  "timezone": "America/New_York",
  "datetime": "2026-06-29T14:35:22-04:00",
  "utc": "2026-06-29T18:35:22Z",
  "offset": "-04:00",
  "offset_hours": -4,
  "is_dst": true,
  "abbreviation": "EDT",
  "day_of_week": "Monday",
  "day_of_year": 180
}
GET /api/convert?from=<tz>&to=<tz>&time=<HH:MM>

Convert a specific time from one timezone to another. Useful for scheduling meetings across zones.

# Example: 9 AM London → Tokyo
GET https://worldtimessync.com/api/convert?from=Europe/London&to=Asia/Tokyo&time=09:00
// Response
{
  "from": {"timezone": "Europe/London", "time": "09:00", "offset": "+01:00"},
  "to": {"timezone": "Asia/Tokyo", "time": "17:00", "offset": "+09:00", "next_day": true},
  "difference_hours": 8
}
GET /api/timezones

List all supported IANA timezones. Optionally filter by region.

# All timezones
GET https://worldtimessync.com/api/timezones

# Filter by region
GET https://worldtimessync.com/api/timezones?region=Europe
GET /api/offset/:timezone

Get just the UTC offset for a timezone. Lightweight endpoint for quick lookups.

GET https://worldtimessync.com/api/offset/America/New_York

// Response
{"timezone": "America/New_York", "offset": "-04:00", "offset_hours": -4}
GET /api/now

Get the current UTC time and Unix timestamp. Useful for clock synchronization.

GET https://worldtimessync.com/api/now

// Response
{"utc": "2026-06-29T18:35:22Z", "unix": 1782934522, "iso": "2026-06-29T18:35:22.123Z"}
Code Examples

JavaScript / TypeScript

async function getTime(tz) {
  const res = await fetch(`https://worldtimessync.com/api/${tz}`);
  const data = await res.json();
  console.log(data.datetime); // "2026-06-29T14:35:22-04:00"
}
getTime('Europe/Berlin');

Python

import requests

res = requests.get("https://worldtimessync.com/api/Asia/Tokyo")
data = res.json()
print(data["datetime"]) # 2026-06-29T23:35:22+09:00

cURL

curl -s "https://worldtimessync.com/api/America/Los_Angeles" | jq .