API & MCP

Everything a person can do on Break-even Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Break-even Explorer

Enter an upfront investment, subsidies and the yearly savings it brings, with optional price escalation, performance degradation and maintenance. The explorer returns simple and discounted payback (fractional years), NPV, IRR and a year-by-year cumulative cash-flow table.

Inputs of Break-even Explorer
FieldTypeDefaultDescription
presetselect (custom, solar, ev, heat-pump)"custom"Preset. Presets only fill in escalation, degradation and horizon when you leave those empty; the values are listed under assumptions.
currencytext"EUR"Currency. Shown in results only; no conversion is performed.
upfrontInvestment (required)number10000Upfront investment
subsidiesnumber0Subsidies / grants / tax credits. Received at the start; reduces the net investment.
annualSavings (required)number1200Savings in year 1
savingsEscalationPercentnumber—Savings escalation (e.g. energy price inflation). Empty = preset default.
degradationPercentnumber—Performance degradation. Empty = preset default.
maintenancePerYearnumber0Maintenance per year
discountRatePercentnumber3Discount rate
horizonYearsinteger—Horizon. Empty = preset default.
savingsByYeartable—Override savings for specific years (optional). Savings entered here replace the escalated/degraded value for that year (before maintenance).

Example request

Rooftop solar with a grant

curl -X POST https://breakevenexplorer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"preset":"solar","currency":"EUR","upfrontInvestment":12000,"subsidies":1500,"annualSavings":1100,"maintenancePerYear":100,"discountRatePercent":3}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "break-even-explorer": { "type": "http", "url": "https://breakevenexplorer.usefulweb.site/mcp" }
  }
}