{"uid":"cap_QXynLNCt-MKlB-2HfGj-Q","slug":"openverbs-finance-npv-calculator-5f724afd","name":"OpenVerbs Finance NPV Calculator","description":"Net present value of a series of cash flows discounted at a per-period rate. cashflows[0] is the time-0 flow (typically the initial outlay, negative).","url":"https://finance.openverbs.com/v1/npv","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["ratePercent","cashflows"],"properties":{"cashflows":{"type":"array","items":{"type":"number"},"maxItems":10000,"minItems":1,"description":"Cash flows by period; index 0 is time 0."},"ratePercent":{"type":"number","maximum":1000,"minimum":-99,"description":"Discount rate per period, as a percentage."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MD6V544FN9xIJMnwXWFxW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the net present value (NPV) of a series of cash flows discounted at a specified per-period rate, with cash flow at index 0 treated as the time-0 outlay.","exampleAgentPrompt":"Calculate the NPV of a project that costs $50,000 upfront and returns $15,000, $20,000, $18,000, and $12,000 over the next four years, using a discount rate of 8% per period.","exampleUseCases":[{"title":"Capital budgeting project evaluation","prompt":"I'm considering a manufacturing upgrade that costs $200,000 today and is expected to generate $60,000, $70,000, $75,000, and $65,000 over the next four years. Can you calculate the NPV at a 9% annual discount rate so I can decide whether it's worth it?"},{"title":"Real estate investment NPV check","prompt":"I'm looking at a rental property that requires a $300,000 initial investment and will yield $30,000 per year for 10 years. What's the net present value of those cash flows at a 7% discount rate per year?"},{"title":"Startup funding round analysis","prompt":"Our startup is evaluating a product line: we'd spend $80,000 now, then earn $10,000, $25,000, $40,000, and $50,000 over four years. Please compute the NPV using a 12% per-period discount rate."}],"resultDescription":"Returns the computed net present value as a single numeric figure, representing the sum of all discounted cash flows including the time-0 outlay. A positive NPV indicates the investment adds value; negative NPV indicates a loss relative to the discount rate.","failureModes":["Invalid ratePercent outside -99 to 1000 range returns a validation error","Empty or missing cashflows array causes a required field error","cashflows array exceeding 10,000 items is rejected","Non-numeric values in cashflows array trigger a type validation error","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a precise, API-driven NPV calculation for capital budgeting, investment appraisal, or any discounted cash flow analysis — especially in automated agent workflows where reproducibility and programmatic access matter. Prefer it over spreadsheet formulas or manual calculations when integrating into agentic pipelines, financial modeling tools, or decision-support systems.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:35.660Z","isFirstParty":false}