Vai al contenuto
GET /v1/price

Live price of coins in currencies

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "coins": {
            "bitcoin": {
                "eur": {
                    "price": 54253,
                    "market_cap": 1086986076732.9791,
                    "volume_24h": 26195920294.8621,
                    "change_24h_pct": 1.6583
                },
                "usd": {
                    "price": 62645,
                    "market_cap": 1255117906077.3877,
                    "volume_24h": 30247828681.557495,
                    "change_24h_pct": 1.595
                }
            },
            "ethereum": {
                "eur": {
                    "price": 1430.67,
                    "market_cap": 172664554048.31326,
                    "volume_24h": 10781948906.993124,
                    "change_24h_pct": 0.9071
                },
                "usd": {
                    "price": 1651.96,
                    "market_cap": 199371802610.6248,
                    "volume_24h": 12449669250.826027,
                    "change_24h_pct": 0.8443
                }
            }
        },
        "count": 2,
        "source": "CoinGecko",
        "vs_currencies": [
            "usd",
            "eur"
        ]
    },
    "meta": {
        "timestamp": "2026-06-11T07:49:22.204Z",
        "request_id": "d96d7505-c8e3-4ac8-a1a4-1e5b3109575c"
    },
    "status": "ok",
    "message": "Prices retrieved successfully",
    "success": true
}