Vai al contenuto
GET /v1/prices

Per-exchange price table + spread summary

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/cryptoarbitrage-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/cryptoarbitrage-api/v1/prices" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptoarbitrage-api/v1/prices", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptoarbitrage-api/v1/prices");
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/cryptoarbitrage-api/v1/prices",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "base": "BTC",
        "count": 5,
        "prices": [
            {
                "name": "Coinbase",
                "price": 62818.905,
                "quote": "USD",
                "exchange": "coinbase"
            },
            {
                "name": "KuCoin",
                "price": 62849.6,
                "quote": "USDT",
                "exchange": "kucoin"
            },
            {
                "name": "Binance",
                "price": 62850,
                "quote": "USDT",
                "exchange": "binance"
            },
            {
                "name": "Bybit",
                "price": 62851.1,
                "quote": "USDT",
                "exchange": "bybit"
            },
            {
                "name": "OKX",
                "price": 62854.8,
                "quote": "USDT",
                "exchange": "okx"
            }
        ],
        "summary": {
            "cheapest": {
                "price": 62818.905,
                "exchange": "coinbase"
            },
            "mid_price": 62844.881,
            "spread_abs": 35.895,
            "spread_pct": 0.0571,
            "most_expensive": {
                "price": 62854.8,
                "exchange": "okx"
            }
        }
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:36.095Z",
        "request_id": "5cde7851-5c73-422e-a6b3-78772cd17116"
    },
    "status": "ok",
    "message": "Prices retrieved successfully",
    "success": true
}