Time Zone by Location API
Introduction
BigDataCloud’s Time Zone by Location API is a useful API that takes latitude/longitude coordinates as input and provides detailed Time Zone information, such as offsets for UTC and daylight savings time.
By utilising this Time Zone API, you can develop features to display time zone IDs and local times for your user’s locations and provide time-based data corresponding to the user's location on websites or mobile applications.
Additionally, daylight saving time information from the API can be utilised to automatically update your application's time zone data, ensuring accuracy and precision.
Get Started
This API is part of the Reverse Geocoding API Package and is available in free and paid plans. Please visit the Reverse Geocoding API Package package page for limits and pricing information.
Endpoint
Request
Responses
200OK
Sample Query
Schema
ianaTimeIdstringThe unique identifier of the time zone from the IANA Time Zone Database (e.g., "America/New_York").
displayNamestringdisplayName object
effectiveTimeZoneFullstringThe full name of the effective time zone, adjusted for daylight saving (e.g., "Eastern Daylight Time").
effectiveTimeZoneShortstringThe abbreviated name of the effective time zone, adjusted for daylight saving (e.g., "EDT").
utcOffsetSecondsintegerThe effective offset from UTC in seconds, adjusted for daylight saving time.
utcOffsetstringThe effective offset from UTC, formatted as a string and adjusted for daylight saving time.
isDaylightSavingTimebooleanA boolean value indicating whether daylight saving time is currently in effect.
localTimestringThe current local time in the specified time zone, formatted in ISO 8601 "O" format.
utcTimestringThe corresponding UTC time, formatted in ISO 8601 "O" format. This value is omitted if the 'utcReference' parameter was not supplied or was invalid.
Sample Response
400Bad request
Sample Response
401Invalid coordinates
Sample Response
403Access denied, or your quota limit has exceeded
Sample Response
404Found no valid entry for the request
Sample Response
500An error has occurred and did not complete your request. Please try again
Sample Response