Aller au contenu
GET /v1/components

Per-coin breadth table

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/cryptobreadth-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/cryptobreadth-api/v1/components" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptobreadth-api/v1/components", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptobreadth-api/v1/components");
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/cryptobreadth-api/v1/components",
    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": {
        "note": "Per-coin breadth table: price, 24h change and whether each coin is above its 20/50/200-day moving average. Sorted by 24h change.",
        "source": "Binance",
        "components": [
            {
                "coin": "ETH",
                "price": 1676.31,
                "above_ma20": false,
                "above_ma50": false,
                "above_ma200": false,
                "change_24h_pct": 0.17
            },
            {
                "coin": "BTC",
                "price": 63724.62,
                "above_ma20": false,
                "above_ma50": false,
                "above_ma200": false,
                "change_24h_pct": 0.16
            },
            {
                "coin": "XRP",
                "price": 1.1439,
                "above_ma20": false,
                "above_ma50": false,
                "above_ma200": false,
                "change_24h_pct": 0.1
            },
            {
                "coin": "BNB",
                "price": 605.45,
                "above_ma20": false,
                "above_ma50": false,
                "above_ma200": false,
                "change_24h_pct": -0.05
            },
            {
                "coin": "SOL",
                "price": 66.85,
                "above_ma20": false,
                "above_ma50": false,
                "above_ma200": false,
                "change_24h_pct": -0.12
            }
        ],
        "coins_scanned": 5
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:37.325Z",
        "request_id": "5608131b-609e-4743-91f9-28178aacc513"
    },
    "status": "ok",
    "message": "Components retrieved successfully",
    "success": true
}