Zum Inhalt springen
GET /v1/categories

Five stress categories

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "date": "2026-06-05",
        "source": "U.S. Office of Financial Research",
        "headline": -2.472,
        "categories": [
            {
                "label": "Credit",
                "category": "Credit",
                "contribution": -1.214
            },
            {
                "label": "Equity valuation",
                "category": "Equity_Valuation",
                "contribution": -0.572
            },
            {
                "label": "Funding",
                "category": "Funding",
                "contribution": -0.083
            },
            {
                "label": "Safe assets / flight to safety",
                "category": "Flight_to_Safety",
                "contribution": -0.332
            },
            {
                "label": "Volatility",
                "category": "Volatility",
                "contribution": -0.271
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-09T20:24:24.836Z",
        "request_id": "9eaaa782-52e7-45d6-9a72-0c7314ee8967"
    },
    "status": "ok",
    "message": "Categories retrieved successfully",
    "success": true
}