29trust / 100
Calculators Compound Interest Calculator
by AgentTools in Markets & finance
x402 APIFailing, checked 1 h ago
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.
GET https://agenttools-hub.vercel.app/api/v1/calculators/compound-interest-calculator
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 13.3%
- Response time
- 137 ms typical, 137 ms slowest 5%
- Last check
- 1 h ago: Expected HTTP 402, got 308
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/calculators/compound-interest-calculator?annualRate=5&principal=10000×PerYear=12&years=10"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Fcalculators%2Fcompound-interest-calculator
const res = await pay("https://agenttools-hub.vercel.app/api/v1/calculators/compound-interest-calculator?annualRate=5&principal=10000×PerYear=12&years=10");
console.log(await res.json());Example input
{
"annualRate": 5,
"principal": 10000,
"timesPerYear": 12,
"years": 10
}Example output
{
"result": {
"answer": "16,470.09",
"answerLabel": "Future value after 10 years",
"details": [
{
"label": "Interest earned",
"value": "6,470.09"
},
{
"label": "Principal",
"value": "10,000"
},
{
"label": "vs simple interest",
"value": "+1,470.09"
}
],
"steps": [
"r/n = 5% ÷ 12 = 41.67% per period",
"periods = 12 × 10 = 120",
"A = P × (1 + r/n)^120 = 16,470.09"
],
"value": 16470.094977
},
"tool": "compound-interest-calculator"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Expected HTTP 402, got 308 | 308 | 78 ms | - |
| 6 h ago | Expected HTTP 402, got 308 | 308 | 20 ms | - |
| 10 h ago | Expected HTTP 402, got 308 | 308 | 102 ms | - |
| 14 h ago | Expected HTTP 402, got 308 | 308 | 129 ms | - |
| 18 h ago | Expected HTTP 402, got 308 | 308 | 98 ms | - |
| 22 h ago | Expected HTTP 402, got 308 | 308 | 103 ms | - |
| 26 h ago | Expected HTTP 402, got 308 | 308 | 85 ms | - |
| 30 h ago | Expected HTTP 402, got 308 | 308 | 118 ms | - |
| 34 h ago | Expected HTTP 402, got 308 | 308 | 136 ms | - |
| 39 h ago | Expected HTTP 402, got 308 | 308 | 46 ms | - |
| 42 h ago | Expected HTTP 402, got 308 | 308 | 82 ms | - |
| 46 h ago | Expected HTTP 402, got 308 | 308 | 59 ms | - |
| 2 days ago | Expected HTTP 402, got 308 | 308 | 45 ms | - |
| 2 days ago | Passed | 402 | 185 ms | $0.003 |
| 2 days ago | Passed | 402 | 137 ms | $0.003 |