Aller au contenu
GET /v1/tickers

Top symbols by 24h quote volume

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/htx-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/htx-api/v1/tickers" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/htx-api/v1/tickers", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/htx-api/v1/tickers");
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/htx-api/v1/tickers",
    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": {
        "count": 25,
        "quote": "usdt",
        "source": "HTX",
        "tickers": [
            {
                "ask": 61443.03,
                "bid": 61443.02,
                "low": 61111.12,
                "high": 62649.15,
                "last": 61441.82,
                "open": 62641.78,
                "symbol": "btcusdt",
                "trades_24h": 27450,
                "change_24h_pct": -1.9156,
                "base_volume_24h": 1016.8727,
                "quote_volume_24h": 62764034.33
            },
            {
                "ask": 1.717e-6,
                "bid": 1.716e-6,
                "low": 1.711e-6,
                "high": 1.721e-6,
                "last": 1.716e-6,
                "open": 1.721e-6,
                "symbol": "htxusdt",
                "trades_24h": 12271,
                "change_24h_pct": -0.2905,
                "base_volume_24h": 24630963787069.434,
                "quote_volume_24h": 42300992.08
            },
            {
                "ask": 1619.35,
                "bid": 1618.92,
                "low": 1607,
                "high": 1658.72,
                "last": 1619.2,
                "open": 1658.28,
                "symbol": "ethusdt",
                "trades_24h": 41812,
                "change_24h_pct": -2.3567,
                "base_volume_24h": 19291.2785,
                "quote_volume_24h": 31550569.86
            },
            {
                "ask": 4050.4,
                "bid": 4036.43,
                "low": 4032.14,
                "high": 4120.12,
                "last": 4047.95,
                "open": 4120.12,
                "symbol": "xautusdt",
                "trades_24h": 161225,
                "change_24h_pct": -1.7516,
                "base_volume_24h": 7216.6013,
                "quote_volume_24h": 29922294.79
            },
            {
                "ask": 1.00001,
                "bid": 1,
                "low": 1,
                "high": 1.00014,
                "last": 1,
                "open": 1,
                "symbol": "usddusdt",
                "trades_24h": 1631,
                "change_24h_pct": 0,
                "base_volume_24h": 13366778.7388,
                "quote_volume_24h": 13366784.25
            },
            {
                "ask": 0.321331,
                "bid": 0.320794,
                "low": 0.317249,
                "high": 0.323468,
                "last": 0.320794,
                "open": 0.322876,
                "symbol": "trxusdt",
                "trades_24h": 48359,
                "change_24h_pct": -0.6448,
                "base_volume_24h": 40693868.7441,
                "quote_volume_24h": 13107266.64
            },
            {
                "ask": 1.1353e-6,
                "bid": 1.1352e-6,
                "low": 1.1189e-6,
                "high": 1.1355e-6,
                "last": 1.1352e-6,
                "open": 1.1319e-6,
                "symbol": "apepeusdt",
                "tr
…