Home › Panchang API for websites and widgets

Panchang API for websites and widgets

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

Get a free API key Browse all 237 endpoints

The endpoints a widget needs

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 50-city national site needs ~200 calls/day — inside the free plan. Hindi + English names (तिथि, नक्षत्र…) come in the same response for bilingual widgets.

Frequently asked questions

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.