POST · VEDIC

Ghat Chakra

Endpoint POST https://starsapi.com/api/v3/vedic/natal/ghat-chakra

Returns the Ghat Chakra — the inauspicious-period chart derived from the native’s Moon sign. Ghat Chakra identifies specific months, tithis, weekdays, nakshatras, yogas, karanas, prahars, and Moon transits that are considered unfavourable for the native. These periods should be avoided for important decisions, ceremonies, and new undertakings.

All factors are derived from the birth Moon’s sidereal rashi. For the cultural/classificatory attributes (namakshar, paya, avakhada factors), call /natal/avakhada. For the birth panchang snapshot, call /natal/natal-basics.

Authentication

Required. Three methods accepted:

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

See authentication for security considerations.

Request body

Send a JSON object with Content-Type: application/json. All core fields are required — Ghat Chakra is derived from the Moon’s exact sidereal position at birth.

FieldTypeRequiredDescription
yearintegerYesBirth year, 4-digit (e.g. 1990).
monthintegerYesBirth month, 112.
dayintegerYesDay of month, 131.
hourintegerYesHour in 24-hour local clock time, 023.
minuteintegerYesMinute, 059.
secondintegerNoSecond, 059. Default 0.
latitudenumberYesSigned decimal degrees, −90…90. Positive = North (e.g. 28.6139).
longitudenumberYesSigned decimal degrees, −180…180. Positive = East (e.g. 77.2090).
timezonestringYesIANA timezone identifier (e.g. Asia/Kolkata). DST is resolved automatically.
namestringNoNative’s name. Not returned by this endpoint; use /vedic/birth-details to retrieve it.
placestringNoBirth place label. Not returned by this endpoint; use /vedic/birth-details to retrieve it.
ayanamsastringNoSidereal mode. Default lahiri. Full list of 45+ ayanamsas →
Use the local clock time of birth. Pass the wall-clock time as recorded on the birth certificate together with the IANA timezone of the birth place — the backend converts to UTC internally. Do not pre-convert to UTC yourself.

Response shape

All nine inauspicious factors are returned under data.ghat_chakra. Birth input is not echoed back — call /vedic/birth-details separately for that.

FieldTypeDescription
ghat_chakra.moon_rashi — the source rashi for all ghat factors
rashistringMoon sign in Hindi.
rashi_enstringMoon sign in English.
rashi_numberintegerSign number (1–12).
ghat_chakra.ghat_maas — inauspicious month
maasstringHindu month name to avoid.
descriptionstringAdvisory text.
ghat_chakra.ghat_tithi — inauspicious tithis
tithi_numbersinteger[]Tithi numbers to avoid (within the paksha).
tithi_namesstring[]Corresponding tithi names.
descriptionstringAdvisory text.
ghat_chakra.ghat_vaar — inauspicious weekday
vaar_namestringHindi weekday name.
vaar_name_enstringEnglish weekday name.
descriptionstringAdvisory text.
ghat_chakra.ghat_nakshatra — inauspicious nakshatra
nakshatra_namestringNakshatra to avoid.
descriptionstringAdvisory text.
ghat_chakra.ghat_yoga — inauspicious yoga
yoga_namestringYoga to avoid.
descriptionstringAdvisory text.
ghat_chakra.ghat_karana — inauspicious karana
karana_namestringKarana to avoid.
descriptionstringAdvisory text.
ghat_chakra.ghat_prahar — inauspicious time of day
prahar_numberintegerPrahar number (1–4).
prahar_namestringPrahar name in Sanskrit.
time_periodstringApproximate clock time range.
descriptionstringAdvisory text.
ghat_chakra.ghat_chandra — inauspicious Moon transit sign
rashistringSign to avoid when Moon transits it (Hindi).
rashi_enstringEnglish sign name.
rashi_numberintegerSign number.
descriptionstringAdvisory text.

Use cases

  • Muhurta selection — cross-check proposed dates against the native’s ghat factors before scheduling weddings, ceremonies, or business launches.
  • Kundli reports — display the ghat chakra as a dedicated section in the birth chart report alongside avakhada and panchang.
  • Transit alerts — combine ghat_chandra with real-time Moon transit data to warn users when the Moon enters their inauspicious sign.
  • Calendar integration — flag ghat tithis, vaars, and nakshatras in a personalised Hindu calendar.

Errors

HTTPCodeCause
400MISSING_FIELDA required birth field is absent.
400INVALID_DATEInvalid calendar date.
400INVALID_TIMEHour/minute/second out of range.
400INVALID_TIMEZONENumeric or non-IANA timezone.
400INVALID_COORDINATElatitude / longitude out of range.
401AUTH_MISSING_KEYNo API key in request.
401AUTH_INVALID_KEYKey format invalid or not found.
401AUTH_REVOKED_KEYKey has been revoked.
403AUTH_ORIGIN_DENIEDRequest from non-whitelisted origin.
405METHOD_NOT_ALLOWEDNon-POST request.
429RATE_LIMIT_EXCEEDEDPlan quota exceeded.
500CALCULATION_ERROREphemeris calculation failed.

Error response format

{
  "success": false,
  "error": {
    "code": "INVALID_TIMEZONE",
    "message": "Unrecognised timezone: 'Asia/Calcutta_'. Use a valid IANA identifier such as 'Asia/Kolkata'."
  }
}

See also