{"uid":"cap_vn4MXQ4M8Q7qCXrswbscw","slug":"finmath-cagr-calculator-a6acd424","name":"finmath CAGR Calculator","description":"Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.","url":"https://finmath.qzqh5rrbkz.workers.dev/v1/cagr","method":"POST","headers":{},"bodySchema":{"type":"object","required":["end_value","begin_value"],"properties":{"years":{"type":"number","description":"years"},"end_value":{"type":"number","description":"end_value"},"begin_value":{"type":"number","description":"begin_value"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":{"request":{"years":7,"end_value":23000,"begin_value":8500},"response":{"meta":{"tool":"cagr","disclaimer":"Deterministic calculation utility. Not financial, investment, or trading advice.","deterministic":true},"result":0.15281180679278683}},"exampleRequest":{"years":7,"end_value":23000,"begin_value":8500},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p5_cHG6ZRNxEAG4pAUltw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes Compound Annual Growth Rate (CAGR) from a beginning value, ending value, and number of years using deterministic arithmetic","exampleAgentPrompt":"What's the CAGR on an investment that started at $8,500 and grew to $23,000 over 7 years?","exampleUseCases":null,"resultDescription":"Returns a result object containing the computed CAGR as a decimal or percentage, plus metadata about the calculation. The value represents the annualized growth rate that would take begin_value to end_value over the specified number of years.","failureModes":["Missing required fields (begin_value or end_value) returns a validation error","begin_value of zero causes division-by-zero or undefined result","Negative begin_value or end_value may return NaN or error depending on implementation","years = 0 causes division-by-zero","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need an exact, deterministic CAGR calculation rather than relying on an LLM's arithmetic, which can be imprecise. Ideal for financial reporting, portfolio analysis, or any agent workflow requiring provably correct annualized return figures. Prefer over generic math tools when the domain is explicitly investment or financial growth rate calculation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:40:15.869Z","isFirstParty":false}