POST · VEDIC

Puja Suggestion

Endpoint POST https://starsapi.com/api/v3/vedic/predictions/puja-suggestion

Returns personalized Graha Shanti (planetary remedy) recommendations based on afflicted planets in the birth chart. Checks three layers: current dasha lords, important house lords (1st, 2nd, 5th, 7th, 9th, 10th), and natural karakas. Each remedy includes puja name, havan, beej mantra (English + Devanagari), vedic mantra, japa count, donations, fasting day, deity, and special remedies. Results are sorted by urgency (high → moderate).

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.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone identifier.
ayanamsastringNoDefault lahiri.
node_typestringNomean (default) or true.
languagestringNoDefault en.

Response shape

data.pujas is an array of puja objects (0 or more, sorted by urgency):

FieldTypeDescription
titlestringe.g. "Mercury Graha Shanti".
category_labelstringAlways "Planetary Remedy".
purposestringPrimary reason for this remedy.
descriptionstringExplains affliction and its effects.
planet / planet_localstringAfflicted planet.
urgencystringhigh (current Mahadasha lord) or moderate.
conditionsarrayAffliction types: debilitated, combust, in_house_6, in_house_8, in_house_12.
reasonsarrayAll reasons this planet was flagged (lordship, karaka, dasha).
pujastringPuja name.
havanstringHavan name.
beej_mantrastringBeej mantra (transliteration).
beej_mantra_devanagaristringBeej mantra (Devanagari).
vedic_mantrastringVedic mantra (transliteration).
vedic_mantra_devanagaristringVedic mantra (Devanagari).
japa_countintegerTraditional japa count.
donationarrayItems to donate.
donation_daystringDay for donations.
fasting_daystringDay for fasting.
deitystringPresiding deity.
special_remedystringAdditional practical remedies.

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 node_type or ayanamsa.
405METHOD_NOT_ALLOWEDNon-POST request.
500COMPUTE_ERRORChart computation failed.
500DATA_ERRORRemedy data files not found.

Notes

  • The array can be empty if no planet is afflicted — this is a valid response meaning no pujas are needed.
  • Affliction detection: debilitation, combustion, and placement in dusthana houses (6, 8, 12).
  • Three check layers: (1) current Mahadasha/Antardasha lords, (2) lords of houses 1, 2, 5, 7, 9, 10, (3) natural karakas. A planet can appear for multiple reasons — all reasons are listed in reasons array.
  • Urgency is high for current Mahadasha lord, moderate for all others.

See also