/v1/markets
Tradable spot pairs with fees and limits
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
…