POST · VEDIC

Varshphal Planets

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

Returns planet positions in the Varshphal chart — 7 traditional Tajika planets (Sun through Saturn). Each includes sign, degree, house, dignity, and positional flags.

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.

ascendant

FieldTypeDescription
signstringRising sign at solar return.
sign_hindistringTransliterated Hindi.
sign_numberintegerSign number.
sign_lordstringRuling planet.
longitudenumberAbsolute longitude.
degree_dmsstringDegree within sign.

planets[]

FieldTypeDescription
namestringPlanet name.
planet_shortstring2-letter abbreviation.
signstringSign in the annual chart.
sign_hindistringTransliterated Hindi.
sign_numberintegerSign number.
longitudenumberAbsolute sidereal longitude.
degree_dmsstringDegree within sign.
houseintegerHouse in annual chart.
dignitystringPlanet dignity.
is_retrogradebooleanRetrograde status.
is_kendrabooleanIn a kendra house (1, 4, 7, 10).
is_trikonabooleanIn a trikona house (1, 5, 9).
is_dusthanabooleanIn a dusthana house (6, 8, 12).
strengthstringOverall strength: Good, Moderate, Weak.

Use cases

  • Planet table — render a 7-row annual planet grid with house, dignity, and strength.
  • Strength filter — find strong (kendra/trikona) and weak (dusthana) planets for the year.
  • Retrograde analysis — flag retrograde planets in the annual chart.

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