Vai al contenuto
GET /v1/markets

Tradable spot pairs with fees and limits

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/whitebit-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 340,
        "quote": "USDT",
        "source": "WhiteBIT",
        "markets": [
            {
                "base": "BNB",
                "quote": "USDT",
                "market": "BNB_USDT",
                "tradable": true,
                "max_total": 10000000000,
                "min_total": 1,
                "min_amount": 0.001,
                "maker_fee_pct": 0.1,
                "taker_fee_pct": 0.1,
                "base_precision": 3,
                "quote_precision": 2
            },
            {
                "base": "ZRX",
                "quote": "USDT",
                "market": "ZRX_USDT",
                "tradable": true,
                "max_total": 1000000000,
                "min_total": 1,
                "min_amount": 10,
                "maker_fee_pct": 0.1,
                "taker_fee_pct": 0.1,
                "base_precision": 2,
                "quote_precision": 4
            },
            {
                "base": "ZIL",
                "quote": "USDT",
                "market": "ZIL_USDT",
                "tradable": true,
                "max_total": 100000,
                "min_total": 1,
                "min_amount": 100,
                "maker_fee_pct": 0.1,
                "taker_fee_pct": 0.1,
                "base_precision": 4,
                "quote_precision": 6
            },
            {
                "base": "BAT",
                "quote": "USDT",
                "market": "BAT_USDT",
                "tradable": true,
                "max_total": 1000000000,
                "min_total": 1,
                "min_amount": 1,
                "maker_fee_pct": 0.1,
                "taker_fee_pct": 0.1,
                "base_precision": 2,
                "quote_precision": 4
            },
            {
                "base": "BTC",
                "quote": "USDT",
                "market": "BTC_USDT",
                "tradable": true,
                "max_total": 10000000,
                "min_total": 1,
                "min_amount": 1.0e-5,
                "maker_fee_pct": 0.1,
                "taker_fee_pct": 0.1,
                "base_precision": 6,
                "quote_precision": 2
            },
            {
                "base": "ETH",
                "quote": "USDT",
                "market": "ETH_USDT",
                "tradable": true,
                "max_total": 100000000,
                "min_total": 1,
                "min_amount": 0.0001,
                "maker_fee_pct": 0.1,
                "taker_fee_pct": 0.1,
                "base_precision": 5,
                "quote_precision": 2
            },
            {
                "base": "TRX",
                "quote": "USDT",
                "market": "TRX_USDT",
                "tradable": true,
                "max_total": 10000000,
                "min_total": 1,
                "min_amount": 1,
                "maker_fee_pct": 0.1,
                "taker_fee_pct": 0.1,
                "ba
…