World Time API

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

Claim this API

Are you the operator of World Time API? Submit a claim to establish contact with us.

Report an Issue

Found something wrong with World Time API? Let us know about broken links, changed auth, deprecated endpoints, or other issues.

Base URL: http://worldtimeapi.org/api/
Auth: unknown
Endpoints: 12
Reachable: unknown
CORS: unknown

Topics

TIME

Endpoints

Method Path Summary Auth Last Status Latency
GET /ip request the current time based on the ip of the request. note: this is a "best guess" obtained from open-source data.
GET /ip.txt request the current time based on the ip of the request. note: this is a "best guess" obtained from open-source data.
GET /ip/{ipv4} request the current time based on the ip of the request. note: this is a "best guess" obtained from open-source data.
GET /ip/{ipv4}.txt request the current time based on the ip of the request. note: this is a "best guess" obtained from open-source data.
GET /timezone a listing of all timezones.
GET /timezone.txt a listing of all timezones.
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.