Skip to content
Fourohtwo

prop.halowerk.com/v1/flood-risk-asset

Multiplies each mutually exclusive supplied scenario probability by its supplied damage fraction and asset replacement value, then sums expected loss. It does not obtain hazard maps, model hydrology, validate damage curves, price insurance or predict a particular event.

BaseAnswering
POSThttps://prop.halowerk.com/v1/flood-risk-asset

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://prop.halowerk.com/v1/flood-risk-asset", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"asset_replacement_value":2800000,"scenarios":[{"annual_probability":0.1,"inundation_depth_m":0.2,"scenario_id":"frequent-shallow","supplied_damage_fraction":0.03},{"annual_probability":0.01,"inundation_depth_m":1.4,"scenario_id":"rare-deep","supplied_damage_fraction":0.38}]}),
});
console.log(await res.json());

Example input

{
  "asset_replacement_value": 2800000,
  "scenarios": [
    {
      "annual_probability": 0.1,
      "inundation_depth_m": 0.2,
      "scenario_id": "frequent-shallow",
      "supplied_damage_fraction": 0.03
    },
    {
      "annual_probability": 0.01,
      "inundation_depth_m": 1.4,
      "scenario_id": "rare-deep",
      "supplied_damage_fraction": 0.38
    }
  ]
}