/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/dicepool-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dicepool-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dicepool-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/dicepool-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 probabilities (no simulation). Advantage rolls two and keeps the higher; pools count successes (face ≥ threshold); exploding dice re-roll on the max face. For random rolls use a dice-roller API.",
"service": "dicepool-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/pool": "Success-count probabilities for a pool of dice with a success threshold.",
"GET /v1/advantage": "Normal/advantage/disadvantage success odds and average rolls vs a target.",
"GET /v1/exploding": "Average of an exploding (acing) die vs a normal one."
},
"description": "Tabletop dice probability: D&D advantage/disadvantage odds, dice-pool success probabilities, and exploding-dice expectation."
},
"meta": {
"timestamp": "2026-06-06T07:14:07.193Z",
"request_id": "e65e0674-e8d1-4965-9b9b-cb6bc67302d4"
},
"status": "ok",
"message": "Meta",
"success": true
}