POST · VEDIC

Varshphal Yogas

Endpoint POST https://starsapi.com/api/v3/vedic/varshphal/yogas

Returns the 16 Tajika Yogas — aspect-based combinations unique to annual charts. Both present and absent yogas listed. Each present yoga includes planet pairs and aspect geometry.

Authentication

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

Request body

FieldTypeRequiredDescription
yearintegerYesBirth year, 4-digit.
monthintegerYesBirth month, 112.
dayintegerYesDay of month.
hourintegerYesHour, 24-hour format.
minuteintegerYesMinute.
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone identifier.
varshphal_yearintegerYes*Calendar year for the annual chart. Alternatively send year_of_life.
year_of_lifeintegerYes*Year of life. Send either this or varshphal_year, not both.
ayanamsastringNoDefault lahiri.
node_typestringNomean (default) or true.

Response shape

resolved

Present in all Varshphal endpoints.

FieldTypeDescription
year_of_lifeintegerWhich year of life.
varshphal_yearintegerCalendar year.
completed_yearsintegerCompleted years of age.
solar_return_datestringSolar return date (YYYY-MM-DD).
statusstringcurrent, past, or future.
status_messagestringHuman-readable summary.

present_yogas[]

FieldTypeDescription
yogastringYoga name (e.g. Ithasala).
categorystringCategory (Aspect, Position, etc.).
is_presentbooleanAlways true.
yoga_resultstringInterpretation of the yoga.
pairsarrayPlanet pairs: faster, slower, aspect, deg_diff, type.

absent_yogas[]

Same shape but is_present: false and no pairs.

Use cases

  • Yoga summary — show present vs total yogas as a year quality indicator.
  • Detailed analysis — display each present yoga with planet pairs and aspects.
  • Ithasala focus — the most important Tajika yoga; check which planets form it.

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 varshphal_year or year_of_life.
405METHOD_NOT_ALLOWEDNon-POST request.

See also