World Time API logo

World Time API

World Time API

World Time API is a free time-and-timezone API — query current UTC, local time, DST status, UTC offset by timezone, IP, or city.

Visit site ↗Health checked 9h ago
Use it when

Completely free, no API key required

Watch for

No SLA (community project, occasionally goes down)

First check

GET http://worldtimeapi.org/api/timezone/Asia/Shanghai for Shanghai time; GET /ip auto-detects from caller IP.

Auth
CORS
No
HTTPS
Yes
Signup
?
Protocol
REST
Pricing

Uptime · 30-day window

Probes: 1Uptime: 0%
01

About this API

World Time API is a community-maintained free time API. Key feature: "actually free, actually simple" — no signup, no API key, one-page docs. Most common use case: "I have a user's IP or timezone string, want to know their current time". Response JSON includes UTC time, local time, UTC offset, DST status, future DST transition times. Also commonly used by developers to "verify their server is properly NTP-synced" (comparing server time vs API response). Downside: as a community project, no SLA guarantees — occasionally goes down or has high latency. For critical production scenarios, use PostgreSQL CURRENT_TIMESTAMP or install NTP locally, with World Time API as supplementary.

02

What you can build

  • 1Display user's local time in apps
  • 2Verify timezone during DST transitions
  • 3Auto timezone conversion for meeting scheduling
  • 4Cross-timezone CI/CD job scheduling
03

Strengths & limitations

Strengths

  • Completely free, no API key required
  • Concise response (single JSON sufficient)
  • IP-based auto timezone detection supported

Limitations

  • No SLA (community project, occasionally goes down)
  • No historical time queries (current moment only)
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://worldtimeapi.org/<endpoint>
05

Getting started

GET http://worldtimeapi.org/api/timezone/Asia/Shanghai for Shanghai time; GET /ip auto-detects from caller IP.

06

FAQ

Is the free tier rate-limited?+

No explicit rate limits, but reasonable use (< 5/sec per IP) avoids blocking.

Can it return historical dates?+

No — this is a "current time" API. For historical timezone queries, use the Time Zone Database (tzdb) locally.

07

Technical details

CORS: NoHTTPS: YesSignup: ?Open source: No
Auth type
unknown
Pricing
unknown
Protocols
REST
SDKs
python, javascript, go, java, php
Last health check
5/12/2026, 7:38:40 AM
08

Tags