Naar de inhoud
GET /v1/contracts

List perpetual contracts

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/weex-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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":
…