Utilities
AvailableResolve Birth Instant API
Turns an IANA zone plus local date and time into one UTC instant, or reports that the local time was ambiguous (both candidates returned) or nonexistent across a DST change.
- POST /v1/utilities/resolve-instant
- 1 credit
curl https://api.96astroapi.com/v1/utilities/resolve-instant \ -H "Authorization: Bearer $ASTRO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "timezone": "Europe/London", "date": "1990-10-28", "time": "01:30" }'
Overview
Turns an IANA zone plus local date and time into one UTC instant, or reports that the local time was ambiguous (both candidates returned) or nonexistent across a DST change.
Call it with POST /v1/utilities/resolve-instant. Input: specific input. Output: JSON, as a direct response. Each successful call costs 1 credit.
- POST /v1/utilities/resolve-instant
- 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.
timezonestringlocal_datestringlocal_timestringstatusstringutc_offsetstring | nullabbreviationstring | nullutcstring | nullcandidatesarray of object
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 image data is shortened.
Loading the example…
Request schema and every field: the Utilities reference.
Related endpoints
01What does the Resolve Birth Instant API return?
Turns an IANA zone plus local date and time into one UTC instant, or reports that the local time was ambiguous (both candidates returned) or nonexistent across a DST change. The response's data object includes timezone, local_date, local_time, status, utc_offset, abbreviation, utc and candidates. See the reference for an example response.
02What input does Resolve Birth Instant need?
Specific input.
03How much does a Resolve Birth Instant 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.


