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

Horary Moon VOC

POST
/api/v1/horary/moon-voc

Check if the Moon is void-of-course in this horary chart and return the last aspect it made and when it enters the next sign.

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": {
"voc": false,
"lastAspect": {
"planet": "Mars",
"type": "trine",
"date": "2024-06-15 10:15"
},
"nextSignEntry": {
"sign": "Cancer",
"date": "2024-06-16 18:42"
}
}
}

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