latitude, longitude (required - e.g. from Google Places autocomplete), optional date (YYYY-MM-DD, defaults to today IST).GET /panchang (which needs a logged-in user's saved current location). Returns the exact same tithi/nakshatra/yoga/karana/sunrise/sunset/Rahu Kaal/Gulika Kaal/Yamaganda/Abhijit Muhurat/Choghadiya + guidance data, computed for whatever coordinates are passed. Stateless - nothing is written to the database. Cached in Redis only for 24h per (date, ~1km grid) so repeat/crawler hits don't recompute, but no permanent row is ever created (unlike the authed endpoint's shared panchangs table).200 - data.panchang_data (full panchang) + data.glossary[] (plain-language term definitions).422 - invalid date format or missing/out-of-range latitude/longitude.curl --location 'https://uat-api.hastaai.in/api/v1/public/panchang?latitude=undefined&longitude=undefined&date=undefined'{
"success": true,
"message": "Panchang fetched",
"data": {
"panchang_data": {
"panchang_date": "2026-06-13",
"latitude": 19.08,
"longitude": 72.88,
"timezone": "Asia/Kolkata",
"city": "Mumbai",
"state": "Maharashtra",
"country": "India",
"sunrise": "06:04:15",
"sunset": "19:12:25",
"tithi": "Krishna Dwadashi",
"nakshatra": "Ashwini",
"yoga": "Atiganda",
"karana": "Kaulava",
"rahu_kaal": "10:59 - 12:38",
"gulika_kaal": "07:42 - 09:21",
"yamaganda": "15:55 - 17:33",
"abhijit_muhurat": "12:12 - 13:04",
"what_to_do": [
"Begin important work during an auspicious Choghadiya window.",
"Offer prayers around sunrise."
],
"what_not_to_do": [
"Avoid starting new ventures during Rahu Kaal."
],
"what_to_avoid": [
"Stay measured during Atiganda yoga - avoid haste."
],
"choghadiya": {
"day": [
{
"name": "Char",
"type": "neutral",
"start": "06:04",
"end": "07:42"
},
{
"name": "Labh",
"type": "good",
"start": "07:42",
"end": "09:20"
}
],
"night": [
{
"name": "Shubh",
"type": "good",
"start": "19:12",
"end": "20:34"
},
{
"name": "Amrit",
"type": "good",
"start": "20:34",
"end": "21:56"
}
]
},
"raw_data": {
"weekday": "Saturday",
"paksha": "Krishna"
}
},
"glossary": [
{
"slug": "nakshatra",
"term": "Nakshatra",
"meaning": "The Moon's 'star home' among 27 lunar mansions. It colours the day's energy and your natural instincts."
}
]
}
}