# AgentTools CAGR Calculator

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

Calculates the Compound Annual Growth Rate (CAGR) from an initial value to a final value over a specified number of years

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/finance/cagr-calculator?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-cagr-calculator-445a6b33
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4ukbkjRWFKV9F7_oUogdB

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-cagr-calculator-445a6b33
```

Example prompt: What's the CAGR for an investment that started at $10,000 and grew to $18,500 over 6 years?

## When to prefer this

Choose this endpoint when you need a quick, reliable CAGR computation with no setup required and only three numeric inputs. Ideal for AI agents that need to annualize investment returns, normalize business growth metrics, or compare performance across different time horizons. Prefer this over a full financial analytics platform when only the CAGR formula is needed without additional charting, forecasting, or historical data lookup.

## Known failure modes

- Missing required query parameters (initial, final, or years) results in a 400 error
- Non-numeric values for any parameter cause a validation error
- Zero or negative initial value may cause division-by-zero or invalid result
- Negative years value produces undefined mathematical result
- Very large or very small ratios may produce imprecise floating-point results

## How this service works

Calculate the compound annual growth rate that takes an initial value to a final value over a given number of years — the standard way to annualize returns. Use this when an agent needs to compound annual growth rate, time-normalized.

## Output

Returns the computed CAGR as a percentage representing the annualized rate at which an initial value would need to grow each year to reach the final value over the specified number of years

## 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": [
      "initial",
      "final",
      "years"
     ],
     "properties": {
      "final": {
       "type": "number",
       "description": "Final value"
      },
      "years": {
       "type": "number",
       "description": "Years"
      },
      "initial": {
       "type": "number",
       "description": "Initial value"
      }
     }
    }
   },
   "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-cagr-calculator-445a6b33/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)
