The upanayana API provides auspicious dates and timings for performing the Upanayana ceremony. It uses traditional Vedic astrology and Panchang calculations to identify suitable Muhurta for the ceremony. The response includes recommended dates, timings, and relevant astrological details that can be used when planning the event.
https://json.astrologyapi.com/v1/monthly_muhurta/upanayanax-astrologyapi-keystringrequiredAPI access token used to authenticate requests. Send your access token in this custom header.
Accept-LanguagestringPreferred language for the response content. Supported: English - en.
monthintrequiredMonth for which Muhurta timings are requested, eg: 9
yearintrequiredYear for which Muhurta timings are requested, eg: 2026
latfloatrequiredLatitude, eg: 19.132234
lonfloatrequiredLongitude, eg: 72.13245
tzonefloatrequiredTimezone, eg: 5.5
curl --location 'https://json.astrologyapi.com/v1/monthly_muhurta/upanayana' \
--header 'Content-Type: application/json' \
--header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
--data '{
"month": 9,
"year": 2026,
"lat": 19.132234,
"lon": 72.13245,
"tzone": 5.5
}'
Runs with sample data — no API key needed
{
"muhuruta_available": 10,
"muhurtas": [
{
"date": "19-06-2026",
"score": 90,
"start_time": "10:06",
"end_time": "14:53",
"is_ending_next_day": false,
"is_late_night": false
},
{
"date": "22-06-2026",
"score": 90,
"start_time": "10:30",
"end_time": "06:04",
"is_ending_next_day": true,
"is_late_night": false
},
{
"date": "28-06-2026",
"score": 90,
"start_time": "01:08",
"end_time": "03:06",
"is_ending_next_day": false,
"is_late_night": true
}
]
}