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

Dashas — Shoola Mahadasha

POST
/vedic/dashas/shoola/maha
request.sh
curl -X POST https://api.astroway.info/v1/vedic/dashas/shoola/maha \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "date": "1996-12-07", "time": "10:34:00", "timezoneOffset": 5.5, "latitude": 13.0389, "longitude": 80.2619, "houseIndex": 1, "antardasaSeedOption": 2 }'

Shoola Dasha — Jaimini “Trident” rasi-dasha. Seed = stronger_rasi(asc, asc+6) by default (houseIndex=1; can be 1..12 to shift the lagna anchor). MD = 12 signs forward, 9 years each. Sub-period antara-seed option=2 by default (stronger_rasi of parent vs parent+6); option 1 = sign of lord(parent), option 3 = sign of lord(stronger). Children: equal 12-fold split, forward from antara seed.

Media type application/json

Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation.

object
date required
string
/^\d{4}-\d{2}-\d{2}$/
time required
string
/^\d{2}:\d{2}:\d{2}$/
timezoneOffset
number
0 nullable
latitude
number
0 nullable
longitude
number
0 nullable
houseSystem
string
default: P
name
string
""
city
string
""
zodiacType
string
Allowed values: tropical sidereal
ayanamsaId
number
nullable
cosmogram
boolean
targetDate
string
/^\d{4}-\d{2}-\d{2}$/
targetTime
string
/^\d{2}:\d{2}:\d{2}$/
targetTzOffset
number
nullable
houseIndex
integer
>= 1 <= 12
antardasaSeedOption
Any of:
number
Allowed values: 1
Example
{
"date": "1996-12-07",
"time": "10:34:00",
"timezoneOffset": 5.5,
"latitude": 13.0389,
"longitude": 80.2619,
"houseIndex": 1,
"antardasaSeedOption": 2
}

Successful calculation

Media type application/json
object
ok
boolean
data
object
system
string
nullable
level
string
nullable
lagna
object
seed
object
houseIndex
number
nullable
baseSign
number
nullable
sign
number
nullable
signName
string
nullable
antardasaSeedOption
number
nullable
periods
Array
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"
}
}
Корисно?