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

KP — Horary chart (1..249)

POST
/vedic/kp/horary

KP horary number lookup: given a number 1..249, returns the canonical KP-table ASC longitude + sub-lord chain. The horary moment is the call moment passed in the body.

curl -X POST https://api.astroway.info/v1/vedic/kp/horary \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "horaryNumber": 108, "date": "2026-05-07", "time": "12:00:00", "timezoneOffset": 0, "latitude": 13.0389, "longitude": 80.2619 }'
object
horaryNumber
required
integer
>= 1 <= 249
date
required
string
time
required
string
timezoneOffset
required
number
latitude
required
number
longitude
required
number
ayanamsaId
number
Example
{
"horaryNumber": 108,
"date": "2026-05-07",
"time": "12:00:00",
"timezoneOffset": 0,
"latitude": 13.0389,
"longitude": 80.2619
}

Successful calculation

object
ok
boolean
Example
true
data
object
horaryNumber
number
ascSidereal
number
ascendant
object
signName
string
starName
string
subName
string
method
string

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"
}
}
Корисно?