Zum Inhalt springen
GET /v1/latest

Every country's latest credit-to-GDP gap

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "gap = credit-to-GDP ratio minus its long-run trend (percentage points). A gap above ~10 is the Basel banking-crisis warning zone; negative means credit is below trend. Sort by gap (default), ratio or country.",
        "count": 44,
        "source": "BIS",
        "countries": [
            {
                "gap": 7.6,
                "risk": "building (credit above trend)",
                "period": "2025-Q3",
                "country": "SA",
                "credit_to_gdp_ratio": 77.4
            },
            {
                "gap": 5.1,
                "risk": "building (credit above trend)",
                "period": "2025-Q3",
                "country": "JP",
                "credit_to_gdp_ratio": 172.8
            },
            {
                "gap": 3.1,
                "risk": "building (credit above trend)",
                "period": "2025-Q3",
                "country": "AR",
                "credit_to_gdp_ratio": 26.7
            },
            {
                "gap": 1.8,
                "risk": "neutral (near trend)",
                "period": "2025-Q3",
                "country": "IL",
                "credit_to_gdp_ratio": 114
            },
            {
                "gap": -0.1,
                "risk": "neutral (near trend)",
                "period": "2025-Q3",
                "country": "BR",
                "credit_to_gdp_ratio": 90.6
            },
            {
                "gap": -1.3,
                "risk": "neutral (near trend)",
                "period": "2025-Q3",
                "country": "ID",
                "credit_to_gdp_ratio": 39.8
            },
            {
                "gap": -2.4,
                "risk": "below trend (deleveraging)",
                "period": "2025-Q3",
                "country": "DE",
                "credit_to_gdp_ratio": 138.6
            },
            {
                "gap": -2.9,
                "risk": "below trend (deleveraging)",
                "period": "2025-Q3",
                "country": "MX",
                "credit_to_gdp_ratio": 38.8
            },
            {
                "gap": -3.1,
                "risk": "below trend (deleveraging)",
                "period": "2025-Q3",
                "country": "IN",
                "credit_to_gdp_ratio": 97.4
            },
            {
                "gap": -3.7,
                "risk": "below trend (deleveraging)",
                "period": "2025-Q3",
                "country": "MY",
                "credit_to_gdp_ratio": 158.4
            },
            {
                "gap": -5,
                "risk": "below trend (deleveraging)",
                "period": "2025-Q3",
                "country": "ZA",
                "credit_to_gdp_ratio": 67.1
            },
            {
                "gap": -6.3,
                "risk": "below trend (deleveraging)",
                "period": "2025-Q3",
                "country": "CZ",
                "credit_to_gdp_ratio": 82.8
   
…