/v1/limit
Limit-hand classification
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/mahjong-api/v1/limit" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mahjong-api/v1/limit", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mahjong-api/v1/limit");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/mahjong-api/v1/limit",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Limit hands cap the score: mangan (5 han, or 3–4 han with high fu where base reaches 2000) = 2000 base, haneman (6–7) = 3000, baiman (8–10) = 4000, sanbaiman (11–12) = 6000, yakuman (13+) = 8000. A non-dealer mangan ron is 8000 points; a dealer mangan ron is 12000.",
"limit": "haneman",
"inputs": {
"fu": 30,
"han": 7
},
"base_points": 3000,
"is_limit_hand": true
},
"meta": {
"timestamp": "2026-06-06T15:30:46.376Z",
"request_id": "a37f5028-0e6b-4f45-b493-d10a5651cb6e"
},
"status": "ok",
"message": "Limit hand",
"success": true
}