ڈویلپرز
finance_layering
NXS Risk Finance and Capital API
GET /v1/gra/layering EServed
Risk-layering calculator (compact form)
Illustrative arithmetic on your own loss curve: annual expected loss and, per layer, attachment and exhaustion probability, expected loss, expected loss on line and the instruments the taxonomy describes for the layer position. Method gra.layering.v1 is published in the answer. Not advice; nothing is stored. State: exists.
MCP tool: finance.layering
Parameters
| نام | In | قسم | یہ کیا کرتا ہے |
|---|---|---|---|
curve required | query | string | Loss curve: comma list of loss:returnPeriodYears, for example 10:2,50:10,200:100 (required) |
boundaryReturnPeriods optional | query | string | Layer boundaries as return periods in years, comma list (give exactly one of this, boundaries or layers) |
boundaries optional | query | string | Layer boundaries as losses, comma list |
layers optional | query | string | Explicit layers: comma list of attachment:limit or attachment:limit:premium |
currency optional | query | string | ISO 4217 code, a label only (no conversion) |
industry optional | query | string | ISIC Rev.5 code or codes, comma list: a section letter A to V or a 2 to 4 digit code, for example L or 65 |
jurisdiction optional | query | string | ISO 3166-1 alpha-3 country codes, UN M49 region codes or regime ids, comma list, for example KEN, 014 or eu |
hazard optional | query | string | NHS-1 domain, family or hazard ids, comma list, for example water.flood |
domain optional | query | string | NIS-1 domain codes, comma list, for example FIN |
indicator optional | query | string | NIS-1 indicator ids, comma list, for example nis:IND.MAC.output.gdp.usd (selects its domain) |
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)