/v1/country
One country's household, corporate & total DSR
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}