World Time API

GET

Know the exact local time and date for any city worldwide.

World Time looks up the current local time, date, and timezone for any city. Search by city name to get matching locations with country codes, IANA timezone identifiers, and formatted times in 12-hour and 24-hour formats.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/worldtime?city=San%20Francisco
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "search": "San Francisco",
    "foundCities": [
      {
        "city": "San Francisco",
        "city_ascii": "San Francisco",
        "country": "Argentina",
        "iso2": "AR",
        "iso3": "ARG",
        "province": "Córdoba",
        "timezone": "America/Argentina/Cordoba",
        "time": "19:33",
        "time24": "19:33:04",
        "time12": "07:33:04 PM",
        "date": "2025-12-16",
        "day": "Tuesday",
        "month": "December",
        "year": "2025",
        "unix": "1765924384",
        "dst": false,
        "dst_start": "2025-12-16 19:33:04",
        "dst_end": "2025-12-16 19:33:04",
        "dst_name": "-03"
      },
      {
        "city": "San Francisco",
        "city_ascii": "San Francisco",
        "country": "United States of America",
        "iso2": "US",
        "iso3": "USA",
        "province": "California",
        "state_ansi": "CA",
        "timezone": "America/Los_Angeles",
        "time": "14:33",
        "time24": "14:33:04",
        "time12": "02:33:04 PM",
        "date": "2025-12-16",
        "day": "Tuesday",
        "month": "December",
        "year": "2025",
        "unix": "1765924384",
        "dst": false,
        "dst_start": "2025-12-16 14:33:04",
        "dst_end": "2025-12-16 14:33:04",
        "dst_name": "PST"
      }
    ]
  }
}

About the World Time API

World Time works by using the timezone database to determine the current time in any city. Based on the current time, it returns the current time, date, and more for any given city in the world

What people use it for

Time Conversion
Convert time between different time zones by using the World Time API. Get the current time in any city and convert it to another time zone
Time Synchronization
Synchronize time across different devices and systems by using the World Time API. Get the current time in any city and use it to set the time on your devices
Scheduling Software
Integrate the World Time API into scheduling software to display the current time in different cities. Use the API to show the current time in various time zones
Travel Planning
Plan travel itineraries by using the World Time API to determine the current time in different cities. Use the API to schedule flights, meetings, and events across different time zones

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use World Time

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the World Time API.

Read the docs →
Can I query any city in the world?
Yes. You can query cities globally by name. The response returns matching locations alongside their country, ISO codes, province or state, and IANA timezone identifier.
How far does the Starter plan go for city time lookups?
The Starter plan covers 100,000 city lookups each month, which works out to about $0.30 per 1,000 calls. The Free plan provides 100 lookups per month at 2 credits per call.
Are daylight saving status and Unix timestamps included on the Free plan?
No. Daylight saving details, Unix timestamps, separate day and month names, and ANSI state codes are premium fields. They unlock on any paid plan, while the Free plan provides the current time formats, ISO date, and timezone identifiers.
What happens if multiple cities share the same name?
World Time returns an array containing all matching locations rather than a single entry. Each item includes the province, country, and match flags so your application can resolve the intended destination.
Can I use this time data in a commercial scheduling tool?
Yes, as long as you are on a paid plan. Commercial use requires a paid subscription, and while you can display the time data within your own product, you cannot resell or redistribute the raw dataset as-is.

Ready to build with World Time? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs