Aller au contenu
GET /v1/summary

Complex-wide read — category performance, leader, gainer/loser

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/cryptostocks-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/cryptostocks-api/v1/summary" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptostocks-api/v1/summary", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptostocks-api/v1/summary");
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/cryptostocks-api/v1/summary",
    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": "The crypto-equity complex at a glance: the average daily move and volume of the miners versus the exchanges versus the treasury companies (by_category), which sub-group is leading today (leading_category), and the day's biggest gainer and loser. The miners, being highest-beta, usually lead in both directions. Volume in shares, moves in percent. Live, cached ~10m.",
        "source": "Yahoo Finance (per-stock daily chart), keyless",
        "top_loser": {
            "ticker": "BTBT",
            "change_pct": 3.24
        },
        "top_gainer": {
            "ticker": "CIFR",
            "change_pct": 17.94
        },
        "by_category": {
            "miners": {
                "count": 11,
                "total_volume": 189698117,
                "avg_change_pct": 11.11
            },
            "treasury": {
                "count": 2,
                "total_volume": 20836528,
                "avg_change_pct": 8.22
            },
            "exchanges": {
                "count": 2,
                "total_volume": 34508610,
                "avg_change_pct": 6.28
            }
        },
        "leading_category": "miners"
    },
    "meta": {
        "timestamp": "2026-06-12T19:35:42.522Z",
        "request_id": "5c8e5c8e-6151-4c6a-a2ae-d8ccbd07db62"
    },
    "status": "ok",
    "message": "Summary retrieved successfully",
    "success": true
}