Перейти до вмісту

Horary Diagnostics

POST
/api/v1/horary/diagnostics

Run a full horary radicality diagnostic including early/late ASC, Via Combusta, Saturn in 7th, and considerations before judgement.

object
Example
{
"date": "2024-06-15",
"time": "14:30:00",
"timezoneOffset": 3,
"latitude": 50.45,
"longitude": 30.52
}

Successful calculation

object
ok
boolean
Example
true
data
object
Example
{
"ok": true,
"data": {
"radical": false,
"issues": [
{
"rule": "Late Ascendant",
"value": "28°14'",
"severity": "warning"
}
],
"passed": [
"Moon not VOC",
"Ascendant not early"
],
"recommendation": "Chart may be considered with caution"
}
}

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"
}
}