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/odds-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/odds-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/odds-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/odds-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/odds-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": "Decimal odds are the total return per 1 staked (must be > 1). American odds are ≥ +100 or ≤ −100. Fractional like '5/2'.",
        "service": "odds-api",
        "formulae": {
            "parlay": "product of the legs' decimal odds",
            "american_to_decimal": "+a → a/100 + 1 ; −a → 100/|a| + 1",
            "implied_probability": "1 / decimal"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/parlay": "Combine several decimal odds into one accumulator with its payout.",
            "GET /v1/payout": "Profit and total return for a stake at given odds.",
            "GET /v1/convert": "Convert any odds format (decimal, fractional, American, probability) to all the others."
        },
        "description": "Betting-odds calculator: convert between decimal, fractional, American (moneyline) odds and implied probability, compute payouts, and combine a parlay."
    },
    "meta": {
        "timestamp": "2026-06-05T03:08:59.412Z",
        "request_id": "5a51eca0-e57f-4089-adc7-c6810e364629"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}