Zum Inhalt springen
GET /v1/category

Futures in one category

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cmefutures-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/cmefutures-api/v1/category" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cmefutures-api/v1/category", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cmefutures-api/v1/category");
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/cmefutures-api/v1/category",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 4,
        "quotes": [
            {
                "low": 79.7,
                "code": "CL",
                "high": 82.42,
                "last": 80.28,
                "name": "WTI Crude Oil",
                "open": 81.4,
                "volume": 72767,
                "category": "energy",
                "contract": "NYMEX:CL1!",
                "currency": "USD",
                "change_abs": -4.6,
                "change_pct": -5.4194
            },
            {
                "low": 3.017,
                "code": "NG",
                "high": 3.094,
                "last": 3.018,
                "name": "Natural Gas",
                "open": 3.085,
                "volume": 17962,
                "category": "energy",
                "contract": "NYMEX:NG1!",
                "currency": "USD",
                "change_abs": -0.102,
                "change_pct": -3.2692
            },
            {
                "low": 2.8591,
                "code": "RB",
                "high": 2.96,
                "last": 2.873,
                "name": "RBOB Gasoline",
                "open": 2.9374,
                "volume": 8285,
                "category": "energy",
                "contract": "NYMEX:RB1!",
                "currency": "USD",
                "change_abs": -0.1137,
                "change_pct": -3.8069
            },
            {
                "low": 3.2114,
                "code": "HO",
                "high": 3.316,
                "last": 3.2577,
                "name": "Heating Oil",
                "open": 3.3,
                "volume": 6221,
                "category": "energy",
                "contract": "NYMEX:HO1!",
                "currency": "USD",
                "change_abs": -0.1062,
                "change_pct": -3.157
            }
        ],
        "category": "energy"
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:50.152Z",
        "request_id": "b64e55e6-0a9b-4143-abfa-7b367c52ab52"
    },
    "status": "ok",
    "message": "Category retrieved successfully",
    "success": true
}