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

Monthly Forecast

POST
/bazi/monthly

Same Sheng-Ke + branch-clash analysis as yearly, but applied to a specific calendar month. Month branch resolved via mid-month jieqi.

curl -X POST https://api.astroway.info/v1/bazi/monthly \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "natalDate": "1990-05-15", "targetYear": 2026, "targetMonth": 6 }'
object
Example
{
"natalDate": "1990-05-15",
"targetYear": 2026,
"targetMonth": 6
}

Successful calculation

object
ok
boolean
Example
true
data
object
natalDayMaster
object
targetPillar
object
pillar
string
elementFlow
object
branchInteractions
object
clashes
Array

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"
}
}
Корисно?