# Compound Interest Calculator

> Compound Interest Calculator is a paid API for AI agents from aniccanomac-mini-1.tail7a0ba4.ts.net:10000, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Calculates the final amount and interest earned for a given principal, rate, years, and compounding frequency

## Facts

- Endpoint: GET https://aniccanomac-mini-1.tail7a0ba4.ts.net:10000/compound-interest
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/compound-interest-calculator-6eed6559
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5JkUAye2zWGoUlpSljLnp

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 compound-interest-calculator-6eed6559
```

Example prompt: If I invest $10,000 at a 5% annual interest rate for 10 years with monthly compounding, what will my final balance be and how much interest will I have earned?

## When to prefer this

Use this endpoint when you need a fast, deterministic compound interest calculation with a specific compounding frequency. Prefer it over general arithmetic calculators when you specifically need compound interest semantics (principal, rate, compoundsPerYear) rather than a raw math expression. Ideal for financial planning agents computing savings growth, loan interest projections, or investment returns.

## Known failure modes

- Missing required parameters (principal, rate, or years) returns an error
- Non-numeric values for numeric fields cause a bad request response
- Negative or zero principal/rate/years may produce unexpected or invalid results
- compoundsPerYear of 0 may cause division-by-zero error

## How this service works

Compound interest calculator. GET /compound-interest?principal=10000&rate=5&years=10&compoundsPerYear=12 → final amount + interest earned. Deterministic JSON, instant.

## Output

A deterministic JSON object containing the final amount (principal plus interest) and the total interest earned over the specified period, given the principal, annual rate, duration in years, and number of compounding periods per year.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "principal",
      "rate",
      "years"
     ],
     "properties": {
      "rate": {
       "type": "number"
      },
      "years": {
       "type": "number"
      },
      "principal": {
       "type": "number"
      },
      "compoundsPerYear": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/compound-interest-calculator-6eed6559/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aniccanomac-mini-1.tail7a0ba4.ts.net:10000](https://www.zero.xyz/host/aniccanomac-mini-1.tail7a0ba4.ts.net%3A10000/llms.txt)
