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/roulette-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/roulette-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/roulette-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/roulette-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/roulette-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": "Bets: straight, split, street, corner, sixline, column, dozen, even. Wheel european (37) or american (38). Edge 2.70 %/5.26 %. Educational — not betting advice; the house always wins long-run.",
        "service": "roulette-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/payout": "Payout, win probability and house edge for a bet type and wheel.",
            "GET /v1/martingale": "Total risked, final bet and bust probability of a martingale progression.",
            "GET /v1/expected-value": "Expected value and loss of a stake on a bet."
        },
        "description": "Roulette maths: payout/probability/house-edge of a bet, the expected value of a stake, and martingale exposure."
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:39.663Z",
        "request_id": "e50998ea-e40f-4cab-8cbc-15c1a538927c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}