Panchang API

The five limbs of the day for any date and location, each with its name, number and end time, from one request. Choghadiya, planetary hours, Rahu Kaal, the festival calendar, Tamil panchanga and muhurta selection are sibling endpoints.

What the endpoint returns

POST /v1/astro/panchanga returns five objects: tithi (number 1 to 30, name, paksha, degrees elapsed and remaining, end time), vara (weekday number, name, lord), nakshatra (index, name, pada, end time), yoga (index, name, is_inauspicious, end time) and karana (number 1 to 60, name, end time). End times are ISO timestamps in UTC.

Request

curl -X POST https://api.asterwise.com/v1/astro/panchanga \
  -H "Authorization: Bearer $ASTERWISE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"1990-05-14","time":"07:20","latitude":18.5204,"longitude":73.8567,"timezone":"Asia/Kolkata"}'

Fields: date (required), time (a sunrise chart is used if omitted), latitude, longitude, timezone, ayanamsa.

Response, abbreviated

{
  "success": true,
  "data": {
    "tithi":     { "number": 19, "name": "Chaturthi", "paksha": "Krishna", "end_time": "1990-05-14T04:31:14Z" },
    "vara":      { "number": 2, "name": "Somvar", "lord": "Moon", "end_time": "1990-05-15T00:30:48Z" },
    "nakshatra": { "index": 19, "name": "Purva Ashadha", "pada": 1, "end_time": "1990-05-14T22:47:05Z" },
    "yoga":      { "index": 21, "name": "Sadhya", "is_inauspicious": false, "end_time": "1990-05-14T16:27:35Z" },
    "karana":    { "number": 38, "name": "Balava", "end_time": "1990-05-14T04:31:14Z" }
  }
}

Full field list in the daily panchanga reference.

The rest of the calendar

NeedEndpointReference
Choghadiya (day and night muhurtas)POST /v1/astro/panchanga/choghadiyadocs
Hora (planetary hours)POST /v1/astro/panchanga/horadocs
Rahu Kaal, Gulika, YamagandaPOST /v1/astro/panchanga/rahu-kaaldocs
Monthly panchanga calendarPOST /v1/astro/panchanga/calendardocs
Hindu festival calendarGET /v1/astro/panchanga/festivalsdocs
Tamil panchangaGET /v1/astro/panchanga/tamildocs
Muhurta (marriage, travel, business, griha pravesh, naming)POST /v1/astro/muhurtadocs

No code needed

The n8n community node calls this endpoint directly. Build a daily panchanga bot with n8n walks through a schedule trigger, one node and a formatted message, with a verified run. The MCP server exposes panchanga as a tool for Claude and Cursor.

Start with 500 free calls a month, no card, no expiry. Every plan includes all 118 endpoints. See pricing or create a key.