Zum Inhalt springen
GET /v1/asset

One market drawdown & recovery card

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/assetdrawdown-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/assetdrawdown-api/v1/asset" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/assetdrawdown-api/v1/asset", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/assetdrawdown-api/v1/asset");
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/asset",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "key": "bitcoin",
        "note": "One market's drawdown card over a two-year window: current drawdown from the peak, the worst drawdown, the peak date/level, days underwater and how much of the fall has recovered.",
        "class": "crypto",
        "label": "Bitcoin",
        "price": 63675.5781,
        "source": "Yahoo Finance",
        "status": "deep drawdown",
        "symbol": "BTC-USD",
        "peak_date": "2025-10-06",
        "peak_price": 124752.5313,
        "at_new_high": false,
        "days_since_peak": 249,
        "max_drawdown_pct": -51.21,
        "current_drawdown_pct": -48.96,
        "recovery_from_trough_pct": 4.4
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:11.154Z",
        "request_id": "70050a9b-f9bb-4b98-80d1-9ebfce89a755"
    },
    "status": "ok",
    "message": "Asset drawdown retrieved successfully",
    "success": true
}