All APIs
Lending

Loan Eligibility

POST/api/marketplace/v1/loan-eligibilityFree plan

Overview

Instant loan eligibility using FOIR (Fixed Obligation to Income Ratio) — the same standard Indian banks and NBFCs use.

Use case
Pre-qualify borrowers before showing loan cards on any embedded lending or marketplace flow.

Authentication

All requests require the X-API-Key header. Sandbox and live keys share the same base URL — the platform routes based on the key prefix.

Base URL
https://api.loan4bank.com/v3
Auth header
X-API-Key: <YOUR_KEY>

Request parameters

NameTypeRequiredDescriptionExample
monthly_incomenumberRequiredGross monthly income, ₹.120000
monthly_expensesnumberRequiredRegular monthly expenses, ₹.55000
existing_emisnumberRequiredSum of active EMIs, ₹.18000
employment_typestringOptionalsalaried | self_employed | business_owner."salaried"
annual_ratenumberOptionalAssumed loan interest %, default 11.10.75
tenure_monthsintegerOptionalAssumed tenure, default 60.60

Response schema

FieldTypeDescription
data.eligible_loan_amountintegerMax loan sanction, ₹.
data.max_emiinteger50% FOIR-safe monthly EMI, ₹.
data.foir_pctnumberFixed-obligation-to-income used.
data.assumptionsobjectRate + tenure used.

Sample request & response

Request · cURL
curl -X POST 'https://api.loan4bank.com/v3/marketplace/v1/loan-eligibility' \
  -H 'X-API-Key: <YOUR_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{"monthly_income":120000,"monthly_expenses":55000,"existing_emis":18000,"employment_type":"salaried"}'
Sample response
{
  "status": "SUCCESS",
  "message": "ok",
  "data": {
    "eligible_loan_amount": 1912000,
    "max_emi": 42000,
    "foir_pct": 50,
    "assumptions": {
      "annual_rate": 11,
      "tenure_months": 60
    }
  }
}
Want to hit this endpoint without leaving the docs? and use the in-modal runner — it's pre-loaded with this endpoint's sample body.

Error codes

HTTPCodeFix
400L4B-001Check the params table for the endpoint and re-send.
401L4B-101Include the header on every request.
401L4B-102Rotate via /developer/dashboard or grab a fresh sandbox key.
402L4B-201Upgrade to the min plan shown in the endpoint's docs page.
403L4B-301Toggle it on via `POST /developers/apis/toggle` or the dashboard.
404L4B-401Verify the URL path and version prefix (`/v1/`).
422L4B-421Check the response body for `detail` — it names the offending field.
429L4B-491Backoff `Retry-After` seconds, or upgrade the plan.
See the full error reference

Rate limits by plan

PlanMonthly quotaBurstPrice
free100 calls10 / minute₹0
starter5,000 calls60 / minute₹999 / month
growth25,000 calls240 / minute₹2,999 / month
enterpriseUnlimited1,200 / minuteCustom

Changelog

See the platform changelog for version-level history covering this endpoint.