# ForgeMesh Financial Calculator

> ForgeMesh Financial Calculator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Computes compound interest, loan/mortgage payments, or ROI from structured numeric inputs, returning exact arithmetic results.

## Facts

- Endpoint: POST https://x402.forgemesh.io/financial-calculator
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-financial-calculator-faff79d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5c9ILcjyH6pk9AXn-2TR5

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 forgemesh-financial-calculator-faff79d0 -d '<json body>'
```

Example prompt: What would my monthly payment be on a $250,000 loan at 6.5% annual interest over 30 years? Also tell me the total interest I'd pay over the life of the loan.

## When to prefer this

Use this endpoint when an agent needs precise, exact financial arithmetic for compound interest, loan/mortgage payment schedules, or ROI — especially in fintech, budgeting, or planning workflows where correct math matters. Prefer this over general-purpose code execution when you need a fast, cheap, structured response without spinning up a compute environment.

## Known failure modes

- Missing required fields for the selected calculation type return an error
- Non-numeric string values for numeric fields cause parsing failures
- Invalid calculation type string (not compound_interest, loan_payment, or roi) returns an error
- Division by zero scenarios (e.g. zero compounds_per_year) may return an error
- Negative or zero principal/rate may produce nonsensical results

## How this service works

Financial calculator API: compound interest (final amount, interest earned, effective annual rate), loan/mortgage payment (monthly payment, total paid, total interest), or ROI — from structured numeric inputs. For fintech, budgeting, and planning agents. Not financial advice; the arithmetic is exact.

## Output

Returns exact computed financial values depending on calculation type: for compound_interest — final amount, interest earned, and effective annual rate; for loan_payment — monthly payment, total paid, and total interest; for roi — return on investment percentage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "final": {
   "type": "string"
  },
  "years": {
   "type": "string"
  },
  "initial": {
   "type": "string"
  },
  "principal": {
   "type": "string"
  },
  "calculation": {
   "type": "string",
   "description": "compound_interest | loan_payment | roi"
  },
  "compounds_per_year": {
   "type": "string"
  },
  "annual_rate_percent": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "total_interest": 382632.9,
  "monthly_payment": 1896.2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-financial-calculator-faff79d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
