---
title: "Yearly Forecast"
method: POST
path: "/bazi/yearly"
tags: ["BaZi (Four Pillars)"]
---

# Yearly Forecast

`POST /bazi/yearly`

Compares target year pillar against natal day master + natal year branch. Returns element-flow relation (companion / mother / output / control / wealth) per Sheng-Ke cycle, branch clashes (六冲), and trine support (三合).

## Request body

- BaziYearlyInput
  - `natalDate` string, required
  - `natalTime` string
  - `natalTzOffset` number
  - `targetYear` integer, required

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `natalDayMaster` object, nullable
      - `element` string, nullable
      - `yin` boolean, nullable
    - `targetPillar` object, nullable
      - `pillar` string, nullable
      - `animal` string, nullable
    - `elementFlow` object, nullable
      - `stem` object, nullable
        - `element` string, nullable
        - `relation` string, nullable
        - `flavor` string, nullable
      - `branch` object, nullable
    - `branchInteractions` object, nullable
      - `clashes` unknown[], nullable
        - unknown
      - `trineSupport` unknown[], nullable
        - unknown

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/6828e5609564/schema)
