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

Dashas — Vimshottari Pratyantardasha

POST
/vedic/dashas/vimshottari/pratyantar
request.sh
curl -X POST https://api.astroway.info/v1/vedic/dashas/vimshottari/pratyantar \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "date": "1947-08-15", "time": "02:00:00", "timezoneOffset": 5.5, "latitude": 27.49, "longitude": 77.67, "targetDate": "2026-05-06" }'

Pratyantardasha (sub-sub-period) within the running Antardasha. 3-level cascade: find current MD → AD → return 9 PDs of that AD.

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
Example
{
"date": "1947-08-15",
"time": "02:00:00",
"timezoneOffset": 5.5,
"latitude": 27.49,
"longitude": 77.67,
"targetDate": "2026-05-06"
}

Successful calculation

Media type application/json
object
ok
boolean
data
object
system
string
nullable
level
string
nullable
ayanamsa
number
nullable
nakshatra
object
number
number
nullable
name
string
nullable
ruler
string
nullable
pada
number
nullable
initial
object
initialPlanetName
string
nullable
balanceYears
number
nullable
balanceMonths
number
nullable
balanceDays
number
nullable
currentMaha
object
planet
number
nullable
planetName
string
nullable
startDate
string
nullable
endDate
string
nullable
durationYears
number
nullable
currentAntar
object
planet
number
nullable
planetName
string
nullable
startDate
string
nullable
endDate
string
nullable
durationYears
number
nullable
periods
Array<object>
nullable
object
planet
number
nullable
planetName
string
nullable
startJd
number
nullable
endJd
number
nullable
startDate
string
nullable
endDate
string
nullable
durationYears
number
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"
}
}
Корисно?