Returns resolved birth details — date, time, weekday, gender, name, location, timezone offset and node type. This endpoint performs no astrological computation — no planets, no houses, no ayanamsa. It exists so your app can confirm and display the native’s birth data independently of any chart calculations.
Typical app flow: submit /birth-details alongside /ayanamsa on form submit. The first resolves the input; the second returns the sidereal correction(s) your chart screens need. Then call any compute endpoint (planets, ascendant, dashas, etc.) for actual chart data.
Authentication
Method
Example
Header (recommended)
X-Api-Key: am_live_xxxxxxxxxxxx
Bearer
Authorization: Bearer am_live_xxxxxxxxxxxx
Query
?api_key=am_live_xxxxxxxxxxxx
Request body
Field
Type
Required
Description
year
integer
Yes
Birth year (e.g. 1990)
month
integer
Yes
Birth month (1–12)
day
integer
Yes
Birth day (1–31)
hour
integer
Yes
Birth hour (0–23)
minute
integer
Yes
Birth minute (0–59)
second
integer
No
Birth second (0–59). Defaults to 0.
latitude
number
Yes
Signed decimal latitude. Positive = North, negative = South.
longitude
number
Yes
Signed decimal longitude. Positive = East, negative = West.
timezone
string
Yes
IANA timezone identifier (e.g. Asia/Kolkata).
gender
string
Yes
male, female, m, or f.
name
string
No
Native’s name. Returned at data.name.
place
string
No
Birth place label. Returned inside data.location.
Response shape
data.name
Echoed name (top-level in data), or absent if not sent.
data.birth_details
Field
Type
Description
date
string
Resolved birth date (YYYY-MM-DD).
time
string
Resolved birth time (HH:MM:SS).
day
string
Weekday name (e.g. Sunday).
gender
string
As submitted (male or female).
data.location
Field
Type
Description
latitude
number
Decimal degrees as submitted.
longitude
number
Decimal degrees as submitted.
place
string|null
Echoed place label, or absent if not sent.
Other data fields
Field
Type
Description
timezone
string
IANA timezone string as submitted.
timezone_offset
number
UTC offset in hours (e.g. 5.5 for IST).
node_type
string
Always "mean".
meta
Field
Type
Description
endpoint
string
Request path.
version
string
API version (3.0).
response_time_ms
integer
Server processing time in milliseconds.
timestamp
string
ISO 8601 response timestamp.
credits_remaining
integer
Remaining API credits.
request_id
string
Unique request identifier for debugging.
node_type
string
Echoed node type.
No ayanamsa sub-block appears in meta — this endpoint performs no sidereal computation.
Errors
HTTP
Code
Cause
400
MISSING_FIELD
A required field is absent (including gender).
400
INVALID_DATE
Year/month/day combination does not resolve to a real date.
400
INVALID_TIME
Hour/minute/second outside valid range.
400
INVALID_TIMEZONE
Timezone string is not a valid IANA identifier.
400
INVALID_COORDINATE
Latitude or longitude outside valid range.
400
INVALID_JSON
Request body is not valid JSON.
401
UNAUTHORIZED
Missing or invalid API key.
405
METHOD_NOT_ALLOWED
Request method is not POST.
See also
Ayanamsa — resolve sidereal correction degrees for the same birth data