Skip to content
Get API key
CoreSandbox

Daily Panchang API

"operation": "daily-panchang"

Build a local daily Panchang calendar.

POST/v1/astrology/calculate
  • 500 free calls a month
  • No card needed
  • Failed calculations are free

Request

Make a calculation

Send "operation": "daily-panchang" to POST /v1/astrology/calculate from your server with your API key.

Provide a local date (YYYY-MM-DD), latitude and longitude in decimal degrees, and an IANA timezone.

request.sh
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
  -H "Authorization: Bearer $MANTRILO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"2026-11-15","latitude":28.6139,"longitude":77.209,"timezone":"Asia/Kolkata","operation":"daily-panchang"}'

Response

What comes back.

Verified New Delhi response excerpt

/v1/astrology/calculate200 OK
{
  "data": {
    "operation": "daily-panchang",
    "engineVersion": "mantrilo-vedic-1",
    "date": "2026-11-15",
    "timezone": "Asia/Kolkata",
    "basis": "local_sunrise",
    "sunrise": "06:43:19",
    "sunset": "17:27:50",
    "tithi": {
      "number": 6,
      "name": "Shashti",
      "paksha": "Shukla",
      "endsAt": "2026-11-16T02:01:40.095280+05:30"
    },
    "nakshatra": {
      "number": 21,
      "name": "Uttara Ashadha",
      "pada": 2,
      "lord": "Sun",
      "endsAt": "2026-11-15T23:29:06.472952+05:30"
    },
    "yoga": {
      "number": 10,
      "name": "Ganda",
      "endsAt": "2026-11-16T07:16:28.084160+05:30"
    },
    "karanas": [
      {
        "number": 3,
        "name": "Kolav",
        "endsAt": "2026-11-15T12:44:29.104828+05:30"
      },
      {
        "number": 4,
        "name": "Tetil",
        "endsAt": "2026-11-16T02:01:40.095280+05:30"
      }
    ],
    "rahuKalam": {
      "start": "16:07",
      "end": "17:27"
    }
  },
  "calculated": true
}

Core

Build with the result

Show data.date, sunrise, sunset, tithi, nakshatra, yoga, karanas and rahuKalam.

A successful call uses one content request. Sandbox and live requests have separate usage totals. Failed calculations are refunded.

Local dates and transition times

Send a local calendar date, coordinates and an IANA zone such as Asia/Kolkata. The adapter accepts years 1900–2100. Availability depends on the date and location. Transition timestamps include the UTC offset and can fall on the next local day.

This example is for New Delhi on November 15, 2026. Sunrise and sunset are local times. Use the location’s time zone when displaying them. For a single timestamp, use the Instant Panchang API.