/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/mahjong-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mahjong-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mahjong-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"notes": "Exact riichi scoring: base = fu × 2^(2+han), ron base×4 (dealer ×6) round up to 100, tsumo split base×2/base×1. Limits mangan→yakuman. Japanese rules; for other variants (MCR, HK) the tables differ.",
"service": "mahjong-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/honba": "Honba-counter and riichi-stick bonuses on top of a won hand.",
"GET /v1/limit": "Limit-hand classification (mangan … yakuman) from han and fu.",
"GET /v1/score": "Points a winning hand pays from han, fu, dealer status and win type."
},
"description": "Riichi (Japanese) mahjong scoring: points from han and fu, limit-hand classification, and honba/riichi-stick bonuses."
},
"meta": {
"timestamp": "2026-06-06T15:30:46.577Z",
"request_id": "5a099961-8266-4597-9beb-93335fce5827"
},
"status": "ok",
"message": "Meta",
"success": true
}