Skip to main content
POST
EMI Calculator

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ioLoanAmount
number
required

Loan Amount ($)

Required range: 0 <= x <= 999999999
ioInterestRate
number
required

Annual Interest Rate (%)

Required range: 0 <= x <= 100
ioTenure
number
required

Loan Tenure

Required range: 1 <= x <= 600
ioTenureUnit
enum<string>

Tenure Unit

Available options:
years,
months
ioCalcMethod
enum<string>

Calculation Method

Available options:
reducing,
flat
ioExtraMonthly
number

Monthly Extra Payment ($)

Required range: 0 <= x <= 999999999
ioLumpSum
number

One-time Lump Sum ($)

Required range: 0 <= x <= 999999999
ioLumpSumMonth
number

Lump Sum at Month #

Required range: 1 <= x <= 600
ioCompAAmount
number

Loan A Amount ($)

Required range: 0 <= x <= 999999999
ioCompARate
number

Loan A Rate (%)

Required range: 0 <= x <= 100
ioCompATenure
number

Loan A Tenure

Required range: 1 <= x <= 600
ioCompATenureUnit
enum<string>

Loan A Unit

Available options:
years,
months
ioCompBAmount
number

Loan B Amount ($)

Required range: 0 <= x <= 999999999
ioCompBRate
number

Loan B Rate (%)

Required range: 0 <= x <= 100
ioCompBTenure
number

Loan B Tenure

Required range: 1 <= x <= 600
ioCompBTenureUnit
enum<string>

Loan B Unit

Available options:
years,
months

Response

Tool output

tool
string
required
tool_version
string
required

Output-contract version for this tool. Currently "1" for all tools.

outputs
object
required
credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

request_id
string
credits_remaining
integer | null

Credits left in the current monthly allowance, or null when metering is disabled.