Skip to content
Panchang & Muhurta API

Daily Panchang, tithi, nakshatra, and muhurta timing APIs

Power Hindu calendar widgets, muhurta pickers, and festival alerts with table-driven Panchang calculations tuned for Indian timezones.

Panchang APIs for modern Hindu calendar products

Daily Panchang is the backbone of muhurta apps, temple calendars, and festival notification products. Users expect tithi, nakshatra, yoga, karana, and vara to match regional panchang traditions — which means your backend must respect local sunrise, timezone, and sidereal lunar calculations rather than approximating with static lookup tables.

Navamsha computes Panchang elements from live ephemeris positions using Lahiri ayanamsa, returning transition times in the caller's timezone. That lets you render 'tithi ends at 2:22 PM IST' accurately instead of showing stale midnight-boundary approximations that break user trust during Ekadashi and fasting apps.

From widget to wedding muhurta platform

Lightweight calendar widgets typically call /api/v1/panchang/daily once per user per day and cache by date plus geohash. Wedding and ritual planners layer Choghadiya and Hora endpoints to highlight auspicious windows and flag Rahu Kaal — the same endpoint family Astro Vedica uses for daily timing features.

Because Panchang routes are among the lowest-latency calls in the catalog, they suit home-screen widgets and voice assistants that refresh frequently. The launch free tier's 10,000 monthly calls supports high daily-active-user counts when you cache aggressively and only refetch when the local date rolls over.

Timezone and location handling

Always pass latitude, longitude, and timezone offset with Panchang requests. Navamsha does not hide geocoding inside chart calculations — location and timezone are explicit product inputs, which keeps behavior predictable for developers building multi-city calendar apps.

For historical dates or diaspora users outside India, deterministic ephemeris math still applies; validate edge cases around DST transitions in your target regions. Swagger documents parameter shapes — treat OpenAPI as the source of truth when you wire automated tests.

Example endpoints

GET/api/v1/panchang/daily

Daily Panchang elements

1 credit / call
GET/api/v1/panchang/choghadiya

Choghadiya windows

1 credit / call
GET/api/v1/panchang/hora

Planetary hora periods

1 credit / call

What you can build

Hindu calendar widgets

Embed daily Panchang in home screens with a single lightweight GET. Cache by date + location hash for the full day.

Wedding muhurta tools

Combine daily Panchang with Choghadiya and Hora endpoints to surface marriage windows and avoid Rahu Kaal.

Festival alert apps

Detect Ekadashi, Purnima, and Amavasya transitions programmatically and push notifications to subscribers.

How it works

  1. 1

    Provide date and geographic coordinates — Panchang is computed for local sunrise and day boundaries.

  2. 2

    Tithi, Nakshatra, Yoga, and Karana are derived from sidereal lunar and solar longitudes using Lahiri ayanamsa.

  3. 3

    Sunrise, sunset, and transition times are returned in the requested timezone for muhurta pickers.

  4. 4

    Choghadiya and Hora endpoints split the day into auspicious and inauspicious windows for ritual apps.

Sample request / response

Request

curl -G "https://api.navamsha.in/api/v1/panchang/daily" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "date=2026-06-19" \
  --data-urlencode "latitude=19.0760" \
  --data-urlencode "longitude=72.8777" \
  --data-urlencode "timezone=5.5"

Response (abbreviated)

{
  "date": "2026-06-19",
  "tithi": { "name": "Shukla Paksha, Chaturthi", "ends_at": "2026-06-19T14:22:00+05:30" },
  "nakshatra": { "name": "Rohini", "pada": 2 },
  "yoga": "Shobhana",
  "karana": "Bava",
  "sunrise": "2026-06-19T06:02:00+05:30",
  "metadata": { "ayanamsa": "lahiri", "timezone_source": "request" }
}

Built for

    Calendar apps

    Wedding muhurta tools

    Temple and festival planners

FAQ

What is the Panchang API used for?

Daily Hindu calendar elements — tithi, nakshatra, yoga, karana, sunrise, choghadiya, and hora — for muhurta pickers, festival apps, and ritual timing widgets.

What ayanamsa does Navamsha use?

Lahiri ayanamsa for sidereal Panchang calculations. Timezone-aware local sunrise and day boundaries are supported via latitude/longitude inputs.

Is there a free tier?

Yes — 10,000 free API calls per month on the launch tier. Panchang endpoints are lightweight (typically 1 credit per call).

How fast are Panchang API responses?

Panchang routes are among the fastest in the catalog — designed for calendar widgets and high-frequency daily lookups.

How is the Panchang day boundary determined?

By default, the day starts at local sunrise for the given coordinates. Verify sunrise-based vs midnight-based behavior in Swagger for your endpoint.

Can I get Panchang for future dates?

Yes — pass any valid Gregorian date. Ephemeris calculations are deterministic for past and future dates.

Does Panchang include Rahu Kaal and Gulika?

Choghadiya and dedicated timing endpoints cover inauspicious windows. Check the catalog for Rahu Kaal-specific routes.