# BaZi Shen Sha (神煞) Calculator

> BaZi Shen Sha (神煞) 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 all major auspicious and inauspicious stars (Shen Sha) appearing in a BaZi chart, including Tian Yi Gui Ren, Tao Hua, Yi Ma, and other spirit influences

## Facts

- Endpoint: GET https://api.cn402.com/bazi/shensha
- 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-efab4454
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UhqAL8vEofZLWQxkbBkxP

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

Example prompt: What are all the shen sha (神煞) stars in the BaZi chart for someone born on March 15, 1990 at 3:30am? I want to know which auspicious stars like Tian Yi Gui Ren and Tao Hua are present, and any inauspicious ones too.

## When to prefer this

Use this endpoint when you need a complete Shen Sha analysis for a BaZi chart — specifically when the user wants to know which auspicious stars (like nobleman, peach blossom, traveling horse) or inauspicious stars are active in their Four Pillars. Prefer this over general BaZi endpoints when the focus is on spirit star influences rather than Ten Gods, Da Yun cycles, or Qi Men divination.

## Known failure modes

- Invalid or missing birth date/time returns error
- Ambiguous hour pillar due to missing birth time may yield incomplete results
- Out-of-range dates unsupported by the Chinese calendar engine return error
- Malformed request body returns 400-level response

## How this service works

Shen Sha, 神煞, BaZi auspicious and inauspicious stars, Chinese astrology spirit influences, Tian Yi Gui Ren 天乙贵人, Tao Hua 桃花, Yi Ma 驿马, nobleman peach blossom traveling horse stars. Compute all major shensha (auspicious/inauspicious stars) appearing in a BaZi chart.

## Output

Returns a list of shensha star names (auspicious and inauspicious) present in the BaZi chart, such as Tian Yi Gui Ren (nobleman), Tao Hua (peach blossom), Yi Ma (traveling horse), along with the resolved datetime of the chart.

## 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-efab4454/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)
