Zum Inhalt springen
GET /v1/basis

A coin spot-perp basis, premium and funding

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "base": "BTC",
        "symbol": "BTCUSDT",
        "basis_abs": -35.5,
        "basis_pct": -0.0565,
        "structure": "backwardation",
        "mark_price": 62827.44,
        "perp_price": 62821.2,
        "spot_price": 62856.7,
        "index_price": 62860.31,
        "funding_rate": -5.56e-6,
        "funding_8h_pct": -0.0006,
        "funding_annualized_pct": -0.61,
        "mark_index_premium_pct": -0.0523
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:06.835Z",
        "request_id": "c6fe828e-4139-4bc7-88aa-b709251855ac"
    },
    "status": "ok",
    "message": "Basis retrieved successfully",
    "success": true
}