Aller au contenu
GET /v1/ticker

24h ticker for a trading pair

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/bitunix-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/bitunix-api/v1/ticker" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitunix-api/v1/ticker", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitunix-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/bitunix-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": {
        "last": 65898.5,
        "symbol": "BTCUSDT",
        "low_24h": 63650.9,
        "high_24h": 65989.9,
        "open_24h": 64528.9,
        "mark_price": 65896,
        "base_volume_24h": 25632.5234,
        "quote_volume_24h": 1666559311.28045
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:35.040Z",
        "request_id": "db3b72a1-cf7a-4761-b5a4-88ccb0c6c0a6"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}