This API delivers comprehensive and precise time zone data, making it an indispensable resource for applications that need reliable time-related information. It is tailored for users looking to incorporate global time zone data into their systems. With a user-friendly interface and well-organized data structure, the API supports seamless integration into a range of projects.
The API provides detailed information about a specific time zone, including its standardized name, such as “America/New_York,” to avoid confusion when dealing with regions that have multiple time zones or observe daylight saving time. Users can request real-time data to obtain the current date and time in a specific time zone, with an accuracy of up to one second.
The API response includes both the complete date (formatted as YYYY-MM-DD) and the precise time (formatted as HH:MM:SS), allowing developers to use this data in time-sensitive applications. Additionally, the response breaks down the date into its individual components (year, month, day) and the time into hours, minutes, and seconds, providing maximum flexibility. This feature is particularly valuable for applications that need detailed control over time data, such as scheduling systems or data analysis tools.
The API is built to deliver dependable and accurate time zone information, enhancing the functionality and user experience of any application that requires precise temporal data.
To use this endpoint you must indicate a latitude and longitude in the parameters.
Get Time Zone - Endpoint Features
| Object | Description |
|---|---|
lat |
[Required] Indicates a latitude |
lon |
[Required] Indicates a longitude |
{"timezone": "Asia/Shanghai", "datetime": "2024-12-06 10:45:02", "date": "2024-12-06", "year": "2024", "month": "12", "day": "06", "hour": "10", "minute": "45", "second": "02", "day_of_week": "Friday"}
curl --location --request GET 'https://zylalabs.com/api/5686/time+zone+explorer+api/7408/get+time+zone?lat=Required&lon=Required' --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.
To use this API, users must indicate a latitude and longitude.
The Time Zone Explorer API provides current date, time, and detailed time zone data, including name, year, month, day, and weekday.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
Yes, the API supports all recognized time zones, including regions on all continents.
The Get Time Zone endpoint returns detailed time zone information, including the time zone name, current date and time, year, month, day, day of the week, and specific time elements such as hours, minutes, and seconds.
The key fields in the response data include "timezone," "datetime," "date," "year," "month," "day," "hour," "minute," "second," and "day_of_week," providing comprehensive temporal details.
The response data is structured in a JSON format, with key-value pairs that clearly delineate each piece of information, making it easy to parse and utilize in applications.
The Get Time Zone endpoint requires latitude and longitude as parameters to specify the location for which time zone information is requested.
The endpoint provides information on the current date and time, time zone name, and individual components of the date and time, such as year, month, day, and specific time elements.
Users can utilize the returned data for applications requiring precise time management, such as scheduling, event planning, or data analysis, by extracting specific fields like "datetime" or "day_of_week."
The Time Zone Explorer API sources its data from reliable global time zone databases, ensuring that the information is accurate and up-to-date.
Typical use cases include scheduling applications, international event planning, data logging across time zones, and any application requiring real-time time zone awareness for users in different 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:
60ms
Service Level:
100%
Response Time:
8ms
Service Level:
100%
Response Time:
134ms
Service Level:
100%
Response Time:
482ms
Service Level:
100%
Response Time:
244ms
Service Level:
100%
Response Time:
86ms
Service Level:
100%
Response Time:
246ms
Service Level:
100%
Response Time:
485ms
Service Level:
100%
Response Time:
294ms
Service Level:
100%
Response Time:
615ms
Service Level:
100%
Response Time:
149ms
Service Level:
100%
Response Time:
104ms
Service Level:
100%
Response Time:
2,570ms
Service Level:
100%
Response Time:
7,797ms
Service Level:
100%
Response Time:
6,898ms
Service Level:
67%
Response Time:
743ms
Service Level:
100%
Response Time:
756ms
Service Level:
100%
Response Time:
103ms