Aller au contenu
GET /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.

En-têtes personnalisés (facultatif)
api.oanor.com/ascendex-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/ascendex-api/v1/ticker" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ascendex-api/v1/ticker", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ascendex-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/ascendex-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": 62800,
        "bid": 62459.26,
        "base": "BTC",
        "last": 62765.5,
        "quote": "USDT",
        "market": "BTC/USDT",
        "source": "AscendEX",
        "spread": 340.74,
        "low_24h": 60620.73,
        "high_24h": 63027.25,
        "open_24h": 61800.93,
        "change_24h_pct": 1.5608,
        "base_volume_24h": 9280.78137,
        "quote_volume_24h_approx": 582512883.08
    },
    "meta": {
        "timestamp": "2026-06-11T07:49:05.647Z",
        "request_id": "3c18676a-e7f2-4194-a6af-dd3bd7416f1d"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}