# AgentTools Compound Interest Calculator

> AgentTools Compound Interest Calculator is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Projects the future value of a deposit with compound interest across multiple compounding frequencies (annual, semi-annual, quarterly, monthly, weekly, or daily)

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/calculators/compound-interest-calculator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-compound-interest-calculator-a66fd9b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XtZwuJlsT8cdl4pW1OqvA

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-a66fd9b6
```

Example prompt: If I put $15,000 into a savings account today at a 4.5% annual rate, what will it be worth after 10 years with monthly compounding?

## When to prefer this

Use this endpoint when you need a fast, deterministic compound interest calculation with a specific compounding frequency (annual, semi-annual, quarterly, monthly, weekly, or daily). It is ideal for savings projections, investment planning, and loan/CD comparisons where exact compounding schedules matter. Prefer this over simple interest calculators when the compounding frequency significantly impacts the result.

## Known failure modes

- Missing required parameters (principal, annualRate, years) returns a validation error
- Invalid compounding frequency not in the allowed enum [1,2,4,12,52,365] returns an error
- Non-numeric values for numeric fields cause a bad request response
- Negative principal or rate values may produce unexpected or erroneous output
- Network/server errors from the Vercel deployment returning 500-level responses

## 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 over the period, and a breakdown showing how compounding frequency affects growth. The response includes numeric values for the final balance and accumulated interest based on the supplied principal, rate, duration, and compounding frequency.

## 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-a66fd9b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
