Aller au contenu
GET /v1/ticker

Ticker for one 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/luno-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/luno-api/v1/ticker" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/luno-api/v1/ticker", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/luno-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/luno-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": 1023835,
        "bid": 1023444,
        "base": "XBT",
        "last": 1023057,
        "pair": "XBTZAR",
        "quote": "ZAR",
        "source": "Luno",
        "spread": 391,
        "status": "ACTIVE",
        "timestamp": 1781132181765,
        "volume_24h": 35.126699
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:21.856Z",
        "request_id": "4e2c15d2-d557-42b3-b10d-e35a18595ec9"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}