Skip to main content
POST
/
loan-eligibility
cURL
curl --request POST \
  --url https://api.insightai.in/loan-eligibility \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "age": 123,
  "gender": "<string>",
  "marital_status": "<string>",
  "state": "<string>",
  "city": "<string>",
  "residential_status": "<string>",
  "monthly_income": 123,
  "employment_type": "<string>",
  "occupation_sector": "<string>",
  "previous_debt": 123,
  "loan_purpose": "<string>"
}'
{
  "eligibility": true,
  "recommended_loan_amount": 123,
  "loan_tenure": "<string>",
  "interest_rate": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Customer details for loan eligibility check.

age
integer
required

Age of the customer.

monthly_income
number
required

Monthly income of the customer.

employment_type
string
required

Employment type (Salaried, Business, Self-employed).

loan_purpose
string
required

Purpose of the loan.

gender
string

Gender of the customer.

marital_status
string

Marital status of the customer.

state
string

State of residence.

city
string

City of residence.

residential_status
string

Customer's residential status (Owned, Rented, Other).

occupation_sector
string

Sector of occupation.

previous_debt
number

Amount of previous debt (if any).

Response

Loan eligibility response

eligibility
boolean

Indicates whether the customer is eligible for a loan.

The amount recommended to be sanctioned to the customer.

loan_tenure
string

Recommended loan tenure.

interest_rate
number

Interest rate applicable on the loan.

I