વિકાસકર્તાઓ
finance_debt_dynamics
NXS Risk Finance and Capital API
GET /v1/gra/debt-dynamics EServed
Public debt dynamics and stress paths on the caller's own assumptions (compact form)
Your initial debt-to-GDP ratio and your own paths for growth, inflation, effective interest rate and primary balance (each a number or a list with one value per year, separated by | in the compact form), optionally a foreign-currency share with its rate and depreciation and an amortisation path: the debt path, the debt-stabilising primary balance, the interest bill and gross financing need, and stress paths of the growth, interest, primary balance, contingent liability and depreciation sizes you choose, and their combination. The standard debt dynamics identity of public debt sustainability analysis. No fiscal data, benchmark threshold or standard shock size is held, and it never says a path is sustainable. Compact form: every input in the query; the JSON form is the POST of the same path. Illustrative, stores nothing, and carries its method card and a replication digest. State: exists.
MCP tool: finance.debt_dynamics
Parameters
| નામ | In | પ્રકાર | તે શું કરે છે |
|---|---|---|---|
debt required | query | number | Initial debt, percent of GDP (required) |
years required | query | integer | Horizon, whole years 1 to 30 (required) |
growth required | query | string | Real GDP growth, percent: one number or one per year separated by | (required) |
inflation optional | query | string | GDP deflator inflation, percent (default 0) |
rate required | query | string | Effective nominal interest rate on the debt, percent (required) |
primaryBalance optional | query | string | Primary balance, percent of GDP, surplus positive (default 0) |
fxShare optional | query | number | Share of debt in foreign currency, 0 to 1 |
foreignRate optional | query | number | Interest rate on foreign-currency debt, percent |
depreciation optional | query | string | Depreciation, percent per year |
amortization optional | query | string | Amortisation, percent of GDP per year, for the gross financing need |
shockGrowth optional | query | number | Growth shock: percentage points lost in years 1 and 2 |
shockRate optional | query | number | Interest rate shock: percentage points added every year |
shockPrimaryBalance optional | query | number | Primary balance shock: percentage points lost in years 1 and 2 |
shockContingentLiability optional | query | number | Contingent liability: percent of GDP added to debt in year 1 |
shockDepreciation optional | query | number | Depreciation shock: percent in year 1, on the foreign-currency share |
Responses
- 200 Records with provenance
- 304 Not modified (If-None-Match matched the strong ETag) (a problem, RFC 9457)
- 400 Bad request (a problem, RFC 9457)
- 429 Open-tier rate limit (a problem, RFC 9457)
- 500 Internal error (a problem, RFC 9457)