{"uid":"cap_e9dP_Q_V8MvcLDFr-Y1HV","slug":"flood-risk-expected-loss-calculator-6d82643f","name":"Flood Risk Expected Loss Calculator","description":"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.","url":"https://prop.halowerk.com/v1/flood-risk-asset","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"scenarios":{"type":"array","items":{"type":"object","required":["scenario_id","annual_probability","inundation_depth_m","supplied_damage_fraction"],"properties":{"scenario_id":{"type":"string","maxLength":128,"minLength":1},"annual_probability":{"type":"number","maximum":1,"minimum":0},"inundation_depth_m":{"type":"number","maximum":1000,"minimum":0},"supplied_damage_fraction":{"type":"number","maximum":1,"minimum":0}},"additionalProperties":false},"maxItems":10000,"minItems":1},"asset_replacement_value":{"type":"number","maximum":1000000000000000,"minimum":0,"description":"Value in a caller-selected currency."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3BroLLJVSllTt0ov9KbTk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes expected annual loss for a property asset by multiplying each scenario's annual probability by its supplied damage fraction and asset replacement value, then summing across all scenarios.","exampleAgentPrompt":"Calculate the expected annual flood loss for a warehouse with a replacement value of $4,200,000, given three scenarios: a 1-in-10-year event (annual probability 0.10, inundation depth 0.5m, damage fraction 0.08), a 1-in-100-year event (annual probability 0.01, inundation depth 2.0m, damage fraction 0.40), and a 1-in-500-year event (annual probability 0.002, inundation depth 4.5m, damage fraction 0.85).","exampleUseCases":[{"title":"Portfolio flood EAL screening","prompt":"I have a commercial office building worth $12,000,000. Run an expected annual loss calc across two flood scenarios: a 10% annual probability event with 0.3m inundation and a 0.05 damage fraction, and a 1% annual probability event with 1.8m inundation and a 0.35 damage fraction. What's my total expected loss per year?"},{"title":"Pre-acquisition flood exposure check","prompt":"Before we close on this industrial property, I need to know the probability-weighted flood damage. Asset replacement value is $8,500,000. Scenarios are: scenario A at 0.05 annual probability, 0.7m depth, 0.12 damage fraction; scenario B at 0.01 annual probability, 2.5m depth, 0.55 damage fraction; scenario C at 0.002 annual probability, 5.0m depth, 0.90 damage fraction."},{"title":"Insurance deductible adequacy review","prompt":"Help me figure out our expected annual flood loss for a residential complex valued at $3,000,000. Use four scenarios: 0.20 annual probability with damage fraction 0.02, 0.10 annual probability with damage fraction 0.07, 0.02 annual probability with damage fraction 0.25, and 0.004 annual probability with damage fraction 0.70. I want to see the total EAL to compare against our deductible."}],"resultDescription":"Returns the summed expected annual loss across all supplied scenarios (each scenario's annual_probability × supplied_damage_fraction × asset_replacement_value), along with per-scenario breakdowns, expressed in the caller-supplied currency.","failureModes":["Missing required fields (scenario_id, annual_probability, inundation_depth_m, supplied_damage_fraction) returns validation error","annual_probability or supplied_damage_fraction outside [0,1] rejected","asset_replacement_value exceeds maximum (1e15) returns schema error","Scenarios array empty or exceeds 10,000 items","Negative values for inundation_depth_m or asset_replacement_value rejected"],"whenToPreferThis":"Use this endpoint when you already have pre-computed scenario probabilities and damage fractions and need a fast, deterministic expected annual loss figure. It is purely computational — it does not fetch hazard maps, run hydrological models, validate damage curves, price insurance, or predict events. Prefer this over full catastrophe-modeling platforms when you supply your own scenario inputs and need a lightweight, cost-effective calculation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:01.260Z","isFirstParty":false}