Zum Inhalt springen
GET /v1/contracts

List perpetual contracts

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 747,
        "exchange": "WEEX",
        "contracts": [
            {
                "symbol": "cmt_btcusdt",
                "tick_size": "1",
                "underlying": "BTC",
                "settle_coin": "USDT",
                "contract_value": "0.0001",
                "quote_currency": "USDT",
                "size_increment": "4"
            },
            {
                "symbol": "cmt_ethusdt",
                "tick_size": "2",
                "underlying": "ETH",
                "settle_coin": "USDT",
                "contract_value": "0.001",
                "quote_currency": "USDT",
                "size_increment": "3"
            },
            {
                "symbol": "cmt_bchusdt",
                "tick_size": "2",
                "underlying": "BCH",
                "settle_coin": "USDT",
                "contract_value": "0.01",
                "quote_currency": "USDT",
                "size_increment": "2"
            },
            {
                "symbol": "cmt_ltcusdt",
                "tick_size": "2",
                "underlying": "LTC",
                "settle_coin": "USDT",
                "contract_value": "0.1",
                "quote_currency": "USDT",
                "size_increment": "1"
            },
            {
                "symbol": "cmt_dogeusdt",
                "tick_size": "5",
                "underlying": "DOGE",
                "settle_coin": "USDT",
                "contract_value": "100",
                "quote_currency": "USDT",
                "size_increment": "0"
            },
            {
                "symbol": "cmt_etcusdt",
                "tick_size": "3",
                "underlying": "ETC",
                "settle_coin": "USDT",
                "contract_value": "1",
                "quote_currency": "USDT",
                "size_increment": "0"
            },
            {
                "symbol": "cmt_filusdt",
                "tick_size": "3",
                "underlying": "FIL",
                "settle_coin": "USDT",
                "contract_value": "1",
                "quote_currency": "USDT",
                "size_increment": "0"
            },
            {
                "symbol": "cmt_uniusdt",
                "tick_size": "3",
                "underlying": "UNI",
                "settle_coin": "USDT",
                "contract_value": "1",
                "quote_currency": "USDT",
                "size_increment": "0"
            },
            {
                "symbol": "cmt_solusdt",
                "tick_size": "2",
                "underlying": "SOL",
                "settle_coin": "USDT",
                "contract_value": "0.1",
                "quote_currency": "USDT",
                "size_increment": "1"
            },
            {
                "symbol": "cmt_linkusdt",
                "tick_size": "3",
                "underlying": "LINK",
                "settle_coin": "USDT",
                "contract_value":
…