# HSA Growth Calculator

> HSA Growth Calculator is a paid API for AI agents from x402.outpimp.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Projects year-by-year HSA (Health Savings Account) balance growth given a starting balance, annual contributions, annual medical expense withdrawals, and an expected annual return rate.

## Facts

- Endpoint: POST https://x402.outpimp.com/hsaGrowthCalculator
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hsa-growth-calculator-7621cbf3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hazqLB8hgMeja9m47smWP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hsa-growth-calculator-7621cbf3 -d '<json body>'
```

Example prompt: I have $8,500 in my HSA right now and I contribute $3,850 a year including my employer's share. I spend about $1,200 a year on medical expenses and expect a 6% annual return. Can you project my HSA balance year by year for the next 25 years?

## When to prefer this

Use this endpoint when you need a deterministic, year-by-year HSA balance projection based on fixed contribution, withdrawal, and return assumptions. Prefer it over generic compound interest calculators because it explicitly handles annual medical expense withdrawals alongside contributions, which is specific to HSA planning. It covers up to 60 years making it suitable for long-term retirement planning scenarios.

## Known failure modes

- Missing required fields (years, startingValue, annualReturnRate, annualContribution) return a validation error
- Years value outside 1-60 range may return an error or unexpected results
- Negative balance scenarios (expenses exceeding contributions plus returns) may produce zero or negative projected values
- annualReturnRate expressed as a percentage (e.g. 6) instead of a fraction (e.g. 0.06) will produce wildly inflated projections
- Network or payment (x402) failure returns a 402 or 5xx error

## How this service works

HSA (Health Savings Account) growth calculator. Projects year-by-year account balance from a starting value, annual contributions, annual expense withdrawals, and an annual return rate.

## Output

A year-by-year projection of the HSA account balance over the specified number of years, accounting for the starting balance, annual contributions, annual expense withdrawals, and compounding investment returns.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "years": {
   "type": "number",
   "description": "Number of years to project (1-60)."
  },
  "startingValue": {
   "type": "number",
   "description": "Current HSA balance."
  },
  "annualExpenses": {
   "type": "number",
   "description": "Annual withdrawals for medical expenses."
  },
  "annualReturnRate": {
   "type": "number",
   "description": "Expected annual investment return, as a fraction."
  },
  "annualContribution": {
   "type": "number",
   "description": "Total annual contribution, including any employer contribution."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hsa-growth-calculator-7621cbf3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.outpimp.com](https://www.zero.xyz/host/x402.outpimp.com/llms.txt)
