{"uid":"cap_Aj7-cnXuPTfWDVMyN6clK","slug":"finmath-present-value-calculator-215f5735","name":"finmath Present Value 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/present_value","method":"POST","headers":{},"bodySchema":{"type":"object","required":["amount","periods","rate_per_period"],"properties":{"amount":{"type":"number","description":"amount"},"periods":{"type":"number","description":"periods"},"rate_per_period":{"type":"number","description":"rate_per_period"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":{"request":{"amount":1000,"periods":5,"rate_per_period":0.05},"response":{"meta":{"tool":"present_value","disclaimer":"Deterministic calculation utility. Not financial, investment, or trading advice.","deterministic":true},"result":783.5261664684588}},"exampleRequest":{"amount":1000,"periods":5,"rate_per_period":0.05},"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_7Cbq-j45_SD9fJGNg5ZTo","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 the present value (PV) of a future amount given a number of periods and a per-period discount rate","exampleAgentPrompt":"What is the present value of $50,000 received 10 periods from now, using a discount rate of 5% per period?","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'result' field containing the computed present value as a number, and a 'meta' object with supplementary calculation metadata.","failureModes":["Missing required fields (amount, periods, rate_per_period) returns a 400/validation error","Non-numeric input for any required field causes a parse or validation error","rate_per_period of -1 or less (causing division by zero or undefined result) may return an error or NaN","Payment failure or insufficient USDC balance returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need exact, deterministic present value arithmetic rather than relying on an LLM's approximate in-context math. Ideal for AI agents performing financial analysis, DCF modeling, bond valuation, or investment comparisons where numerical precision is critical. Prefer it over general-purpose LLM computation when auditability and reproducibility matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:48:12.579Z","isFirstParty":false}