/v1/markets
Tradable pairs with scales and limits
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/poloniex-api/v1/markets" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/poloniex-api/v1/markets", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/poloniex-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/poloniex-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": 861,
"quote": "USDT",
"source": "Poloniex",
"markets": [
{
"base": "BTC",
"quote": "USDT",
"state": "NORMAL",
"market": "BTC_USDT",
"min_amount": 1,
"price_scale": 2,
"min_quantity": 1.0e-6,
"quantity_scale": 6
},
{
"base": "DASH",
"quote": "USDT",
"state": "NORMAL",
"market": "DASH_USDT",
"min_amount": 1,
"price_scale": 2,
"min_quantity": 1.0e-6,
"quantity_scale": 6
},
{
"base": "LTC",
"quote": "USDT",
"state": "NORMAL",
"market": "LTC_USDT",
"min_amount": 1,
"price_scale": 3,
"min_quantity": 1.0e-6,
"quantity_scale": 6
},
{
"base": "XLM",
"quote": "USDT",
"state": "NORMAL",
"market": "XLM_USDT",
"min_amount": 1,
"price_scale": 4,
"min_quantity": 0.0001,
"quantity_scale": 4
},
{
"base": "XMR",
"quote": "USDT",
"state": "NORMAL",
"market": "XMR_USDT",
"min_amount": 1,
"price_scale": 2,
"min_quantity": 1.0e-6,
"quantity_scale": 6
},
{
"base": "XRP",
"quote": "USDT",
"state": "NORMAL",
"market": "XRP_USDT",
"min_amount": 1,
"price_scale": 4,
"min_quantity": 0.0001,
"quantity_scale": 4
},
{
"base": "ETH",
"quote": "USDT",
"state": "NORMAL",
"market": "ETH_USDT",
"min_amount": 1,
"price_scale": 2,
"min_quantity": 1.0e-6,
"quantity_scale": 6
},
{
"base": "ETC",
"quote": "USDT",
"state": "NORMAL",
"market": "ETC_USDT",
"min_amount": 1,
"price_scale": 3,
"min_quantity": 1.0e-6,
"quantity_scale": 6
},
{
"base": "ZEC",
"quote": "USDT",
"state": "NORMAL",
"market": "ZEC_USDT",
"min_amount": 1,
"price_scale": 2,
"min_quantity": 1.0e-6,
"quantity_scale": 6
},
{
"base": "A",
"quote": "USDT",
"state": "N
…