# AgentTools Compound Interest Calculator

> AgentTools Compound Interest Calculator is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Calculates the future value of a deposit with compound interest, supporting annual, semi-annual, quarterly, monthly, weekly, or daily compounding frequencies.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/calculators/compound-interest-calculator?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-compound-interest-calculator-b3a9b07b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_beSJMV_Ii5XFt3zv8cUfz

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 agenttools-compound-interest-calculator-b3a9b07b
```

Example prompt: What will $10,000 grow to if I deposit it at a 5% annual interest rate for 7 years, compounded monthly? Show me the total interest earned too.

## When to prefer this

Use this endpoint when you need a precise compound interest calculation with a specific compounding frequency (not just simple interest). Prefer this over simple interest calculators when the user specifies a compounding period, and over generic financial APIs when you need a lightweight, single-purpose computation without authentication overhead.

## Known failure modes

- Missing required parameters (principal, annualRate, or years) returns a 400 error
- Invalid compounding frequency (not in [1,2,4,12,52,365]) causes a validation error
- Negative or zero principal or rate values may return an error or unexpected result
- Non-numeric inputs for numeric fields return a schema validation error

## How this service works

Project the future value of a deposit with compound interest: choose annual, semi-annual, quarterly, monthly, weekly or daily compounding and see total interest earned. Use this when an agent needs to future value with any compounding frequency.

## Output

Returns the projected future value of the deposit, the total interest earned, and the compounding details based on the principal, annual rate, duration, and selected compounding frequency (annual=1, semi-annual=2, quarterly=4, monthly=12, weekly=52, or daily=365).

## 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",
      "annualRate",
      "years"
     ],
     "properties": {
      "years": {
       "type": "number",
       "description": "Years"
      },
      "principal": {
       "type": "number",
       "description": "Principal"
      },
      "annualRate": {
       "type": "number",
       "description": "Annual rate %"
      },
      "timesPerYear": {
       "enum": [
        1,
        2,
        4,
        12,
        52,
        365
       ],
       "type": "number",
       "description": "Compounding"
      }
     }
    }
   },
   "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/agenttools-compound-interest-calculator-b3a9b07b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
