# PrimeAPI Compound Interest Calculator

> PrimeAPI Compound Interest Calculator is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.106656/call, status unknown (last checked 2026-09-14).

Calculates compound interest growth given principal, rate, and time parameters

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/finance/compound/calc
- Price: $0.106656/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-compound-interest-calculator-d258df96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EBUsZ8O8QJ3lFzbomdMx9

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 primeapi-compound-interest-calculator-d258df96 -d '<json body>'
```

Example prompt: Can you calculate the compound interest on a $10,000 principal at a 5% annual interest rate compounded monthly over 3 years?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call compound interest computation without setting up API keys or managing a dedicated financial math library. Best for agents that need on-demand financial projections as part of a broader workflow.

## Known failure modes

- Missing or invalid principal amount returns an error
- Negative or zero interest rate may produce unexpected results
- Unsupported compounding frequency values may cause a 400 error
- Payment failure in USDC results in 402 response blocking the request
- Malformed query string or input schema mismatch returns a 422 or 400 error

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the computed compound interest result including the final balance, total accrued interest, and growth breakdown based on the provided principal, rate, compounding frequency, and time period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-compound-interest-calculator-d258df96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
