Skip to content
96Astro API

Utilities

Available

Time 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
Request
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

Runs the real calculation, free and without a key, a few times a minute. For more, and for AI readings, get a free sandbox key.

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.

  • latitudenumber
  • longitudenumber
  • timezonestring
  • statusstring
  • utc_offsetstring
  • abbreviationstring
  • utcstring
  • candidatesarray
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.

FAQ

Time Zone at a Point API: common questions

4answers

Ask the team
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.