Skip to content
WorkspaceDarkLight
Contents

API reference

Capacity

See the arithmetic. Open the product

GET/v1/capacityOpen ↗

The same on the invented ordinary statement, for any loan in the query.

Query
loanthe amount applied for, dollars
ratethe annual rate, per cent
yearsthe term, years
benchmarkthe lender’s own monthly expense benchmark, dollars
declaredmonthly expenses the applicant declared, dollars
minimumthe lender’s surplus floor, dollars a month
grossgross annual income, dollars
debtsother debts the lender counts, dollars
cardscredit card limits, dollars
retiringcommitments that end before the loan starts, by description
settingHow far a reading may go past the rules: strict is the rules alone; balanced, the default, adds a modelled reading where its category stays at 95% precision or better; broad, at 90%; complete gives every line a category, guessing where nothing read it, and marks each guess.

POST/v1/capacityKey

Serviceability and borrowing power for a loan, on a statement sent in the body.

Query
loanthe amount applied for, dollars
ratethe annual rate, per cent
yearsthe term, years
benchmarkthe lender’s own monthly expense benchmark, dollars
declaredmonthly expenses the applicant declared, dollars
minimumthe lender’s surplus floor, dollars a month
grossgross annual income, dollars
debtsother debts the lender counts, dollars
cardscredit card limits, dollars
retiringcommitments that end before the loan starts, by description
settingHow far a reading may go past the rules: strict is the rules alone; balanced, the default, adds a modelled reading where its category stays at 95% precision or better; broad, at 90%; complete gives every line a category, guessing where nothing read it, and marks each guess.
Body
the CSV export as text/csv with the loan in the query, or JSON {statement, loan, rate, years, setting?, …}