Esha← Home

Developers

A free panchang API, no key required.

Esha's daily panchang tool is backed by a real, unauthenticated JSON endpoint — the same one our own panchang tool and the city pages call. It is free to use in your own project, with attribution.

License: free for non-commercial use, with a link back

You may call this endpoint from a blog, app, script, or personal project — including commercial content you write ABOUT the data (a blog post, a newsletter) — at no cost and without registering. In return, please:

  • Credit Esha with a visible link back to https://askesha.com wherever the data is displayed.
  • Don't resell or repackage this endpoint itself as your own paid API product.
  • Stay within the rate limit below — it exists so this stays free for everyone.

This is offered as-is: the endpoint may change shape, and there is no uptime guarantee beyond what the rest of askesha.com gets. If your use case needs a formal commercial license or a higher rate limit, reach out via Help.

The endpoint

curl "https://api.askesha.com/api/v1/tools/panchang?city=Delhi&date=2026-07-09"
ParamRequiredNotes
cityYesA city name (e.g. "Delhi", "London") — matched against Esha's place database.
dateNoYYYY-MM-DD. Defaults to today in the city's local timezone if omitted.

Example response:

{
  "city": "Delhi",
  "date": "2026-07-09",
  "timezone": "Asia/Kolkata",
  "vara": "Thursday",
  "tithi": { "name": "..." },
  "nakshatra": { "name": "..." },
  "yoga": { "name": "..." },
  "karana": { "name": "..." },
  "rahu_kalam": { "start": "13:30", "end": "15:00" },
  "sunrise_hour": 5.83,
  "sunset_hour": 19.25
}

tithi, nakshatra, yoga, and karana are reported at local noon on the requested date. rahu_kalamis that weekday's window computed from the city's true local sunrise/sunset. sunrise_hour/sunset_hourare decimal hours in the city's local time.

Rate limit and caching

1,000 requests per day per IP address, generous enough for a blog widget or a small app without registering a key. Responses carry Cache-Control: public, s-maxage=3600, stale-while-revalidate=600— cache the response for the same city and date rather than re-requesting it, and you'll rarely approach the limit.

What this endpoint does not do

This is a deterministic calendrical calculation — tithi, nakshatra, yoga, karana, and rahu kālam only. It takes no birth details and returns no interpretation, prediction, or personal reading. For chart-based tools (birth chart, kundli matching, dasha), see the free tools — those are POST endpoints designed for a form, not for scripted/automated polling.

Already using it? See it running

The same endpoint powers /tools/panchang and each of these auto-updating city pages: