Skip to content

How Towers works

View as Markdown

A tower is a picture of a reinsurance program. Each rectangle is a layer: its height is an amount of loss and its width is a share of the risk. The grey area is what the cedant keeps.

Tower
Retention 20%
Retention 20%
Second excess, 5M xs 5M per claim
kept by the cedant signed firm orderWidth is share of the risk, height is amount.

Towers has an Engine API and a React drawing package. The API also derives Placement facts without drawing.

Part What it does Where it runs
Towers API Takes a Program: POST /towers works out geometry; POST /placements derives firm totals, Support, gaps and pro rata Signed shares. POST /recoveries estimates ceded and retained amounts for a year of Losses. Our server. You call it with an API key.
@vinsa/towers A React package that draws the /towers answer. Placement responses contain no geometry. Your app, in the browser.
  1. Your server collects a program’s layers from your own system and sends them to the Towers API with your key.
  2. The Towers API returns the towers: bands, blocks and their positions. It stores nothing.
  3. Your server passes that response to your page.
  4. Your page gives it to <Towers />, which draws it.

The API key is used in step 1 only. It never goes to the browser, so nobody viewing your portal can read it.

  • An API key. See Get an API key.
  • A server-side place to call the API from: a Next.js route, an Express endpoint, or any backend you already run.
  • A React 18 or later app to draw in.

When you have those, the Quickstart takes about ten minutes.