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/bitmart-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/bitmart-api/v1/ticker" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitmart-api/v1/ticker", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitmart-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/bitmart-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": 62727.26,
        "bid": 62727.23,
        "base": "BTC",
        "last": 62714.01,
        "quote": "USDT",
        "market": "BTC_USDT",
        "source": "BitMart",
        "spread": 0.03,
        "low_24h": 60780.41,
        "high_24h": 62996,
        "open_24h": 61708.42,
        "timestamp": 1781164154077,
        "change_24h_pct": 1.63,
        "base_volume_24h": 4320.88848,
        "quote_volume_24h": 267486320.3
    },
    "meta": {
        "timestamp": "2026-06-11T07:49:14.276Z",
        "request_id": "718d8737-8d0f-4836-812b-a7e1b2f18292"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}