Aller au contenu
GET /v1/percentile

Where today's contango ratio sits in its one-year range

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/vixterm-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/vixterm-api/v1/percentile" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vixterm-api/v1/percentile", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vixterm-api/v1/percentile");
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/vixterm-api/v1/percentile",
    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": {
        "note": "Where today's VIX/VIX3M contango ratio sits within its 251-day range (percentile). A low percentile = unusually steep contango (calm); a ratio above 1 = the curve has inverted (stress). Read fresh per call, lightly cached.",
        "read": "contango within its normal range",
        "slope": "contango",
        "source": "Yahoo Finance (^VIX, ^VIX3M)",
        "avg_ratio": 0.8767,
        "max_ratio": 1.07,
        "min_ratio": 0.758,
        "percentile": 74.5,
        "window_days": 251,
        "contango_ratio": 0.9076
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:36.870Z",
        "request_id": "4b7623ef-9722-4883-8c4d-1113f28afe42"
    },
    "status": "ok",
    "message": "Contango percentile retrieved successfully",
    "success": true
}