Utilities
AvailableTime Zone at a Point API
The IANA zone at a latitude and longitude, with the offset in force at a local date and time, and whether that time was ambiguous or never happened.
- POST /v1/utilities/timezone-at
- 1 credit
curl https://api.96astroapi.com/v1/utilities/timezone-at \ -H "Authorization: Bearer $ASTRO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "latitude": 27.6119, "longitude": 75.1397, "date": "1990-10-18", "time": "14:30" }'
Overview
The IANA zone at a latitude and longitude, with the offset in force at a local date and time, and whether that time was ambiguous or never happened.
Call it with POST /v1/utilities/timezone-at. Input: specific input. Output: JSON, as a direct response. Each successful call costs 1 credit.
- POST /v1/utilities/timezone-at
- 1 credit
- Specific input
Try it
Response
Ready when you are
Press Run it to see the live response here.
Example response
Fields in dataMeasured from 6 real answers to different inputs: a required field was in every one.
latitudenumberlongitudenumbertimezonestringstatusstringutc_offsetstringabbreviationstringutcstringcandidatesarray
200Example response
Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and images are replaced by a placeholder.
Loading the example…
Request schema and every field: the Utilities reference.
Related endpoints
01What does the Time Zone at a Point API return?
The IANA zone at a latitude and longitude, with the offset in force at a local date and time, and whether that time was ambiguous or never happened. The response's data object includes latitude, longitude, timezone, status, utc_offset, abbreviation, utc and candidates. See the reference for an example response.
02What input does Time Zone at a Point need?
Specific input.
03How much does a Time Zone at a Point call cost?
1 credit per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.
04Can I try it before paying?
Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.


