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

Stream Retrograde Alerts

POST
/stream/retrograde-alerts
request.sh
curl -X POST https://api.astroway.info/v1/stream/retrograde-alerts \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{}'

All planets retro state + next stations.

Media type application/json
object
Example
{}

Successful calculation

Media type application/json
object
ok
boolean
data
object
planets
Array
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"
}
}
Корисно?