/v1/ticker
A trading pair ticker
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/bitfinex-api/v1/ticker" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitfinex-api/v1/ticker", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitfinex-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/bitfinex-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": 62669,
"bid": 62659,
"last": 62667,
"pair": "BTCUSD",
"source": "Bitfinex",
"spread": 10,
"symbol": "tBTCUSD",
"low_24h": 62478,
"high_24h": 64294,
"change_24h": -1071,
"volume_24h": 2112.7323556,
"change_24h_pct": -1.6803
},
"meta": {
"timestamp": "2026-06-09T11:38:06.607Z",
"request_id": "a34516ed-9a1d-4107-87d5-90d6178007b9"
},
"status": "ok",
"message": "Ticker retrieved successfully",
"success": true
}