This API allows developers to obtain time zone information for any location in the world, enabling them to develop time-sensitive applications that require accurate time zone information.
The API typically provides access to a database of time zone information, including the time zone name and time zone abbreviation. This information is usually updated periodically to ensure that it is accurate and up to date.
When developers use the API, they typically make a request with a country and city name. The API then returns the time zone information for that location, which can be used to convert a UTC time to the local time for that location.
The use cases for a World Timezone API are numerous. For example, it can be used to develop applications that require time-sensitive information, such as online booking systems, event scheduling tools, and international messaging platforms. By providing accurate time zone information, developers can ensure that their applications work correctly in different time zones.
The API can also be used by companies and organizations that operate in multiple time zones. For example, a company with offices in multiple countries can use the API to ensure that its employees know the correct time in each location. This can help avoid scheduling conflicts and ensure that meetings are held at a convenient time for all participants.
In addition, travel and tourism companies can use the API to provide accurate time zone information to their customers. This can be especially useful for international travelers who are unaware of the time difference between their home and destination countries.
Overall, is a powerful tool for developers and businesses that need accurate time zone information. By facilitating access to time zone data, the API enables developers to create time-sensitive applications that work correctly in different time zones, and allows businesses to operate more efficiently in a global marketplace.
{
"Notice": "Contains data from Natural Earth, placed in the Public Domain. Contains information from https://github.com/evansiroky/timezone-boundary-builder, which is made available here under the Open Database License \\(ODbL\\).",
"Safezone": 2.0474789142608643,
"Zones": [
{
"CountryAlpha2": "DE",
"CountryName": "Germany",
"Result": "In zone",
"TimezoneId": "Europe/Berlin"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/1861/world+timezone+api/1539/timezone+by+coordinates?lat=50&lon=10' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The "Get timezones" endpoint returns a list of available time zones, including their names, abbreviations, IANA identifiers, and UTC offsets. The "Timezone by country or city" endpoint returns the local time, UTC offset, time zone name, and abbreviation for a specified location.
Key fields include "name" (time zone name), "abbreviation" (short form), "iana" (IANA time zone identifier), "utcOffset" (offset from UTC), and "time" (current local time) in the response data.
The response data is structured in JSON format. For the "Get timezones" endpoint, it includes a "result" object containing an array of time zones. For the "Timezone by country or city" endpoint, it includes a "result" object with "placeName" and a nested "timeZone" object.
The "Get timezones" endpoint provides a comprehensive list of all time zones, while the "Timezone by country or city" endpoint offers specific time zone details for a given location, including local time and UTC offset.
The "Timezone by country or city" endpoint accepts parameters such as the name of a country or city. Users can customize their requests by specifying different locations to retrieve corresponding time zone information.
Data accuracy is maintained through periodic updates from reliable sources, ensuring that time zone information reflects current standards and practices, including changes due to daylight saving time.
Typical use cases include scheduling international meetings, developing travel booking systems, and creating applications that display local times for events or social media posts across different time zones.
Users can utilize the returned data by integrating it into applications for time conversion, scheduling, and displaying accurate local times, ensuring that users are informed of time differences when planning activities across regions.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
2,518ms
Service Level:
100%
Response Time:
226ms
Service Level:
100%
Response Time:
106ms
Service Level:
100%
Response Time:
482ms
Service Level:
100%
Response Time:
2,518ms
Service Level:
100%
Response Time:
244ms
Service Level:
100%
Response Time:
296ms
Service Level:
100%
Response Time:
134ms
Service Level:
100%
Response Time:
94ms
Service Level:
100%
Response Time:
195ms