# BaZi Minor Luck (Xiao Yun) Calculator

> BaZi Minor Luck (Xiao Yun) Calculator is a paid API for AI agents from api.cn402.com, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-15).

Computes annual minor luck (小运 Xiao Yun) pillars for early childhood years before the major luck cycle (Da Yun) begins in Chinese astrology BaZi.

## Facts

- Endpoint: GET https://api.cn402.com/bazi/xiaoyun
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-cn402-com-7dcb3e1c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_178ZD2miTy85XDcmlcd12

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-cn402-com-7dcb3e1c
```

Example prompt: Calculate the BaZi minor luck (Xiao Yun) annual fortune pillars for a boy born on July 14, 2019 at 8:30am — I want to see all the childhood luck cycles before his major Da Yun starts.

## When to prefer this

Use this endpoint when you specifically need the early childhood annual fortune periods (Xiao Yun / 小运) that precede the 10-year major luck cycles (Da Yun) in a BaZi chart. Choose this over the Da Yun endpoint when the subject is a young child whose major luck cycles have not yet started, or when you need a complete BaZi fortune analysis that includes both minor and major luck phases.

## Known failure modes

- Missing or invalid birth date/time returns 400 error
- Gender not specified may cause incorrect Xiao Yun direction calculation
- Birth time in unsupported format may fail parsing
- Payment not included or insufficient USDC results in 402 Payment Required
- Invalid year outside supported range returns error

## How this service works

Minor Luck, 小运, Xiao Yun, Chinese astrology annual fortune before Da Yun starts, child fortune periods. Compute annual minor luck pillars for early life (typically childhood years before major luck begins).

## Output

Returns a list of annual minor luck (Xiao Yun) pillars covering the childhood years before the first major luck cycle (Da Yun) begins, including heavenly stems, earthly branches, corresponding ages, and the fortune period for each year of early life.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "Target format (optional)"
  },
  "from": {
   "type": "string",
   "description": "Source format (optional)"
  },
  "birth": {
   "type": "string",
   "description": "Birth (required)"
  },
  "gender": {
   "type": "string",
   "description": "Gender (optional)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-cn402-com-7dcb3e1c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cn402.com](https://www.zero.xyz/host/api.cn402.com/llms.txt)
