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/blackjack-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "notes": "4–8 deck, dealer stands soft 17, DAS. Cards: 2-10, j/q/k, a. Strategy double/split assume a two-card hand. Educational — not betting advice; the house always keeps an edge.",
        "service": "blackjack-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/strategy": "Basic-strategy action (hit/stand/double/split) for a hand vs a dealer upcard.",
            "GET /v1/hand-value": "Best total, soft/hard, bust and blackjack for a set of cards.",
            "GET /v1/dealer-odds": "Dealer bust probability by upcard."
        },
        "description": "Blackjack maths: best hand value, the basic-strategy action for a hand vs a dealer upcard, and the dealer's bust probability by upcard."
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:40.112Z",
        "request_id": "b12aae84-426f-43c9-95fd-67d1def2147c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}