AstroLogics team ·
The panchang in Hindi
A panchang is often read in Hindi. One call with lang=hi returns it in Devanagari, and your code still works with the same ids as in English.
One call
curl 'https://api.astrologics.in/v1/panchang?date=2026-10-02&lat=28.6139&lon=77.209' \
-H 'Authorization: Bearer al_test_YOUR_KEY'Add lang=hi to that address. For 2 October 2026 in New Delhi, the five limbs come back like this:
| Limb | name (id) |
label with lang=hi |
|---|---|---|
| Tithi | saptami |
सप्तमी |
| Nakshatra | mrigashira |
मृगशिरा |
| Yoga | vyatipata |
व्यतीपात |
| Karana | vishti |
विष्टि |
| Vara | shukravara |
शुक्रवार |
Ids stay the same
name is the same in every language, so check tithi.name === 'ekadashi', never the label. Show label to people. If you show both languages, make one call for each and match the two by name.
Times are local
sunrise, sunset, rahu_kaal, gulika_kaal and the ends_at fields are on the place's own clock, with its offset, for example 2026-10-03T08:00:00+05:30. Show the time part as it is, and don't convert it to the reader's zone: a panchang belongs to a place.
tithi.ends_at and nakshatra.ends_at give when the tithi and the nakshatra running at local noon end. The engine does not compute end times for yoga and karana, and the panchang has no moonrise. Conventions lists what is not computed.
What it costs
The panchang is the same for everyone at a place on a date, so fetch it once and cache it for the day. One call costs 1 credit. A publishable key can call it from a web page, which is how the panchang widget works.