/v1/markets
Tradable pairs with base/quote and precision
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/max-api/v1/markets" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/max-api/v1/markets", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/max-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/max-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": 32,
"quote": "TWD",
"source": "MAX",
"markets": [
{
"base": "ADA",
"quote": "TWD",
"market": "adatwd",
"status": "active",
"base_precision": 1,
"quote_precision": 3
},
{
"base": "ALICE",
"quote": "TWD",
"market": "alicetwd",
"status": "active",
"base_precision": 2,
"quote_precision": 2
},
{
"base": "APE",
"quote": "TWD",
"market": "apetwd",
"status": "active",
"base_precision": 2,
"quote_precision": 2
},
{
"base": "ARB",
"quote": "TWD",
"market": "arbtwd",
"status": "active",
"base_precision": 1,
"quote_precision": 3
},
{
"base": "AVAX",
"quote": "TWD",
"market": "avaxtwd",
"status": "active",
"base_precision": 2,
"quote_precision": 2
},
{
"base": "BCH",
"quote": "TWD",
"market": "bchtwd",
"status": "active",
"base_precision": 6,
"quote_precision": 1
},
{
"base": "BNB",
"quote": "TWD",
"market": "bnbtwd",
"status": "active",
"base_precision": 3,
"quote_precision": 1
},
{
"base": "BTC",
"quote": "TWD",
"market": "btctwd",
"status": "active",
"base_precision": 8,
"quote_precision": 1
},
{
"base": "COMP",
"quote": "TWD",
"market": "comptwd",
"status": "active",
"base_precision": 3,
"quote_precision": 1
},
{
"base": "DOGE",
"quote": "TWD",
"market": "dogetwd",
"status": "active",
"base_precision": 1,
"quote_precision": 4
},
{
"base": "DOT",
"quote": "TWD",
"market": "dottwd",
"status": "active",
"base_precision": 2,
"quote_precision": 2
},
{
"base": "ENS",
"quote": "TWD",
"market": "enstwd",
"status": "active",
"base_precision": 2,
"quote_precision": 2
},
{
…