Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/odds-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

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