Vai al contenuto
GET /v1/regions

US vs advanced-economy stress

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "date": "2026-06-05",
        "source": "U.S. Office of Financial Research",
        "regions": [
            {
                "label": "United States",
                "region": "US",
                "contribution": -1.085
            },
            {
                "label": "Other advanced economies",
                "region": "AE",
                "contribution": -0.8
            }
        ],
        "headline": -2.472
    },
    "meta": {
        "timestamp": "2026-06-09T20:24:25.593Z",
        "request_id": "36b47947-2dfa-4b67-81ad-56b16b4c2f3e"
    },
    "status": "ok",
    "message": "Regions retrieved successfully",
    "success": true
}