Ir al contenido
GET /v1/honba

Honba and riichi-stick bonuses

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/mahjong-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/mahjong-api/v1/honba" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mahjong-api/v1/honba", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mahjong-api/v1/honba");
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/honba",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "Each honba counter adds 300 points to the win (100 from each player on a tsumo, all 300 from the discarder on a ron). Riichi sticks on the table are worth 1000 each and go to the winner. Sticks are picked up; honba carries to the next hand if the dealer keeps winning or on a draw.",
        "inputs": {
            "honba": 2,
            "points": 3900,
            "riichi_sticks": 1
        },
        "total_won": 5500,
        "honba_bonus": 600,
        "riichi_stick_bonus": 1000
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:46.268Z",
        "request_id": "06faedde-9d94-4e20-a671-2cef6c3b3934"
    },
    "status": "ok",
    "message": "Honba bonus",
    "success": true
}