Lewati ke konten
The Consortium

Pengembang

POST_v1_gra_debt_dynamics

NXS Risk Finance and Capital API

Open. Reading is free and needs no key.

POST /v1/gra/debt-dynamics EServed

All operations

Public debt dynamics and stress paths on the caller's own assumptions (JSON body)

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. The inputs are the JSON body, up to 64 KB. State: exists.

Parameter

None.

Responses

  • 200 Records with provenance
  • 400 Bad request (a problem, RFC 9457)
  • 413 Body too large (a problem, RFC 9457)
  • 429 Open-tier rate limit (a problem, RFC 9457)
  • 500 Internal error (a problem, RFC 9457)