🌍 Astrocartography API, 🔷 Human Design API and ✋ Palmistry API are now live. Ship them in your app today.

Timezone with DST

Returns the timezone offset (including DST) for a specific latitude and longitude  (based on country/timezone ID from geo_details) on a given date.
POSThttps://json.astrologyapi.com/v1/timezone_with_dst

Authentication

x-astrologyapi-keystringrequired

API access token used to authenticate requests. Send your access token in this custom header.

Accept-Languagestring

Preferred language for the response content. Supported: English - en.

Body parameters

latitudefloatrequired

latitude , eg: 19.23232

longitudefloatrequired

longitude, eg: 72.23234

datestring

date, eg: '12-5-1993' // 'mm-dd-yyyy'

curl --location 'https://json.astrologyapi.com/v1/timezone_with_dst' \
  --header 'Content-Type: application/json' \
  --header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
  --data '{
    "latitude": 25.7464,
    "longitude": 82.6837,
    "date": "06-27-2000"
}'
Try it

Runs with sample data — no API key needed

{
  "status": true,
  "timezone": 5.5,
  "timezone_in_ms": 19800000,
  "date": "1992-12-01T00:00:00.000Z"
}