---
title: "Intelligence Stress Test"
method: POST
path: "/api/intelligence/v1/stress-test"
tags: ["Intelligence API"]
---

# Intelligence Stress Test

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

## Request

- Base URL: `https://api.xfinlab.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xfinlab.com/api/intelligence/v1/stress-test`
- Auth: none declared

Real historical-bootstrap Monte Carlo (see services/monte_carlo_
service.py's module docstring for the honesty notes on method/
limitations -- returned verbatim in the `method`/`note` fields, never
stripped out for API consumers). Same MAX_HORIZON_DAYS/MAX_N_SIMULATIONS
caps stress-lab.html's own callers get; POST (not GET) since this is
the heaviest-compute endpoint in this router after `debate`/`intel`.

## Headers

- `X-API-Key` string

## Request body

- StressTestRequest
  - `symbol` string, required
  - `amount` number, required
  - `horizon_days` integer
  - `n_simulations` integer, nullable
  - `lang` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xfinlab/apis/xfinlab-api.md) · [All operations](https://skmtc.dev/xfinlab/apis/xfinlab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfinlab/apis/xfinlab-api/revisions/205f85614bc6?raw)
