# Scenarios

`POST https://firm.wealthnow.io/api/v3/research/scenario_simulator`

- Plan: Pro and up
- Price: 4 credits per call (failed requests are free)
- MCP tool: `research_scenario_simulator`
- Source: https://app.wealthnow.io/docs/reference/research-scenario-simulator

Deterministic DCF-style projection under bull, base and bear (or your own) scenarios. You supply the TTM financials and, per scenario, revenue_growth_pct, net_margin_pct and exit_pe_multiple; it projects over horizon_quarters (default 4) and returns projected_revenue, projected_eps, projected_price, implied_upside_pct and implied_cagr_pct per scenario, each with a math_trail of the steps. The summary gives a probability-weighted expected_value_price, a skew label and the bull/bear asymmetry_ratio. Pure arithmetic on your inputs: no model, no market data.

## Body (application/json)

| Field | Type | Required | Description |
|---|---|---|---|
| `ticker` | string | yes | Ticker the projection is for. |
| `current` | object | yes | Trailing-twelve-month starting point you supply. |
| `current.revenue_ttm` | number | yes | TTM revenue, USD. |
| `current.eps_ttm` | number or null | no | TTM diluted EPS, USD per share. |
| `current.shares_outstanding` | number | yes | Shares outstanding, count. |
| `current.current_price` | number | yes | Current share price, USD. |
| `scenarios` | map of object | yes | Scenario name (e.g. bull, base, bear) -> assumptions. |
| `scenarios.{key}.revenue_growth_pct` | number | yes | Annual revenue growth, percent (25 = 25%) |
| `scenarios.{key}.net_margin_pct` | number | yes | Net margin at the horizon, percent. |
| `scenarios.{key}.exit_pe_multiple` | number | yes | Price/earnings multiple at the horizon, x. |
| `horizon_quarters` | integer or null | no | Projection horizon, quarters. Default `4`. Range 1 to 40. |
| `scenario_probabilities` | map of number or null | no | Optional scenario name -> probability (normalised to sum to 1); enables the probability-weighted summary. |

## Example request

```bash
curl -X POST "https://firm.wealthnow.io/api/v3/research/scenario_simulator" \
  -H "Authorization: Bearer $WEALTHNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ticker": "NVDA",
    "current": {
      "revenue_ttm": 180000000000,
      "eps_ttm": 4.1,
      "shares_outstanding": 24400000000,
      "current_price": 182.5
    },
    "scenarios": {
      "bull": {
        "revenue_growth_pct": 45,
        "net_margin_pct": 56,
        "exit_pe_multiple": 40
      },
      "base": {
        "revenue_growth_pct": 30,
        "net_margin_pct": 53,
        "exit_pe_multiple": 32
      },
      "bear": {
        "revenue_growth_pct": 10,
        "net_margin_pct": 48,
        "exit_pe_multiple": 22
      }
    },
    "horizon_quarters": 4,
    "scenario_probabilities": {
      "bull": 0.25,
      "base": 0.5,
      "bear": 0.25
    }
  }'
```

## Errors

| Status | Code | Meaning |
|---|---|---|
| 400 | `invalid_ticker` | The request is malformed, for example a ticker that is not a symbol: `invalid_ticker`, refused before any credit is reserved, with `param` naming the parameter. Not billed. |
| 401 | `unauthorized` | Missing or invalid API key. |
| 402 | `plan_required` | Your plan does not include this tool, you are out of credits, or your workspace's spend cap paused its keys. `plan_required` names the plan that unlocks the tool; `usage_exceeded` means the credit balance is spent; `spend_cap_reached` means the key is paused until the cap resets or is raised: `detail` names the cap and the reset, `cap_usd` and `resets_at` (ISO 8601) carry them, and `doc_url` links pricing and credits. Not billed. |
| 403 | `scope_denied` | This API key is limited to some products and this tool is not one of them. `product` names the tool's product and `scopes` the key's products. An upgrade does not change it: use a key whose scopes include the product, or change this key's scopes. Not billed. |
| 404 | `not_found` | No such resource. Not billed. |
| 422 | `validation` | A parameter is missing, out of range or the wrong type; `param` names it. Not billed. |
| 429 | `rate_limited` | Your plan's rate limit is spent for this window. Retry after `Retry-After` seconds. Not billed. |
| 503 | `paid_data_unavailable` | The data could not be served completely right now; retry later. Not billed. |
| 504 | `request_timeout` | The request ran past the server's time budget; retry. Not billed. |
