POST · VEDIC

Moon Sign

Endpoint POST https://starsapi.com/api/v3/vedic/natal/moon-sign

Returns the Moon sign (Chandra Rashi) — the sidereal zodiac sign occupied by the Moon at the moment of birth. In Vedic astrology the Moon sign is often considered more important than the Sun sign: it governs the native’s emotional nature, mind, and is the basis for horoscope predictions, dasha analysis, and transit readings.

The response includes the sign (English and Hindi), sign lord, element, quality, and the Moon’s exact longitude. For the full nakshatra breakdown (deity, symbol, pada), call /natal/nakshatra.

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.

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.
longitudenumberYesSigned decimal degrees, −180…180. Positive = East.
timezonestringYesIANA timezone identifier.
namestringNoUse /vedic/birth-details to retrieve.
placestringNoUse /vedic/birth-details to retrieve.
ayanamsastringNoDefault lahiri. Full list →

Response shape

FieldTypeDescription
data.moon_sign
signstringMoon sign in English (e.g. Pisces).
sign_hindistringHindi name (e.g. Meena).
sign_numberinteger1 = Aries … 12 = Pisces.
sign_lordstringRuling planet of the Moon sign.
elementstringFire, Earth, Air, or Water.
qualitystringMovable, Fixed, or Dual.
moon_longitudenumberMoon’s sidereal longitude (0–360).
moon_longitude_dmsstringSame in D°M′S″ format.
moon_degree_in_signnumberMoon’s degree within the sign (0–30).
moon_degree_in_sign_dmsstringSame in D°M′S″ format.

Use cases

  • Horoscope delivery — the Moon sign is the key for daily/weekly/monthly Vedic horoscope matching.
  • Onboarding — surface the user’s Rashi immediately after birth data entry.
  • Transit analysis — pair the Moon sign with transit endpoints to assess current gochar effects.
  • Localized UI — dual English / Hindi names for bilingual apps.

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