# Feng Shui Ba Zhai Lucky Direction Calculator

> Feng Shui Ba Zhai Lucky Direction Calculator is a paid API for AI agents from api.cn402.com, paid per call via x402, $0.016/call, status unknown (last checked 2026-09-13).

Computes auspicious and inauspicious directions for a person using the Eight Mansions (Ba Zhai) Feng Shui method based on birth year and gender

## Facts

- Endpoint: GET https://api.cn402.com/fengshui/direction
- Price: $0.016/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-cn402-com-a20dfc59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mB3MriMbFpKZgxgaFwdzy

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-a20dfc59
```

Example prompt: Using the Eight Mansions Ba Zhai method, what are my lucky and unlucky Feng Shui directions? I'm a male born in 1988.

## When to prefer this

Use this endpoint when you need to compute personalized Feng Shui directions using the classical Eight Mansions (Ba Zhai) method from birth year and gender — particularly useful for apps or agents handling Chinese cultural practices, home layout advice, office orientation, or traditional metaphysics queries, especially when you need structured direction ratings rather than a generic horoscope.

## Known failure modes

- Missing or invalid birth year returns a 400 error
- Missing or unrecognized gender value causes a validation error
- Birth year out of supported range returns an error or empty result
- Payment not completed (402) blocks access to the endpoint
- Malformed POST body returns a parsing error

## How this service works

Feng Shui direction analysis, 风水方位, 8 cardinal directions, Chinese compass, luopan, 罗盘, lucky direction by birth, personal kua number direction, 命卦方位, north south east west northeast southeast southwest northwest auspicious direction. Compute lucky and unlucky directions based on birth year and gender using Eight Mansions (Ba Zhai) method.

## Output

Returns the personal kua number derived from birth year and gender, along with a set of cardinal and intercardinal directions (north, south, east, west, northeast, southeast, southwest, northwest) each rated as auspicious or inauspicious, including specific categories like sheng qi (life force), tian yi (health), yan nian (longevity), fu wei (stability), jue ming (total loss), wu gui (five ghosts), liu sha (six killings), and huo hai (mishaps).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "description": "Date YYYY-MM-DD (optional)"
  }
 }
}
```

## More

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