Mahjong Hand Checker

Scoring follows Ordstirr's own written rule sets (house rules from published faan/tai lists), not an official tournament ruling.

Terms of service: informational only, as is, refund limited to the price of the call. Refund requests: li8ertyapps@gmail.com.

POST /v1/check-hand $0.02

Check a mahjong hand: win or not, shape, waits, shanten and score (Hong Kong, Taiwanese, Riichi shape, Chinese Official shape)

{
  "rules": "hk",
  "tiles": "234c 567b 789d 555d 66b",
  "winning_tile": "6b",
  "self_drawn": true,
  "seat_wind": "E",
  "round_wind": "E"
}

Paid with x402 (USDC). Unpaid calls get HTTP 402 with payment terms. Invalid input gets HTTP 400 and is never charged.