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

Sabian Symbols

POST
/sabian-symbols
request.sh
curl -X POST https://api.astroway.info/v1/sabian-symbols \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "longitudes": [ 54.2, 123.7, 215.3, 287.5 ] }'

Return the Sabian symbol (Dane Rudhyar) for each given ecliptic longitude.

Media type application/json
object
longitudes required
Array<number>
>= 1 items <= 360 items
Example
{
"longitudes": [
54.2,
123.7,
215.3,
287.5
]
}

Successful calculation

Media type application/json
object
ok
boolean
data
object
symbols
Array<object>
object
planet
string
longitude
number
degree
number
sign
string
sabian
string
keynote
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"
}
}
Корисно?