/v1/ticker
Live ticker for pair(s)
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/kraken-api/v1/ticker" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/kraken-api/v1/ticker", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/kraken-api/v1/ticker");
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/kraken-api/v1/ticker",
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": 2,
"tickers": [
{
"ask": 1668.19,
"bid": 1668.18,
"pair": "XETHZUSD",
"spread": 0.01,
"low_24h": 1654.12,
"high_24h": 1713.33,
"open_24h": 1689.81,
"vwap_24h": 1681.63084,
"last_price": 1666.62,
"trades_24h": 30332,
"volume_24h": 29460.31937469,
"change_24h_pct": -1.37
},
{
"ask": 62534.4,
"bid": 62534.3,
"pair": "XXBTZUSD",
"spread": 0.1,
"low_24h": 62383.9,
"high_24h": 64189,
"open_24h": 63068.5,
"vwap_24h": 63312.72636,
"last_price": 62521.8,
"trades_24h": 60333,
"volume_24h": 1841.43027456,
"change_24h_pct": -0.87
}
],
"requested": [
"BTCUSD",
"ETHUSD"
]
},
"meta": {
"timestamp": "2026-06-09T11:39:27.512Z",
"request_id": "76d2d353-5809-4628-9438-fc37dbcd4f4d"
},
"status": "ok",
"message": "Ticker retrieved successfully",
"success": true
}