World Time Zones API

FREEMIUM
By TekBunny Inc. | Updated a month ago | Tools
Popularity

5.4 / 10

Latency

8ms

Service Level

100%

Health Check

N/A

README

The World Time Zones API is a versatile and reliable resource for accessing detailed time zone information worldwide. With the increasing importance of global communication and coordination, accurate time zone data is essential for applications that need to display or calculate time accurately.

This API is equipped with three powerful endpoints designed to cater to a variety of use cases:

1. Get Time Zones:

Endpoint: /api/v1/timezones

Description: This endpoint returns a set of random 20 time zones from the extensive database. Whether you need diverse time zones for testing or just a random selection, this endpoint provides the flexibility you need.

Sample Response:

        [
            {
                "Id": 33,
                "TimeZone": "Anywhere on Earth",
                "Abbreviation": "AoE",
                "Location": "Pacific",
                "Offset": "UTC -12"
            },
            {
                "Id": 228,
                "TimeZone": "Wallis and Futuna Time",
                "Abbreviation": "WFT",
                "Location": "Pacific",
            "Offset": "UTC +12"
            }
        ]        

2. Get Time Zone By Short Code:

Endpoint: /api/v1/code?code={SHORT CODE}

Description: When you have a specific short code representing a time zone, this endpoint allows you to retrieve comprehensive information about that time zone. Whether you’re building a world clock application or need precise time zone data, this endpoint offers the details you require.

Sample Response:

        [
            {
                "Id": 47,
                "TimeZone": "Central Daylight TimeCDST – Central Daylight Saving TimeNACDT – North American Central Daylight TimeHAC – Heure Avancée du Centre (French)",
                "Abbreviation": "CDT",
                "Location": "North America",
                "Offset": "UTC -5"
            },
            {
                "Id": 48,
                "TimeZone": "Cuba Daylight Time",
                "Abbreviation": "CDT",
                "Location": "Caribbean",
            "Offset": "UTC -4"
            }
        ]

3. Get Time Zones By Location:

Endpoint: /api/v1/location?location={COUNTRY or LOCATION}
Description: For applications that require time zone data categorized by country or location, this endpoint is the answer. You can fetch time zones specific to a country or location, making it easier to provide localized time-related services in your application.

Sample Response:

        [
            {
                "Id": 8,
                "TimeZone": "Atlantic Daylight TimeADST – Atlantic Daylight Saving TimeAST – Atlantic Summer TimeHAA – Heure Avancée de l'Atlantique (French)",
                "Abbreviation": "ADT",
                "Location": "North AmericaAtlantic",
                "Offset": "UTC -3"
            },
            {
                "Id": 13,
                "TimeZone": "Alaska Daylight TimeADST – Alaska Daylight Saving Time",
                "Abbreviation": "AKDT",
                "Location": "North America",
            "Offset": "UTC -8"
            }
        ]

Integration Benefits:

The World Time Zones API is designed with simplicity and ease of integration in mind. The user-friendly endpoints and JSON response format ensure a seamless integration experience for your development team.

By incorporating this API into your application, you can provide your users with accurate and reliable time zone information, improving the user experience and enabling features like world clocks, event scheduling, and time-based notifications. Additionally, the comprehensive database ensures that your application can cater to a wide range of global locations, making it a valuable addition to any project requiring time zone data.

Embrace the World Time Zones API to enhance your application’s functionality, streamline user experiences, and accurately manage time-related data with ease.

Followers: 1
API Creator:
Rapid account: Tek Bunny Inc
TekBunny Inc.
TekBunny
Log In to Rate API
Rating: 5 - Votes: 1