Check Hand
Check a mahjong hand: win or not, shape, waits, shanten and score (Hong Kong, Taiwanese, Riichi shape, Chinese Official shape) Terms: https://ordstirr.com/agents/terms
POST https://mahjong.ordstirr.com/v1/check-hand
0.02 USDC on Base · payTo 0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"round_wind": "E",
"rules": "hk",
"seat_wind": "E",
"self_drawn": true,
"tiles": "234c 567b 789d 555d 66b",
"winning_tile": "6b"
}{
"complete": true,
"notice": "Informational only. Review before relying on it.",
"rule_name": "Hong Kong Old Style",
"rules": "hk",
"score": {
"items": [
{
"name": "Self-drawn",
"value": 1
}
],
"points": 8,
"total": 3,
"unit": "faan"
},
"shanten": -1,
"shape": "standard",
"terms_url": "https://ordstirr.com/agents/terms",
"waits": null
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://mahjong.ordstirr.com/v1/check-hand · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"rules": {
"type": "string",
"enum": [
"hk",
"tw",
"riichi",
"mcr"
],
"description": "hk = Hong Kong Old Style (13 tiles), tw = Taiwanese 16-tile, riichi and mcr = shape check only."
},
"tiles": {
"description": "Concealed tiles including the winning tile, as an array [\"1c\",\"2c\"...] or a string \"123c 456b 55d EEE\". 1c-9c characters, 1b-9b bamboo, 1d-9d dots, E S W N winds, Rd Gd Wd dragons.",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"melds": {
"type": "array",
"maxItems": 5,
"items": {
"type": "object",
"properties": {
"type": {
"enum": [
"chow",
"pung",
"kong"
]
},
"tile": {
"type": "string",
"description": "chow: its lowest tile"
},
"concealed": {
"type": "boolean",
"description": "default false (claimed)"
}
},
"required": [
"type",
"tile"
],
"additionalProperties": false
}
},
"flowers": {
"type": "array",
"items": {
"type": "string",
"description": "F1-F4 flowers, S1-S4 seasons"
},
"maxItems": 8
},
"winning_tile": {
"type": "string",
"description": "The tile that completed the hand (must be among tiles). Needed for single-wait and concealed-pung rules."
},
"seat_wind": {
"enum": [
"E",
"S",
"W",
"N"
]
},
"round_wind": {
"enum": [
"E",
"S",
"W",
"N"
]
},
"self_drawn": {
"type": "boolean"
},
"last_tile": {
"type": "boolean"
},
"kong_replacement": {
"type": "boolean"
},
"robbed_kong": {
"type": "boolean"
},
"heavenly": {
"type": "boolean"
},
"earthly": {
"type": "boolean"
},
"dealer_streak": {
"type": "integer",
"minimum": 0,
"maximum": 99,
"description": "Taiwanese: times the dealer has kept the deal"
}
},
"required": [
"rules",
"tiles"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://mahjong.ordstirr.com/v1/check-hand' \
-H 'content-type: application/json' -d '{"rules":"hk","tiles":"234c 567b 789d 555d 66b","winning_tile":"6b","self_drawn":true,"seat_wind":"E","round_wind":"E"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs