Vai al contenuto
GET /v1/meta

Service metadata

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/rrg-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "rrg is parameter-less; sector= takes a sector key/alias (see /v1/sectors). RS-Ratio = relative-strength line vs its 21-day average (x100); RS-Momentum = RS-Ratio vs its 10-day average (x100); both centred on 100. Read fresh per call, nothing cached.",
        "source": "Yahoo Finance daily SPDR sector ETF closes vs SPY (6mo range), live",
        "service": "rrg-api",
        "endpoints": {
            "GET /v1/rrg": "The full sector rotation map: every sector's RS-Ratio, RS-Momentum and quadrant.",
            "GET /v1/meta": "This document.",
            "GET /v1/sector": "One sector's RRG coordinates and quadrant (sector=technology).",
            "GET /v1/sectors": "The eleven S&P 500 sectors."
        },
        "quadrants": [
            "leading",
            "weakening",
            "lagging",
            "improving"
        ],
        "description": "Sector rotation RRG (Relative Rotation Graph) — where each S&P 500 sector sits on the rotation map versus the market, live from Yahoo Finance (no key, nothing stored). rrg returns the whole rotation map: each sector's RS-Ratio (relative strength) and RS-Momentum (is it improving) and its quadrant (leading/weakening/lagging/improving). sector returns one sector's coordinates. sectors lists what is covered. The sector-rotation RRG / quadrant cut — distinct from the relative-strength ranking (a one-dimensional list), the sector price/performance feed and the correlation APIs. It shows the rotation, not just the ranking.",
        "sectors_scanned": 11,
        "upstream_status": "ok",
        "sectors_supported": 11
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:58.040Z",
        "request_id": "dcc72a72-7877-4f64-93c0-2f0aab023b43"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}