---
title: "Stress Test"
method: POST
path: "/api/v1/scenarios/stress-test"
tags: ["Scenario Simulation"]
---

# Stress Test

`POST /api/v1/scenarios/stress-test`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/scenarios/stress-test`
- Auth: none declared

Portfolio stress test across multiple locations.

Runs Monte Carlo simulation across a portfolio of insured
locations. Returns loss exceedance curves, VaR, and TVaR.

**Pricing:** Included in subscription tiers (legacy list price: GET /api/v1/billing/pricing). test.

## Query parameters

- `x_api_key` string, nullable

## Request body

- StressTestRequest
  - `locations` object[], required: List of {lat, lon, value, region} dicts
  - `hazard_types` string[], nullable: Hazards to simulate (default: all)
  - `n_simulations` integer
  - `n_years` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
