ToolAssay

Check a mahjong 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

Answeringour last check, 2026-11-27
4 of 4checks answered this week
760 msmedian answer time
$0.02listed price per call
$0.02price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://mahjong.ordstirr.com/v1/check-hand

CategoryEverything else
Provider hostmahjong.ordstirr.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.02 737 ms
2026-11-26 valid payment request 402$0.02 784 ms
2026-11-25 valid payment request 402$0.02 829 ms
2026-11-24 valid payment request 402$0.02 341 ms

Example input (from the provider)

{
  "body": {
    "round_wind": "E",
    "rules": "hk",
    "seat_wind": "E",
    "self_drawn": true,
    "tiles": "234c 567b 789d 555d 66b",
    "winning_tile": "6b"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "dealer_streak": {
              "description": "Taiwanese: times the dealer has kept the deal",
              "maximum": 99,
              "minimum": 0,
              "type": "integer"
            },
            "earthly": {
              "type": "boolean"
            },
            "flowers": {
              "items": {
                "description": "F1-F4 flowers, S1-S4 seasons",
                "type": "string"
              },
              "maxItems": 8,
              "type": "array"
            },
            "heavenly": {
              "type": "boolean"
            },
            "kong_replacement": {
              "type": "boolean"
            },
            "last_tile": {
              "type": "boolean"
            },
            "melds": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "concealed": {
                    "description": "default false (claimed)",
                    "type": "boolean"
                  },
                  "tile": {
                    "description": "chow: its lowest tile",
                    "type": "string"
                  },
                  "type": {
                    "enum": [
                      "chow",
                      "pung",
                      "kong"
                    ]
                  }
                },
                "required": [
                  "type",
                  "tile"
                ],
                "type": "object"
              },
              "maxItems": 5,
              "type": "array"
            },
            "robbed_kong": {
              "type": "boolean"
            },
            "round_wind": {
              "enum": [
                "E",
                "S",
                "W",
                "N"
              ]
            },
            "rules": {
              "description": "hk = Hong Kong Old Style (13 tiles), tw = Taiwanese 16-tile, riichi and mcr = shape check only.",
              "enum": [
                "hk",
                "tw",
                "riichi",
                "mcr"
              ],
              "type": "string"
            },
            "seat_wind": {
              "enum": [
                "E",
                "S",
                "W",
                "N"
              ]
            },
            "self_drawn": {
              "type": "boolean"
            },
            "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"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "winning_tile": {
              "description": "The tile that completed the hand (must be among tiles). Needed for single-wait and concealed-pung rules.",
              "type": "string"
            }
          },
          "required": [
            "rules",
            "tiles"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON