/v1/markets
All spot markets for a coin across exchanges
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/coinmarkets-api/v1/markets" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coinmarkets-api/v1/markets", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coinmarkets-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/coinmarkets-api/v1/markets",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"coin": "bitcoin",
"count": 40,
"source": "CoinGecko",
"markets": [
{
"base": "BTC",
"last": 62672.99,
"stale": false,
"target": "USDT",
"volume": 16278.4035,
"anomaly": false,
"exchange": "Binance",
"last_usd": 62598,
"trade_url": "https://www.binance.com/en/trade/BTC_USDT?ref=37754157",
"spread_pct": 0.010013,
"volume_usd": 1018991960,
"trust_score": null
},
{
"base": "BTC",
"last": 62680.1,
"stale": false,
"target": "USDT",
"volume": 15017.192807031,
"anomaly": false,
"exchange": "Gate",
"last_usd": 62605,
"trade_url": "https://www.gate.com/trade/BTC_USDT",
"spread_pct": 0.01016,
"volume_usd": 936466600,
"trust_score": null
},
{
"base": "BTC",
"last": 62689.3,
"stale": false,
"target": "USDT",
"volume": 14545.925723,
"anomaly": false,
"exchange": "Bybit",
"last_usd": 62627,
"trade_url": "https://www.bybit.com/trade/spot/BTC/USDT",
"spread_pct": 0.01016,
"volume_usd": 907211346,
"trust_score": null
},
{
"base": "BTC",
"last": 62682.28,
"stale": false,
"target": "USDT",
"volume": 10064.31803575,
"anomaly": false,
"exchange": "MEXC",
"last_usd": 62609,
"trade_url": "https://www.mexc.com/exchange/BTC_USDT",
"spread_pct": 0.012456,
"volume_usd": 628538108,
"trust_score": null
},
{
"base": "BTC",
"last": 62674.16,
"stale": false,
"target": "USDT",
"volume": 8535.54685,
"anomaly": false,
"exchange": "Biconomy.com",
"last_usd": 62605,
"trade_url": "https://www.biconomy.com/exchange/BTC_USDT",
"spread_pct": 0.010016,
"volume_usd": 532395240,
"trust_score": null
},
{
"base": "BTC",
"last": 62682.7,
"stale": false,
"target": "USDT",
"volume": 8288.43333126,
"anomaly": false,
"exchange": "OKX",
"last_usd": 62620,
"trade_url": "https://www.okx.com/trade-spot/btc-usdt",
"spread_pct"
…