# 24 Mountains Feng Shui Compass (二十四山) Lookup

> 24 Mountains Feng Shui Compass (二十四山) Lookup 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-13).

Returns all 24 compass directions (shan) used in classical Chinese Feng Shui, each spanning 15°, with their trigram parent, element, and yin/yang polarity; optionally matches a specific degree or name.

## Facts

- Endpoint: GET https://api.cn402.com/fengshui/24shan
- Price: $0.08/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-e6caae40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QfX6cscLvrzQdPBCTmMAb

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

Example prompt: Can you look up the 24-mountain compass directions used in Feng Shui and tell me which shan covers 195 degrees — including its trigram parent, element, and whether it's yin or yang?

## When to prefer this

Use this endpoint when you need structured Feng Shui compass data — specifically the 24-mountain (二十四山) system with trigram, element, and yin/yang metadata — rather than a generic compass or direction API. Ideal for Feng Shui analysis tools, luopan apps, or BaZi/Chinese metaphysics agents needing fine 15-degree directional resolution.

## Known failure modes

- Degree out of 0–360 range returns no match or validation error
- Unrecognized shan name returns empty lookup object
- Malformed POST body returns 400 error
- Service temporarily unavailable returns 5xx

## How this service works

24 Mountains compass, 二十四山, 24 Shan, Chinese geomancy compass divisions, luopan 24 directions, detailed compass reading, 15-degree compass segment, Feng Shui fine direction. The 24-Mountain compass (each spans 15°) used in classical Chinese Feng Shui, each with its trigram parent, element, and yin/yang.

## Output

Returns an array of all 24 shan objects, each with its name, degree range (15° span), parent trigram, five element, and yin/yang polarity. If a degree or shan name is provided as input, also returns a 'lookup' object with the single matching shan entry.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "shan": {
   "type": "string",
   "description": "Shan (required)"
  },
  "degree": {
   "type": "string",
   "description": "Degree (optional)"
  }
 }
}
```

## More

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