Aller au contenu
GET /v1/meta

Service metadata

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/assetdrawdown-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/assetdrawdown-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/assetdrawdown-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/assetdrawdown-api/v1/meta");
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/assetdrawdown-api/v1/meta",
    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": "monitor class= filters by asset class. asset= is a supported key (see /v1/universe). Drawdowns are measured over a two-year window from the running peak. Read fresh per call, nothing cached.",
        "source": "Yahoo Finance daily closes (2y range) across a multi-asset universe, live",
        "classes": [
            "equities",
            "bonds",
            "commodities",
            "fx",
            "crypto",
            "real_estate"
        ],
        "service": "assetdrawdown-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/asset": "One market's drawdown & recovery card (asset=bitcoin).",
            "GET /v1/monitor": "Universe ranked by current drawdown, with new-high list and drawdown count (class=equities optional).",
            "GET /v1/universe": "The supported instruments."
        },
        "description": "Cross-asset drawdown & recovery monitor — how far every major market is below its peak and how long it has been underwater, live from Yahoo Finance (no key, nothing stored). monitor ranks the universe by current drawdown (deepest underwater first) with the new-high list and a drawdown count. asset returns one market's drawdown card (current/max drawdown, peak date, days underwater, recovery). universe lists what is covered. The cross-asset drawdown / underwater-recovery cut — distinct from the FX-only drawdown API, the crypto all-time-high API and the cross-asset volatility API (risk-adjusted return, not the underwater curve).",
        "universe_size": 17,
        "assets_scanned": 17,
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:11.667Z",
        "request_id": "60a3277c-0355-42f9-af0e-6c28907e1553"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}