# Personal Lucky Colors by Birth Date (Five Elements / BaZi)

> Personal Lucky Colors by Birth Date (Five Elements / BaZi) 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-15).

Returns lucky and unlucky colors for a person based on their birth date using Chinese Five Elements (Wu Xing) and BaZi compatibility analysis.

## Facts

- Endpoint: GET https://api.cn402.com/folk/lucky-color
- Price: $0.016/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-e4c020cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GEmD40U3416yNJdH2dOAj

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

Example prompt: Based on Chinese Five Elements and BaZi, what are the lucky and unlucky colors for someone born on March 15, 1990?

## When to prefer this

Use this endpoint when you need a culturally grounded Chinese folk or Feng Shui color recommendation derived from a person's birth date via BaZi / Five Elements analysis, as opposed to generic color palette generators or Western astrology color associations.

## Known failure modes

- Invalid or missing birth date returns an error
- Birth date in unsupported format causes parsing failure
- Edge cases for very old or future birth dates may not resolve correctly

## How this service works

Personal lucky colors, 个人幸运颜色, Chinese Feng Shui colors, 命理幸运色, BaZi lucky color, Five Elements color matching, 五行颜色, personal color Feng Shui, Chinese folk color recommendation. Determine personal lucky and unlucky colors from birth date based on Five Elements (Wu Xing) compatibility.

## Output

Returns an array of recommended lucky colors and an array of colors to avoid, along with the person's dominant Five Element and the birth date used for the calculation.

## Request schema (JSON Schema)

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

## More

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