/v1/markets
Tradable pairs with precision and state
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/xt-api/v1/markets" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/xt-api/v1/markets", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/xt-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/xt-api/v1/markets",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 1276,
"quote": "USDT",
"source": "XT",
"markets": [
{
"base": "XT",
"quote": "USDT",
"state": "ONLINE",
"market": "XT_USDT",
"tradable": true,
"price_precision": 4,
"quantity_precision": 2
},
{
"base": "BTC",
"quote": "USDT",
"state": "ONLINE",
"market": "BTC_USDT",
"tradable": true,
"price_precision": 2,
"quantity_precision": 5
},
{
"base": "ETH",
"quote": "USDT",
"state": "ONLINE",
"market": "ETH_USDT",
"tradable": true,
"price_precision": 2,
"quantity_precision": 4
},
{
"base": "XRP",
"quote": "USDT",
"state": "ONLINE",
"market": "XRP_USDT",
"tradable": true,
"price_precision": 4,
"quantity_precision": 1
},
{
"base": "USDC",
"quote": "USDT",
"state": "ONLINE",
"market": "USDC_USDT",
"tradable": true,
"price_precision": 4,
"quantity_precision": 0
},
{
"base": "BNB",
"quote": "USDT",
"state": "ONLINE",
"market": "BNB_USDT",
"tradable": true,
"price_precision": 2,
"quantity_precision": 3
},
{
"base": "SOL",
"quote": "USDT",
"state": "ONLINE",
"market": "SOL_USDT",
"tradable": true,
"price_precision": 2,
"quantity_precision": 3
},
{
"base": "ADA",
"quote": "USDT",
"state": "ONLINE",
"market": "ADA_USDT",
"tradable": true,
"price_precision": 4,
"quantity_precision": 1
},
{
"base": "DOGE",
"quote": "USDT",
"state": "ONLINE",
"market": "DOGE_USDT",
"tradable": true,
"price_precision": 5,
"quantity_precision": 0
},
{
"base": "BSV",
"quote": "USDT",
"state": "ONLINE",
"market": "BSV_USDT",
"tradable": true,
"price_precision": 2,
"quantity_precision": 2
},
{
"base": "TON",
"quote": "USDT",
"state": "ONLIN
…