/v1/ticker
Full ticker for a pair
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/bitstamp-api/v1/ticker" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitstamp-api/v1/ticker", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitstamp-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/bitstamp-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": 62531.32,
"bid": 62531.31,
"last": 62541.13,
"pair": "BTCUSD",
"vwap": 63286.57,
"source": "Bitstamp",
"spread": 0.01,
"low_24h": 62401.21,
"high_24h": 64191.09,
"open_24h": 63757.76,
"timestamp": 1781005104,
"volume_24h": 2113.57736078,
"market_type": "SPOT",
"change_24h_pct": -1.91
},
"meta": {
"timestamp": "2026-06-09T11:38:25.534Z",
"request_id": "e3904daf-a9ba-42b3-a900-21b4b3a01cee"
},
"status": "ok",
"message": "Ticker retrieved successfully",
"success": true
}