Credit-to-GDP Gap (Financial Stability) API
How far each country's private-sector credit has run above or below its long-run trend — the single best early-warning indicator for banking crises — read live from the Bank for International Settlements' open statistics, no key, nothing stored. The credit-to-GDP gap is the difference between the credit-to-GDP ratio and its long-term trend, and the Basel Committee uses it to set the countercyclical capital buffer: a gap above roughly 10 points has historically preceded credit busts, while a deeply negative gap means an economy is still deleveraging. The latest endpoint returns every covered country's most recent gap together with its actual credit-to-GDP ratio and a risk band; the country endpoint returns one country's gap, the underlying ratio and trend and a risk label; the history endpoint returns the quarterly gap time series. This is the credit-gap / financial-stability macro cut — distinct from the euro-area credit-growth (lending volumes), the bank-rate, money-supply, central-bank policy-rate and FX APIs in the catalogue. It measures the build-up of financial-stability risk, not the level of rates. 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/creditgap-api