/v1/markets
Tradable pairs with base/quote and precision
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
},
{
…