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

Trutine of Hermes

POST
/api/v1/rectification/trutine

Apply the Trutine of Hermes (Animodar) technique to derive the birth time from the Moon’s prenatal syzygy position.

object
Example
{
"date": "1990-05-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": {
"syzygyType": "full_moon",
"syzygyDate": "1990-04-10",
"moonAtSyzygy": 200.3,
"correctedTime": "13:52:00",
"correctedAscendant": 182.1
}
}

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