POST · VEDIC

Mahadasha Report

Endpoint POST https://starsapi.com/api/v3/vedic/predictions/mahadasha-report

Returns Vimshottari Mahadasha interpretations for all 9 planetary periods in birth-nakshatra sequence. Each prediction includes house placement, sign, dignity, dasha dates, and multi-paragraph interpretation text with keywords. The current dasha is flagged with is_current: true. Optionally filter to a single planet.

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, 1800–2400.
monthintegerYesBirth month, 1–12.
dayintegerYesDay of month.
hourintegerYesHour, 0–23.
minuteintegerYesMinute, 0–59.
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees, −90…90.
longitudenumberYesDecimal degrees, −180…180.
timezonestringYesIANA timezone identifier.
ayanamsastringNoDefault lahiri.
node_typestringNomean (default) or true.
languagestringNoDefault en. Supported: en, es, fr, pt, it, de, ru, hi, ta, te, kn, ml, bn.
planetstringNoFilter to one planet: Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu. Omit for all 9.

Response shape

Top-level

FieldTypeDescription
languagestringLanguage code used.
ascendantobjectsign, sign_lord, degree.
predictionsarrayArray of prediction objects in Vimshottari dasha sequence.

Prediction object

FieldTypeDescription
titlestringe.g. "Saturn Mahadasha".
sub_titlestringe.g. "Saturn in 5th House in Capricorn".
is_currentbooleantrue if this dasha is currently running.
dasha_periodobjectstart_date and end_date (YYYY-MM-DD).
planetstringDasha lord name.
houseintegerWhole-sign house from ascendant, 1–12.
house_karakastringSignifications of the house.
signstringSign the planet occupies.
sign_lordstringLord of that sign.
dignitystring | nullexalted, moolatrikona, own_sign, friend, neutral, enemy, debilitated, or null (Rahu/Ketu).
dasha_yearsintegerTotal years of this Mahadasha.
nakshatrastringPlanet’s nakshatra.
nakshatra_padaintegerPada 1–4.
is_retrobooleanRetrograde status.
degreenumberDegree within sign, 0–30.
textarrayArray of 3 interpretation paragraphs: general, career/health, advice.
keywordsarray5 keyword strings summarizing the dasha.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEYear out of range or bad calendar date.
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELatitude or longitude out of range.
400INVALID_PARAMBad planet, node_type, ayanamsa, or language.
405METHOD_NOT_ALLOWEDNon-POST request.
500COMPUTE_ERRORChart computation failed.

Notes

  • Predictions are ordered in Vimshottari sequence starting from the birth nakshatra, not in planet order.
  • Each text array contains 3 paragraphs: general interpretation, career/health specifics, and practical advice.
  • Interpretation is based on house + sign combination (e.g. Saturn in 5th house in Capricorn), not house alone.
  • Dignity is computed at runtime from the actual degree — includes Pancha-dha Maitri (natural friendship) levels.
  • Use the planet param to fetch a single dasha (e.g. for a “current dasha” widget).
  • Content is pre-written for all 9 planets × 12 houses × 12 signs = 1,296 unique entries.

See also