Debt Service Ratio (Debt Burden) API
How much of a country's income goes to servicing debt — interest plus principal — read live from the Bank for International Settlements' open statistics, no key, nothing stored. The credit-to-GDP gap measures how much debt has built up; the debt service ratio (DSR) measures how heavy it is to carry. It is the share of income that borrowers must spend each period just to keep current on their debts, and a high or rising DSR squeezes consumption and investment and has reliably led recessions. The BIS publishes the DSR for households, for non-financial corporations and for the private non-financial sector as a whole. The latest endpoint returns every covered country's most recent DSR for all three sectors; the country endpoint returns one country's household, corporate and total DSR with the reference quarter; the history endpoint returns the quarterly series for a chosen sector. This is the debt-burden / debt-service macro cut — distinct from the credit-to-GDP gap (debt build-up), the credit-growth (lending volumes), the bank-rate, money-supply and FX APIs in the catalogue. A country is a BIS reference area (US, GB, DE, JP …) given as an ISO-2 code or a common name; data is quarterly with the usual statistical lag.
api.oanor.com/debtservice-api