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.
Para usar este punto final, debes insertar el nombre de un país o una ciudad, como Alemania o Berlín.
Zona horaria por país o ciudad - Endpoint Features
| Object | Description |
|---|---|
lat |
[Required] Enter a latitude |
lon |
[Required] Enter a longitude |
{
"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/zona+horaria+por+pa%c3%ads+o+ciudad?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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
2,518ms
Service Level:
100%
Response Time:
226ms
Service Level:
100%
Response Time:
182ms
Service Level:
100%
Response Time:
244ms
Service Level:
100%
Response Time:
296ms
Service Level:
100%
Response Time:
164ms
Service Level:
100%
Response Time:
106ms
Service Level:
100%
Response Time:
482ms
Service Level:
100%
Response Time:
2,518ms
Service Level:
100%
Response Time:
86ms
Service Level:
100%
Response Time:
48ms
Service Level:
100%
Response Time:
815ms
Service Level:
100%
Response Time:
526ms
Service Level:
100%
Response Time:
7,574ms
Service Level:
100%
Response Time:
60ms
Service Level:
100%
Response Time:
39ms
Service Level:
100%
Response Time:
45ms
Service Level:
100%
Response Time:
38ms
Service Level:
100%
Response Time:
35ms
Service Level:
100%
Response Time:
53ms