/v1/meta
Service metadata
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/cotindex-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cotindex-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cotindex-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/cotindex-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "market is one of /v1/markets keys (gold, eur, sp500, ...). group is noncomm (large speculators, default) or comm (commercial hedgers). weeks is the lookback (26-156, default 156). class filters the screener to fx/index/metal/energy/grain (default all). COT updates Fridays; a 30-minute protective cache fronts the shared CFTC upstream.",
"groups": [
"noncomm",
"comm"
],
"source": "CFTC Commitments of Traders, legacy futures-only combined report (Socrata), live",
"classes": [
"fx",
"index",
"metal",
"energy",
"grain"
],
"markets": 17,
"service": "cotindex-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/index": "COT Index for one market, both trader groups, with extreme flag (market=gold, weeks=156).",
"GET /v1/markets": "The supported futures markets and their CFTC codes.",
"GET /v1/screener": "Rank markets by COT Index, flagging crowded extremes (group=noncomm, class=all, weeks=156)."
},
"description": "COT Index — the normalised Commitments-of-Traders positioning signal, computed live from the CFTC public reporting API (no key). It normalises each trader group's net futures position to a 0-100 percentile over a lookback window (classic 156-week COT Index): above 80 = crowded long (contrarian bearish), below 20 = crowded short (contrarian bullish). index returns one market's COT Index for both large speculators and commercials with an extreme flag; screener ranks a curated set of FX, index, metal, energy and grain futures by their positioning extreme. The normalised positioning-signal cut — distinct from the raw COT-report feed, the price, open-interest and options-positioning APIs. It turns the report into the signal.",
"upstream_status": "ok",
"gold_noncomm_cot_index": 42.9
},
"meta": {
"timestamp": "2026-06-12T10:34:56.499Z",
"request_id": "32aba38d-a31b-4d8f-86a6-d12b86d2c726"
},
"status": "ok",
"message": "Meta",
"success": true
}