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
| Need | Endpoint | Reference |
|---|---|---|
| Choghadiya (day and night muhurtas) | POST /v1/astro/panchanga/choghadiya | docs |
| Hora (planetary hours) | POST /v1/astro/panchanga/hora | docs |
| Rahu Kaal, Gulika, Yamaganda | POST /v1/astro/panchanga/rahu-kaal | docs |
| Monthly panchanga calendar | POST /v1/astro/panchanga/calendar | docs |
| Hindu festival calendar | GET /v1/astro/panchanga/festivals | docs |
| Tamil panchanga | GET /v1/astro/panchanga/tamil | docs |
| Muhurta (marriage, travel, business, griha pravesh, naming) | POST /v1/astro/muhurta | docs |
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.