/v1/ticker
Ticker for one market
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/bitrue-api/v1/ticker" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitrue-api/v1/ticker", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitrue-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/bitrue-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": {
"ask": 62714.01,
"bid": 62714,
"base": "BTC",
"last": 62716.52,
"quote": "USDT",
"market": "BTCUSDT",
"source": "Bitrue",
"spread": 0.01,
"low_24h": 60787.88,
"high_24h": 62996,
"open_24h": 61706.01,
"change_24h": 1010.51,
"change_24h_pct": 1.63,
"base_volume_24h": 15688.5676,
"quote_volume_24h": 972526432.18
},
"meta": {
"timestamp": "2026-06-11T07:48:56.020Z",
"request_id": "00f7a94f-c9ee-4c16-8825-78f6bb23f76a"
},
"status": "ok",
"message": "Ticker retrieved successfully",
"success": true
}