المطورون
finance_protection_gap_calculate
NXS Risk Finance and Capital API
GET /v1/gra/protection-gap/calculate EServed
Protection-gap calculator (compact form)
Illustrative arithmetic on your own loss and cover figures: the gap of one reading (one basis, one scope, one peril) with bounds. A point value alone is refused: economicLoss and covered are low:central:high. The service publishes no value of its own; observed and modelled are never blended, insurance and pre-arranged finance never netted. Method gra.protection-gap.v1. State: exists.
MCP tool: finance.protection_gap_calculate
المعلمات
| الاسم | In | النوع | ما يفعله |
|---|---|---|---|
basis required | query | string (observed, modelled) | observed or modelled (required) |
scope required | query | string (insurance, pre-arranged-finance) | insurance or pre-arranged-finance (required) |
economicLoss required | query | string | low:central:high (required) |
covered required | query | string | low:central:high, the amount covered in the scope (required) |
modelId optional | query | string | Model id and version, required for a modelled reading |
assetClass optional | query | string | residential, commercial, infrastructure, agriculture, public-assets or all |
period optional | query | string | A label for the period |
currency optional | query | string | ISO 4217 label only |
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)