Panchang & muhurta

Daily panchang

The panchang for a date and place: vaara, tithi, nakshatra, yoga and karana, sun and moon rise and set, auspicious and inauspicious windows, Choghadiya, the lunar month, ritu, ayana, samvat and the Sun and Moon signs.

Rahu Kalam is under inauspicious.rahu_kalam and Abhijit muhurta under auspicious.abhijit_muhurta.

Responses can be cached for six hours.

Rate limit: 60 requests a minute per IP.

post/panchang

Request

  • Base URL: https://jagannatha-hora-359167915530.europe-west1.run.app
  • URL: https://jagannatha-hora-359167915530.europe-west1.run.app/panchang
  • Auth: none declared

Request body

datestring required

The date, YYYY-MM-DD.

latitudenumber required

Decimal degrees, north positive. Places beyond 66° north or south are rejected with 422.

longitudenumber required

Decimal degrees, -180 to 180, east positive.

timezonenumber required

UTC offset in hours, -12 to 14. The API works out the historically correct offset for the place and date from the coordinates, and uses this value only where no time zone is known there.

placestring

Place name, echoed in the response. Coordinates decide the calculation.

ayanamsa_mode'LAHIRI' | 'TRUE_CITRA' | 'TRUE_LAHIRI' | 'KP' | 'FAGAN' | 'RAMAN' | 'USHASHASHI' | 'YUKTESHWAR' | 'SURYASIDDHANTA' | 'SURYASIDDHANTA_MSUN' | 'ARYABHATA' | 'ARYABHATA_MSUN' | 'SS_CITRA' | 'TRUE_REVATI' | 'SS_REVATI' | 'TRUE_PUSHYA' | 'TRUE_MULA' | 'KP-SENTHIL' | 'SENTHIL'

Ayanamsa (sidereal zodiac) to use. Case-insensitive. A value the API does not recognise as one of the listed modes is refused with HTTP 422 and a message listing them; it is never replaced by LAHIRI.

Response

Success

panchangobject

The day's panchang. Keys: date, place, sunrise, sunset, moonrise, moonset, day_length, vaara, paksha, tithi, nakshatra, yoga, karana, auspicious, inauspicious, choghadiya, month, ritu, ayana, samvat, signs.

Changes

No recorded changes to this operation across all 1 revision of this API.