POST · VEDIC

Grahan Analysis

Endpoint POST https://starsapi.com/api/v3/vedic/yogas-doshas/grahan-analysis

Returns the full Grahan Dosha analysis — every Sun/Moon affliction by Rahu/Ketu with cause, orb-graded strength, and methodology note. Same-sign conjunction is the primary rule; 1/7 oppositions are also flagged.

Authentication

MethodExample
Header (recommended)X-Api-Key: am_live_xxxxxxxxxxxx
BearerAuthorization: Bearer am_live_xxxxxxxxxxxx
Query?api_key=am_live_xxxxxxxxxxxx

Request body

FieldTypeRequiredDescription
namestringNoEchoed in the response.
genderstringNomale or female — used by gender-specific yoga rules.
yearintegerYesBirth year.
monthintegerYesBirth month, 1–12.
dayintegerYesDay of month.
hourintegerYesHour, 24-hour.
minuteintegerYesMinute.
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone.
ayanamsastringNoDefault lahiri.
node_typestringNomean (default) or true.

Response shape

FieldTypeDescription
ascendantobjectLagna sign context.
analysis.present / severitymixedVerdict and grade.
analysis.surya_grahan / chandra_grahanbooleanPer-luminary flags.
analysis.grahans[]arrayEach combination with luminary, node, type, orb, and cause.
analysis.summary / notestringVerdict text and methodology.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEBad calendar date.
400INVALID_TIMEHour/minute/second out of range.
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELat/lon out of range.
400INVALID_PARAMBad ayanamsa or node_type.
405METHOD_NOT_ALLOWEDNon-POST request.

See also