/v1/index
COT Index for one market (both trader groups)
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/cotindex-api/v1/index" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cotindex-api/v1/index", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cotindex-api/v1/index");
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/cotindex-api/v1/index",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"comm": {
"extreme": "neutral",
"cot_index": 53.5,
"weeks_used": 156,
"net_position": -206345,
"window_max_net": -90428,
"window_min_net": -339706,
"net_change_week": -20579,
"cot_index_change": -8.3,
"cot_index_prev_week": 61.8
},
"name": "Gold",
"note": "COT Index normalises each group's net futures position to 0-100 over the last window_weeks (Larry Williams style). 100 = most net long in the window, 0 = most net short. Above 80 = crowded long (contrarian bearish); below 20 = crowded short (contrarian bullish). noncomm = large speculators, comm = commercial hedgers (often the opposite side). Source CFTC, updated weekly.",
"class": "metal",
"market": "gold",
"source": "CFTC Commitments of Traders (legacy futures-only)",
"noncomm": {
"extreme": "neutral",
"cot_index": 42.9,
"weeks_used": 156,
"net_position": 176020,
"window_max_net": 315390,
"window_min_net": 71433,
"net_change_week": 21760,
"cot_index_change": 8.9,
"cot_index_prev_week": 34
},
"traders": 258,
"report_date": "2026-06-02",
"window_weeks": 156,
"open_interest": 326052
},
"meta": {
"timestamp": "2026-06-12T10:34:55.611Z",
"request_id": "07ee73df-9933-4fa9-80f9-64f5be074fc5"
},
"status": "ok",
"message": "COT Index retrieved successfully",
"success": true
}