Use case

Panchang API for websites and widgets

City-accurate tithi, Rahu Kaal and choghadiya — the daily-return feature every Indian audience site wants.

The endpoints a widget needs

  • POST /v1/panchang/full — tithi, nakshatra, yoga, karana, vara, masa, sunrise/sunset (module reference)
  • POST /v1/panchang/rahu-kaal — Rahu Kaal, Gulika, Yamaganda from the city's own sunrise
  • POST /v1/muhurta/full — 16 choghadiya periods + Abhijit (Muhurta module)
  • POST /v1/panchang/festivals — computed vrat/festival calendar (Ekadashi, Purnima, major festivals)

All times are computed astronomically per lat/lon — a Mumbai widget and a Kolkata widget show genuinely different, correct times.

Caching pattern

Panchang data changes once per day per city: fetch at midnight IST per city you serve, cache, and serve unlimited pageviews from your cache. A 5-city site at 4 calls per city per day uses ~600 calls/month — inside the free plan; a 50-city national site (~200 calls/day, ~6,000/month) fits the ₹499 Starter plan (10,000 calls). Tithi, nakshatra and masa names come with Hindi twins (name_hi) in the same response; yoga, karana and weekday names are English.

FAQ

Frequently asked questions

More questions? Contact us or read the API docs.

Why do panchang times differ between cities?

Rahu Kaal, choghadiya and even tithi boundaries are anchored to local sunrise/sunset. The API computes from the lat/lon you pass, matching what a local printed panchang shows for that city.

Which ayanamsa and conventions are used?

Lahiri ayanamsa (the Indian government standard) with sunrise-anchored day conventions — the mainstream match for North-Indian printed panchangs. Month names support Purnimanta display.

Can I show festivals like Ekadashi automatically?

Yes — the festivals endpoint returns computed tithi-based observances (every Ekadashi, Pradosh, Purnima, Amavasya) plus major festivals with dates, so your calendar stays correct every year without manual editing.

Time to bring the cosmos into your app.

Start free. No credit card. API key in under 1 minute.