Ghat Chakra
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:
| Method | Example |
|---|---|
| Header (recommended) | X-Api-Key: am_live_xxxxxxxxxxxx |
| Bearer | Authorization: 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.
| Field | Type | Required | Description |
|---|---|---|---|
year | integer | Yes | Birth year, 4-digit (e.g. 1990). |
month | integer | Yes | Birth month, 1–12. |
day | integer | Yes | Day of month, 1–31. |
hour | integer | Yes | Hour in 24-hour local clock time, 0–23. |
minute | integer | Yes | Minute, 0–59. |
second | integer | No | Second, 0–59. Default 0. |
latitude | number | Yes | Signed decimal degrees, −90…90. Positive = North (e.g. 28.6139). |
longitude | number | Yes | Signed decimal degrees, −180…180. Positive = East (e.g. 77.2090). |
timezone | string | Yes | IANA timezone identifier (e.g. Asia/Kolkata). DST is resolved automatically. |
name | string | No | Native’s name. Not returned by this endpoint; use /vedic/birth-details to retrieve it. |
place | string | No | Birth place label. Not returned by this endpoint; use /vedic/birth-details to retrieve it. |
ayanamsa | string | No | Sidereal mode. Default lahiri. Full list of 45+ ayanamsas → |
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.
| Field | Type | Description |
|---|---|---|
| ghat_chakra.moon_rashi — the source rashi for all ghat factors | ||
rashi | string | Moon sign in Hindi. |
rashi_en | string | Moon sign in English. |
rashi_number | integer | Sign number (1–12). |
| ghat_chakra.ghat_maas — inauspicious month | ||
maas | string | Hindu month name to avoid. |
description | string | Advisory text. |
| ghat_chakra.ghat_tithi — inauspicious tithis | ||
tithi_numbers | integer[] | Tithi numbers to avoid (within the paksha). |
tithi_names | string[] | Corresponding tithi names. |
description | string | Advisory text. |
| ghat_chakra.ghat_vaar — inauspicious weekday | ||
vaar_name | string | Hindi weekday name. |
vaar_name_en | string | English weekday name. |
description | string | Advisory text. |
| ghat_chakra.ghat_nakshatra — inauspicious nakshatra | ||
nakshatra_name | string | Nakshatra to avoid. |
description | string | Advisory text. |
| ghat_chakra.ghat_yoga — inauspicious yoga | ||
yoga_name | string | Yoga to avoid. |
description | string | Advisory text. |
| ghat_chakra.ghat_karana — inauspicious karana | ||
karana_name | string | Karana to avoid. |
description | string | Advisory text. |
| ghat_chakra.ghat_prahar — inauspicious time of day | ||
prahar_number | integer | Prahar number (1–4). |
prahar_name | string | Prahar name in Sanskrit. |
time_period | string | Approximate clock time range. |
description | string | Advisory text. |
| ghat_chakra.ghat_chandra — inauspicious Moon transit sign | ||
rashi | string | Sign to avoid when Moon transits it (Hindi). |
rashi_en | string | English sign name. |
rashi_number | integer | Sign number. |
description | string | Advisory 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_chandrawith 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
| HTTP | Code | Cause |
|---|---|---|
| 400 | MISSING_FIELD | A required birth field is absent. |
| 400 | INVALID_DATE | Invalid calendar date. |
| 400 | INVALID_TIME | Hour/minute/second out of range. |
| 400 | INVALID_TIMEZONE | Numeric or non-IANA timezone. |
| 400 | INVALID_COORDINATE | latitude / longitude out of range. |
| 401 | AUTH_MISSING_KEY | No API key in request. |
| 401 | AUTH_INVALID_KEY | Key format invalid or not found. |
| 401 | AUTH_REVOKED_KEY | Key has been revoked. |
| 403 | AUTH_ORIGIN_DENIED | Request from non-whitelisted origin. |
| 405 | METHOD_NOT_ALLOWED | Non-POST request. |
| 429 | RATE_LIMIT_EXCEEDED | Plan quota exceeded. |
| 500 | CALCULATION_ERROR | Ephemeris 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
- Avakhada — namakshar, paya, and classificatory attributes
- Natal Basics — birth panchang, sunrise, Hindu calendar
- Vedic Astrology overview — full category index
- Authentication — keys, headers, origin whitelisting
- Errors reference — universal error codes