Naar de inhoud
GET /v1/asset

One market relative strength per window + beta + improving/fading

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/relativestrength-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "key": "technology",
        "note": "Relative strength = asset return minus the S&P 500's return over 1, 3 and 6 months; rs_score blends them. Positive = beating the market (a leader); negative = lagging. beta_to_sp500 shows how much it amplifies market moves.",
        "read": "outperforming the market",
        "class": "sector",
        "label": "Technology",
        "rs_pct": {
            "1m": 4.63,
            "3m": 22.15,
            "6m": 15.76
        },
        "source": "Yahoo Finance",
        "symbol": "XLK",
        "rs_score": 14.18,
        "rs_trend": "fading",
        "benchmark": "S&P 500",
        "beta_to_sp500": 1.598
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:10.233Z",
        "request_id": "5c74191d-59b8-47b3-9348-5410f6fbd5dd"
    },
    "status": "ok",
    "message": "Asset relative strength retrieved successfully",
    "success": true
}