Naar de inhoud
GET /v1/categories

Five stress categories

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}