You are here API - Developers is an online resource for information on local times worldwide, time zones, holidays, dialing codes, sun/moon rise and set times, and much more. The API provides developer access to the site’s data via HTTP calls. IP geo-location is supported. Responses may be XML or JSON formatted. The API has a query builder form to assist in constructing calls.