1. Home
  2. APIs
  3. Bank & UPI

IFSC lookup API

Get bank, branch and payment-mode support for an IFSC.

Mode: Instant
Checked against: RBI IFSC master

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

  1. You call GET with the IFSC in the URL.
  2. We answer from our copy of the RBI IFSC master, refreshed weekly.

Request

FieldDescription
ifsc11-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"

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.

FieldTypeMeaning
bank, branchstringBank and branch names.
address, city, district, statestringBranch location.
micrstringMICR code, if any.
imps, neft, rtgs, upibooleanPayment 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.

ValueReturns
HDFC0001234Found
ABCD0000000Not found

Run these in the playground

Best practices

  • IFSC lookups aren’t billed on most plans. Use them freely for form autofill.

Compliance note. No personal data involved.

Often used with