Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/craps-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "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
}