# I Ching Three-Coin Divination (Yi Jing Coin Oracle)

> I Ching Three-Coin Divination (Yi Jing Coin Oracle) 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-14).

Simulates the traditional three-coin I Ching method to produce an original hexagram and transformed hexagram with changing lines from 6 coin throws

## Facts

- Endpoint: GET https://api.cn402.com/iching/coin
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-cn402-com-e4ed8d7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kwTv11OjqHXKqmDrrNpXa

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

Example prompt: Do a traditional I Ching three-coin divination for me — cast the coins six times and give me the original hexagram and the transformed hexagram with any changing lines.

## When to prefer this

Choose this endpoint when you need a stateless, server-side simulation of the classical three-coin Yi Jing method that returns both the original (本卦 BenGua) and transformed (变卦 BiangGua) hexagrams with changing lines — ideal for apps needing authentic traditional Chinese divination without implementing the coin-throw logic client-side. Prefer over the 'complete I Ching analysis' sibling endpoint when you only need the raw hexagram pair and changing lines without full textual interpretation.

## Known failure modes

- API returns 402 if payment is missing or insufficient (x402 protocol)
- Network timeout if the service is temporarily unavailable
- Malformed response if server-side coin simulation fails
- Authentication or payment header errors returning 4xx status

## How this service works

I Ching three-coin method, 摇卦, coin oracle, Three Coin Yi Jing, 铜钱占卜, traditional I Ching divination, changing lines coin toss, 本卦变卦 original transformed hexagram. Simulate the traditional three-coin Yi Jing divination: 6 throws producing original hexagram + transformed hexagram with changing lines. Accepts payment on Base or Solana — either network works.

## Output

Returns a JSON object with 'original' hexagram object, 'transformed' hexagram object, and 'changingLines' array of integers indicating which lines (1-6) are changing lines resulting from old yin/yang throws

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "description": "Seed (required)"
  }
 }
}
```

## More

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