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

Via Combusta Check

POST
/api/v1/horary/via-combusta

Check if the Moon or ASC is in the Via Combusta (15° Libra – 15° Scorpio), a classical prohibition in horary.

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": {
"moonViaCombusta": false,
"moonLongitude": 75.4,
"moonSign": "Gemini",
"ascViaCombusta": false,
"ascLongitude": 180.5,
"warning": null
}
}

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