Skip to content
GET /v1/country

One country's household, corporate & total DSR

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/debtservice-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Debt service ratios in percent of income. household_dsr (H) is the most-watched read on consumer debt stress; corporate_dsr (N) covers non-financial firms; private_total_dsr (P) is the whole private non-financial sector.",
        "period": "2025-Q3",
        "source": "BIS",
        "country": "US",
        "corporate_dsr": 37.8,
        "household_dsr": 7.9,
        "private_total_dsr": 14.1
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:40.612Z",
        "request_id": "e50a0902-a6ad-48a0-adb5-e5777399ed61"
    },
    "status": "ok",
    "message": "Country retrieved successfully",
    "success": true
}