worldtimeapi.org

A simple API to get the current time based on a request with a timezone.

12 endpoints location
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

No SDKs indexed for this API yet.

curl examples
request the current time based on the ip of the request. note: this is a "bes…
curl \
  http://worldtimeapi.org/api/ip
request the current time based on the ip of the request. note: this is a "bes…
curl \
  http://worldtimeapi.org/api/ip.txt
a listing of all timezones.
curl \
  http://worldtimeapi.org/api/timezone
Endpoints (12 total)
GET
/ip
request the current time based on the ip of the request. note: this is a "bes…
GET
/ip.txt
request the current time based on the ip of the request. note: this is a "bes…
GET
/timezone
a listing of all timezones.
GET
/ip/{ipv4}
request the current time based on the ip of the request. note: this is a "bes…
GET
/timezone.txt
a listing of all timezones.
GET
/ip/{ipv4}.txt
request the current time based on the ip of the request. note: this is a "bes…
GET
/timezone/{area}
a listing of all timezones available for that area.
GET
/timezone/{area}.txt
a listing of all timezones available for that area.
GET
/timezone/{area}/{location}
request the current time for a timezone.
GET
/timezone/{area}/{location}.txt
request the current time for a timezone.
GET
/timezone/{area}/{location}/{region}
request the current time for a timezone.
GET
/timezone/{area}/{location}/{region}.txt
request the current time for a timezone.
Language coverage

No SDKs yet

At a glance
Total SDKs0
Languages0
Endpoints12
Categories1
http://worldtimeapi.org/api