Multiplies each mutually exclusive supplied scenario probability by its supplied damage fr
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.
4000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-01
updated
Provider
prop.halowerk.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"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
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"asset_replacement_value": {
"description": "Value in a caller-selected currency.",
"maximum": 1000000000000000,
"minimum": 0,
"type": "number"
},
"scenarios": {
"items": {
"additionalProperties": false,
"properties": {
"annual_probability": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"inundation_depth_m": {
"maximum": 1000,
"minimum": 0,
"type": "number"
},
"scenario_id": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"supplied_damage_fraction": {
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"required": [
"scenario_id",
"annual_probability",
"inundation_depth_m",
"supplied_damage_fraction"
],
"type": "object"
},
"maxItems": 10000,
"minItems": 1,
"type": "array"
}
},
"required": [
"asset_replacement_value",
"scenarios"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://prop.halowerk.com/v1/flood-risk-asset" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://prop.halowerk.com/v1/flood-risk-asset");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://prop.halowerk.com/v1/flood-risk-asset")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/15281.json, and this resource appears in /discovery/resources and /discovery/search.