Timezone by City API — Get Timezone and Local Time for World Cities
Look up timezone information for 1,000+ major world cities. Get UTC offset, DST status, and local time. Free API.
What is Timezone by City?
The city timezone API looks up timezone information for 1,000+ major world cities. Given a city name, it returns the IANA timezone, UTC offset, DST status, country, and current local time. Useful for travel planning, international meeting scheduling, and localization.
How to Use It
Call GET /api/v1/timezone-by-city?city=Oslo. Returns { city: string, country: string, timezone: string, utc_offset: string, dst_active: boolean, local_time: string }.
Try it live
Test this endpoint in the interactive console
Open Console →
Frequently Asked Questions
How many cities are supported?
Over 1,000 major cities worldwide including all national capitals.