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/relativestrength-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/relativestrength-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/relativestrength-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/relativestrength-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/relativestrength-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": "ranking class= filters by class. asset= is a supported key (see /v1/universe). Relative strength = excess return over SPY over 1/3/6 months. Read fresh per call, nothing cached.",
        "source": "Yahoo Finance daily closes (1y range) vs SPY benchmark, live",
        "classes": [
            "equities",
            "sector",
            "commodities",
            "bonds",
            "crypto"
        ],
        "service": "relativestrength-api",
        "benchmark": "S&P 500",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/asset": "One market's relative strength per window + beta + improving/fading (asset=technology).",
            "GET /v1/ranking": "Cross-asset board ranked by relative strength vs the S&P 500 with leaders/laggards (class=sector optional).",
            "GET /v1/universe": "The supported instruments."
        },
        "description": "Relative strength vs S&P 500 — which markets are beating the benchmark and which are lagging, ranked, live from Yahoo Finance (no key, nothing stored). ranking returns a cross-asset, cross-sector board ranked by relative strength (excess return over the S&P 500 blended across 1/3/6 months) with leaders and laggards. asset returns one market's relative strength per window, its beta to the S&P 500 and whether its RS is improving or fading. universe lists what is covered. The relative-strength / market-leadership rotation cut — distinct from the absolute-momentum, sector-correlation and altcoin-season APIs.",
        "universe_size": 23,
        "assets_scanned": 23,
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:10.665Z",
        "request_id": "d446f8e7-028d-47dc-acbf-b43fc841fd34"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}