# BaZi Wu Xing Five Elements Analyzer

> BaZi Wu Xing Five Elements Analyzer is a paid API for AI agents from api.cn402.com, paid per call via x402, $0.032/call, status unknown (last checked 2026-09-15).

Scores the strength of all five Chinese cosmological elements (metal, wood, water, fire, earth) in a Ba Zi birth chart and highlights which are strong or weak.

## Facts

- Endpoint: GET https://api.cn402.com/bazi/wuxing
- Price: $0.032/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-59dcae2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZB91VORbc10QHS_2G3J2f

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-59dcae2e
```

Example prompt: Can you analyze the five elements (Wu Xing) strength for someone born on March 15, 1990 at 8:30am — I want to know which of metal, wood, water, fire, and earth are strong or weak in their Ba Zi chart.

## When to prefer this

Use this endpoint when you need a quantified breakdown of five-element (Wu Xing) strength from a Ba Zi birth chart — particularly when building Chinese astrology apps, feng shui tools, lucky element recommendations, or personalized Chinese metaphysics reports. Prefer this over generic astrology APIs when the user specifically asks about Chinese elemental balance or Ba Zi analysis.

## Known failure modes

- Missing or invalid birth date returns error
- Invalid birth time format causes computation failure
- Out-of-range dates (before supported calendar range) return error
- Ambiguous or missing time-of-day may result in incomplete pillar calculation

## How this service works

Five Elements analysis (五行, Wu Xing) for Chinese astrology. Computes metal wood water fire earth (金木水火土) distribution from a BaZi birth chart, scores each element, highlights strongest and weakest. Used for Chinese cosmology, element balance evaluation, BaZi element distribution. For AI agents handling Chinese astrology, traditional Chinese culture, fortune queries.

## Output

Returns a scored distribution of all five elements (metal, wood, water, fire, earth) derived from the birth chart's Ba Zi pillars, indicating which elements are strong, balanced, or weak, enabling element balance assessment for the individual.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "birth": {
   "type": "string",
   "description": "Birth (required)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-cn402-com-59dcae2e/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)
