/v1/instruments
Tradable spot pairs with tick sizes
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/cryptocom-api/v1/instruments" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptocom-api/v1/instruments", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptocom-api/v1/instruments");
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/cryptocom-api/v1/instruments",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 430,
"quote": "USD",
"source": "Crypto.com",
"instruments": [
{
"base": "1INCH",
"quote": "USD",
"market": "1INCH_USD",
"tradable": true,
"qty_tick_size": 0.1,
"quote_decimals": 5,
"price_tick_size": 1.0e-5,
"quantity_decimals": 1
},
{
"base": "2Z",
"quote": "USD",
"market": "2Z_USD",
"tradable": true,
"qty_tick_size": 1,
"quote_decimals": 5,
"price_tick_size": 1.0e-5,
"quantity_decimals": 0
},
{
"base": "A2Z",
"quote": "USD",
"market": "A2Z_USD",
"tradable": true,
"qty_tick_size": 10,
"quote_decimals": 7,
"price_tick_size": 1.0e-7,
"quantity_decimals": 0
},
{
"base": "AAVE",
"quote": "USD",
"market": "AAVE_USD",
"tradable": true,
"qty_tick_size": 0.001,
"quote_decimals": 3,
"price_tick_size": 0.001,
"quantity_decimals": 3
},
{
"base": "ACH",
"quote": "USD",
"market": "ACH_USD",
"tradable": true,
"qty_tick_size": 10,
"quote_decimals": 6,
"price_tick_size": 1.0e-6,
"quantity_decimals": 0
},
{
"base": "ACS",
"quote": "USD",
"market": "ACS_USD",
"tradable": true,
"qty_tick_size": 100,
"quote_decimals": 7,
"price_tick_size": 1.0e-7,
"quantity_decimals": 0
},
{
"base": "ACT",
"quote": "USD",
"market": "ACT_USD",
"tradable": true,
"qty_tick_size": 1,
"quote_decimals": 5,
"price_tick_size": 1.0e-5,
"quantity_decimals": 0
},
{
"base": "ADA",
"quote": "USD",
"market": "ADA_USD",
"tradable": true,
"qty_tick_size": 0.1,
"quote_decimals": 5,
"price_tick_size": 1.0e-5,
"quantity_decimals": 1
},
{
"base": "ADI",
"quote": "USD",
"market": "ADI_USD",
"tradable": true,
"qty_tick_size": 0.1,
"quote_decimals": 5,
"price_tick_size": 1.0e-5,
"quantity_decimals": 1
},
…