{"slug":"mahjong-ordstirr-com-v1-check-hand-9d49e0","title":"Check a mahjong hand","host":"mahjong.ordstirr.com","method":"POST","resource":"https://mahjong.ordstirr.com/v1/check-hand","category":"other","description":"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","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":760,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":737,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":784,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":829,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":341,"error":null}],"description_full":"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","last_updated":"2026-11-24T01:02:50.784Z","schemes":["exact"]}