IFSC lookup API
Get bank, branch and payment-mode support for an IFSC.
Overview
Use it to fill the bank and branch name as the user types an IFSC, and to check if the branch supports IMPS, NEFT, RTGS and UPI.
GET/v1/lookup/ifsc/{ifsc}
Where it’s used
- Form autofill
- Payout routing
- Data clean-up
How the check runs
- You call GET with the IFSC in the URL.
- We answer from our copy of the RBI IFSC master, refreshed weekly.
Request
| Field | Description |
|---|---|
ifsc | 11-character IFSC in the URL |
curl https://api.yetlix.com/v1/lookup/ifsc/HDFC0001234 \ -H "x-client-id: $YETLIX_CLIENT_ID" \ -H "x-client-secret: $YETLIX_CLIENT_SECRET"
{
"status": "success",
"request_id": "req_7Hq2kD91",
"data": {
"ifsc": "HDFC0001234",
"bank": "HDFC Bank",
"branch": "Sector 18, Noida",
"city": "Noida",
"state": "Uttar Pradesh",
"imps": true,
"neft": true,
"rtgs": true,
"upi": true
}
}
Response fields
Inside the data object. The envelope (status, request_id, billable, timestamp) is the same for every API and is described in the docs.
| Field | Type | Meaning |
|---|---|---|
bank, branch | string | Bank and branch names. |
address, city, district, state | string | Branch location. |
micr | string | MICR code, if any. |
imps, neft, rtgs, upi | boolean | Payment modes supported. |
Outcomes and what to do
Every check can end in a handful of ways. Decide up front what your product does in each case, so nothing falls through to a support ticket.
FOUND
IFSC exists.
Do this: Use for autofill.
NOT_FOUND
No such IFSC.
Do this: Ask the user to check their chequebook or passbook.
Sandbox test values
Send these values in ifsc with your sandbox key to get each result. Anything else returns INVALID_INPUT in sandbox.
| Value | Returns |
|---|---|
HDFC0001234 | Found |
ABCD0000000 | Not found |
Best practices
- IFSC lookups aren’t billed on most plans. Use them freely for form autofill.
Compliance note. No personal data involved.