# finmath Future Value Calculator

> finmath Future Value Calculator is a paid API for AI agents from finmath.qzqh5rrbkz.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Computes the future value of a present amount given a periodic interest rate and number of compounding periods

## Facts

- Endpoint: POST https://finmath.qzqh5rrbkz.workers.dev/v1/future_value
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/finmath-future-value-calculator-57322a33
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bk_PAT6TXRovdZmuPwk8H

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 finmath-future-value-calculator-57322a33 -d '<json body>'
```

Example prompt: What will $5,000 grow to after 10 periods at a rate of 0.6% per period — give me the exact future value using deterministic math?

## When to prefer this

Use this endpoint when you need exact, deterministic future value calculations that cannot be trusted to an LLM's arithmetic. Ideal for financial planning agents, investment projectors, or any workflow requiring reliable compound interest math with audit-quality precision. Prefer over LLM estimation whenever reproducibility and exactness matter.

## Known failure modes

- Missing required field (amount, periods, or rate_per_period) returns a validation error
- Non-numeric values for numeric fields cause a 400-level error
- Payment not provided or insufficient USDC causes a 402 Payment Required response
- Negative periods or extreme rate values may produce unexpected mathematical results
- Network timeout if the Cloudflare Worker is unavailable

## How this service works

Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.

## Output

Returns a result object containing the computed future value of the input amount after the specified number of periods at the given rate, along with a meta object containing call and computation metadata.

## Example request

```json
{
 "amount": 1000,
 "periods": 5,
 "rate_per_period": 0.05
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "amount",
  "periods",
  "rate_per_period"
 ],
 "properties": {
  "amount": {
   "type": "number",
   "description": "amount"
  },
  "periods": {
   "type": "number",
   "description": "periods"
  },
  "rate_per_period": {
   "type": "number",
   "description": "rate_per_period"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "result",
  "meta"
 ],
 "properties": {
  "meta": {
   "type": "object"
  },
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/finmath-future-value-calculator-57322a33/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from finmath.qzqh5rrbkz.workers.dev](https://www.zero.xyz/host/finmath.qzqh5rrbkz.workers.dev/llms.txt)
