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

KP — Transit positions

POST
/vedic/kp/transit-kp

Sidereal positions of all 9 grahas (incl. Ketu) at targetDate (default = now) with KP sub-lord chain attached. Use for KP transit-timing.

curl -X POST https://api.astroway.info/v1/vedic/kp/transit-kp \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "date": "2026-05-07", "time": "12:00:00", "timezoneOffset": 0 }'
object
date
string
time
string
timezoneOffset
number
ayanamsaId
number
Example
{
"date": "2026-05-07",
"time": "12:00:00",
"timezoneOffset": 0
}

Successful calculation

object
ok
boolean
Example
true
data
object
jd
number
ayanamsa
number
planets
Array<object>
object
graha
number
name
string
longitude
number
chain
object

Validation error

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

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