Zum Inhalt springen
GET /v1/contracts

List every perpetual contract with specs

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 1,
        "venue": "edgex",
        "contracts": [
            {
                "name": "BTCUSD",
                "base_coin": null,
                "step_size": 0.001,
                "tick_size": 0.1,
                "quote_coin": null,
                "contract_id": "10000001",
                "max_leverage": 10,
                "min_order_size": 0.003
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:59.198Z",
        "request_id": "66e1b5ea-f44d-4901-916c-6cdf2c75e78d"
    },
    "status": "ok",
    "message": "Contracts retrieved successfully",
    "success": true
}