Zum Inhalt springen
GET /v1/oi

Latest open interest + change and trend

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "from": "2026-06-08T03:00:00.000Z",
        "as_of": "2026-06-09T03:00:00.000Z",
        "trend": "rising",
        "period": "1h",
        "symbol": "BTCUSDT",
        "change_pct": 2.71,
        "last_price": 62807.5,
        "open_interest": 54894.318,
        "lookback_buckets": 24,
        "open_interest_ago": 53446.06,
        "open_interest_value_usd": 3437587201.86
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:49.022Z",
        "request_id": "50833bd6-cabb-43f2-ad9f-1bc659c84862"
    },
    "status": "ok",
    "message": "Open interest retrieved successfully",
    "success": true
}