{"slug":"api-sitecheck-api-workers-dev-api-finance-loan-dff48f","title":"Loan and investment calculator in exact cents, no outside source","host":"api.sitecheck-api.workers.dev","method":"GET","resource":"https://api.sitecheck-api.workers.dev/api/finance/loan","category":"other","description":"Loan and investment calculator in exact cents, no outside source. mode=annuity: monthly payment, total interest and the full amortisation schedule (up to 600 months). mode=compound: future value of an initial sum plus monthly contributions. mode=npv or irr: discount or internal rate of return of a l","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":32,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:5042","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"mode":"annuity","principal":"250000","rate":"6.5","termYears":"30"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"cashflows":{"description":"Comma-separated cashflows for npv and irr, e.g. -1000,300,400,500 (first at time 0)","type":"string"},"contribution":{"description":"Monthly contribution for compound, up to two decimals (optional)","type":"string"},"mode":{"description":"annuity (default), compound, npv or irr","type":"string"},"principal":{"description":"Loan amount (annuity) or starting sum (compound), up to two decimals (optional for compound)","type":"string"},"rate":{"description":"Annual rate in percent, 0 to 100 (annuity, compound); rate per period in percent for npv (-99 to 1000)","type":"string"},"termMonths":{"description":"Term in months, 1 to 600, instead of termYears","type":"string"},"termYears":{"description":"Term in years, up to 50 (annuity, compound)","type":"string"}},"required":["mode"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":32,"error":null}],"description_full":"Loan and investment calculator in exact cents, no outside source. mode=annuity: monthly payment, total interest and the full amortisation schedule (up to 600 months). mode=compound: future value of an initial sum plus monthly contributions. mode=npv or irr: discount or internal rate of return of a list of cashflows (up to 200, the first at time 0). Rates are percentages from 0 to 100 a year (per period for npv and irr); terms up to 50 years.","last_updated":"2026-10-15T19:53:06.517Z","schemes":["exact"]}