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

Monthly Forecast

POST
/bazi/monthly
request.sh
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 }'

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

Media type application/json
object
Example
{
"natalDate": "1990-05-15",
"targetYear": 2026,
"targetMonth": 6
}

Successful calculation

Media type application/json
object
ok
boolean
data
object
natalDayMaster
object
targetPillar
object
pillar
string
elementFlow
object
branchInteractions
object
clashes
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"
}
}
Корисно?