Aller au contenu
GET /v1/ath

A coin ATH/ATL stats and distance

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/cryptoath-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/cryptoath-api/v1/ath" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptoath-api/v1/ath", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptoath-api/v1/ath");
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/cryptoath-api/v1/ath",
    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": {
        "id": "bitcoin",
        "ath": 126080,
        "atl": 67.81,
        "name": "Bitcoin",
        "rank": 1,
        "price": 61074,
        "at_ath": false,
        "symbol": "BTC",
        "ath_date": "2025-10-06T18:57:42.558Z",
        "atl_date": "2013-07-06T00:00:00.000Z",
        "market_cap": 1223963328525,
        "below_ath_pct": -51.56,
        "change_24h_pct": -3.51,
        "days_since_ath": 246,
        "up_from_atl_pct": 89967.04
    },
    "meta": {
        "timestamp": "2026-06-10T05:21:16.072Z",
        "request_id": "5b5f6fd1-26f4-4592-b1df-de0364636826"
    },
    "status": "ok",
    "message": "ATH stats retrieved successfully",
    "success": true
}