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

KP — Horary chart (1..249)

POST
/vedic/kp/horary
request.sh
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 }'

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.

Media type application/json
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

Media type application/json
object
ok
boolean
data
object
horaryNumber
number
ascSidereal
number
ascendant
object
signName
string
starName
string
subName
string
method
string
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"
}
}
Корисно?