/v1/ticker
24h ticker for a perpetual contract
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/apex-api/v1/ticker" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/apex-api/v1/ticker", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/apex-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/apex-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": 65949.6,
"symbol": "BTCUSDT",
"low_24h": 63644.8,
"high_24h": 65977.1,
"open_24h": null,
"volume_24h": 15158.674,
"index_price": 65974.61,
"funding_rate": -1.384e-5,
"oracle_price": null,
"turnover_24h": 984140184.9414,
"open_interest": 1522.8239999999998,
"next_funding_time": "2026-06-15T12:00:00Z",
"price_change_pct_24h": 0.0222398581410777
},
"meta": {
"timestamp": "2026-06-15T11:15:58.587Z",
"request_id": "8441b75e-dfc4-4312-932c-4c6c141f63af"
},
"status": "ok",
"message": "Ticker retrieved successfully",
"success": true
}