Перейти до вмісту
AstroWay/api v2.95.1 · docs
усі системи в нормі

Muhurat — Marriage (Vivah)

POST
/vedic/muhurat/marriage
request.sh
curl -X POST https://api.astroway.info/v1/vedic/muhurat/marriage \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "search_window_start": "2026-05-15", "search_window_end": "2026-05-31", "latitude": 28.61, "longitude": 77.21, "timezoneOffset": 5.5, "topN": 10 }'

Auspicious-window scanner for marriage (Vivah Muhurat) over a date range. Scores each day by Tithi + Vara + Nakshatra + Yoga + Karana per Muhurta Chintamani Adhyaya 5 + B.V.Raman Muhurta Ch.6. Preferred nakshatras: Rohini/Mrigashira/Magha/Hasta/Swati/Anuradha/Mula/U.Phalguni/U.Ashadha/U.Bhadrapada/Revati. Avoid Sun/Tue/Sat. Returns top-N days sorted by score with per-day Abhijit Muhurat sub-window.

Media type application/json
object
search_window_start required
string
/^\d{4}-\d{2}-\d{2}$/
search_window_end
string
/^\d{4}-\d{2}-\d{2}$/
latitude
number
0 nullable
longitude
number
0 nullable
timezoneOffset
number
0 nullable
ayanamsaId
number
nullable
topN
integer
default: 10 >= 1 <= 60
key additional
nullable
Example
{
"search_window_start": "2026-05-15",
"search_window_end": "2026-05-31",
"latitude": 28.61,
"longitude": 77.21,
"timezoneOffset": 5.5,
"topN": 10
}

Successful calculation

Media type application/json
object
ok
boolean
data
object
activity
string
nullable
search_window
object
start
string
nullable
end
string
nullable
daysScanned
number
nullable
location
object
ayanamsa
number
nullable
auspiciousWindows
Array<object>
nullable
object
date
string
nullable
weekdayName
string
nullable
panchang
object
tithi
number
nullable
tithiName
string
nullable
paksha
string
nullable
nakshatra
number
nullable
nakshatraName
string
nullable
yoga
number
nullable
karana
string
nullable
abhijitMuhurat
object
startTime
string
nullable
endTime
string
nullable
score
number
nullable
rating
string
nullable
factors
Array
nullable
nextAuspiciousWindow
string
nullable
Example
{
"ok": true
}

Validation error

Media type application/json
Example
{
"ok": false,
"error": {
"code": "INVALID_INPUT",
"message": "Validation failed: date: Date must be YYYY-MM-DD",
"details": [
{
"path": "date",
"message": "Date must be YYYY-MM-DD"
}
]
}
}

Missing or invalid API key

Media type application/json
Example
{
"ok": false,
"error": {
"code": "INVALID_API_KEY",
"message": "Invalid API key"
}
}
Корисно?