Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/craps-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "notes": "Two fair dice (36 outcomes). Come-out: win 8/36, lose 4/36, point 24/36. Point makes ways/(ways+6); true odds 4/10 2:1, 5/9 3:2, 6/8 6:5. Pass edge 1.41 %. Educational — not betting advice.",
        "service": "craps-api",
        "endpoints": {
            "GET /v1/bet": "House edge and win probability for a craps bet.",
            "GET /v1/meta": "This document.",
            "GET /v1/point": "Odds of making a point before a seven, with the true odds.",
            "GET /v1/come-out": "Come-out roll outcome probabilities (natural/craps/point)."
        },
        "description": "Craps maths: come-out roll probabilities, the odds of making a point before a seven with true odds, and the house edge of the main bets."
    },
    "meta": {
        "timestamp": "2026-06-06T23:54:03.168Z",
        "request_id": "e19ccef3-899c-4bee-952b-ec853ddc4a92"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}