Μετάβαση στο περιεχόμενο
GET /v1/meta

Service metadata

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/sectorcorrelation-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "note": "window is 20-365 days (default 90). Correlations use daily log returns aligned on common trading days. Beta is measured against SPY. Read fresh per call, nothing cached.",
        "source": "Yahoo Finance daily SPDR sector ETF closes, live",
        "service": "sectorcorrelation-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/matrix": "Full 11x11 sector correlation matrix with most/least correlated pairs (window=90).",
            "GET /v1/sector": "One sector's correlations to all others, ranked, with beta to the S&P 500 (sector=technology, window=90).",
            "GET /v1/sectors": "The eleven S&P 500 sectors."
        },
        "description": "Stock sector correlation matrix — how the eleven S&P 500 sectors move together, live from Yahoo Finance via the SPDR sector ETFs (no key, nothing stored). matrix returns the full pairwise return-correlation matrix with the most- and least-correlated sector pairs. sector returns one sector's correlation to every other, ranked, plus its beta to the S&P 500. sectors lists what is covered. The equity sector correlation / rotation cut — distinct from the cross-asset correlation matrix, the crypto and currency correlation APIs and the sector price/performance feed.",
        "sectors_loaded": 11,
        "upstream_status": "ok",
        "sectors_supported": 11
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:13.551Z",
        "request_id": "61e43c36-9f3d-41b9-b6f7-bd93fad1003c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}