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/bitkub-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/bitkub-api/v1/ticker" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitkub-api/v1/ticker", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitkub-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/bitkub-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": 2022074.45,
        "bid": 2021439.84,
        "base": "BTC",
        "last": 2021439.84,
        "quote": "THB",
        "source": "Bitkub",
        "spread": 634.61,
        "symbol": "THB_BTC",
        "low_24h": 1998861,
        "high_24h": 2065000,
        "change_24h_pct": -0.38,
        "base_volume_24h": 75.04635592,
        "quote_volume_24h": 151959729.99
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:10.518Z",
        "request_id": "58090f9e-e57e-4558-8067-c829511e6e5d"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}