IFSC Code API for developers
Validate IFSC codes and get branch details as JSON — for payout, beneficiary and KYC forms.
The IFSC Code API returns the details of any Indian bank branch from its 11-character IFSC code: bank name, branch, full address, city, district, state, MICR and SWIFT codes, phone, and whether the branch supports NEFT, RTGS, IMPS and UPI. It covers about 1.8 lakh branches of 247 banks from the Reserve Bank of India's IFSC list — the same data behind this website.
Get a free API key on RapidAPI →
What you can build with it
- Check an IFSC before adding a payout beneficiary, and show the bank and branch name to the user
- Auto-fill bank details in onboarding and KYC forms
- Check whether a branch supports RTGS or IMPS before choosing the payment rail
- Build bank and branch dropdowns (bank → state → branch)
Endpoints
Base URL: https://india-ifsc-code-lookup-api.p.rapidapi.com. Every request needs your X-RapidAPI-Key and X-RapidAPI-Host headers, which RapidAPI gives you when you subscribe (the free plan needs no card).
| Method | Path | Returns |
|---|---|---|
| GET | /ifsc/{ifsc} | Branch details for one IFSC code (400 for a bad format, 404 if it does not exist) |
| GET | /banks | All banks with their 4-letter code and the states they have branches in |
| GET | /branches?bank=SBIN&state=assam&district=barpeta | Branches of a bank in a state; district is optional |
Example request
cURL
curl "https://india-ifsc-code-lookup-api.p.rapidapi.com/ifsc/SBIN0013247" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: india-ifsc-code-lookup-api.p.rapidapi.com"
JavaScript (fetch)
const res = await fetch('https://india-ifsc-code-lookup-api.p.rapidapi.com/ifsc/SBIN0013247', {
headers: {
'X-RapidAPI-Key': process.env.RAPIDAPI_KEY,
'X-RapidAPI-Host': 'india-ifsc-code-lookup-api.p.rapidapi.com'
}
});
const json = await res.json();
console.log(json.data);
Python (requests)
import requests
res = requests.get(
"https://india-ifsc-code-lookup-api.p.rapidapi.com/ifsc/SBIN0013247",
headers={"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY", "X-RapidAPI-Host": "india-ifsc-code-lookup-api.p.rapidapi.com"},
)
print(res.json()["data"])
Response
{
"ok": true,
"data": {
"ifsc": "SBIN0013247",
"bank": "State Bank of India",
"bank_code": "SBIN",
"branch": "Paltan Bazar",
"branch_code": "013247",
"address": "G S ROAD,GUWAHATI 781001",
"city": "Guwahati",
"centre": "Guwahati",
"district": "Guwahati",
"state": "Assam",
"contact": null,
"micr": "781002047",
"swift": null,
"neft": true,
"rtgs": true,
"imps": true,
"upi": true
},
"meta": {
"source": "Reserve Bank of India IFSC list via razorpay/ifsc (MIT)",
"data_version": "v2.0.62 (September 2026)"
}
}
Errors come back as JSON too: {"ok":false,"error":"..."} with status 400 (bad input) or 404 (not found).
Plans
| Plan | Price a month | Requests a month |
|---|---|---|
| Basic | Free | 100 |
| Pro | $5 | 10,000 |
| Ultra | $15 | 1,00,000 |
| Mega | $49 | 10,00,000 |
Billing, keys and usage are handled by RapidAPI. Get a free API key on RapidAPI →
Data
Reserve Bank of India IFSC list, via the open-source razorpay/ifsc dataset (MIT licence). Data version: v2.0.62 (September 2026). The API is served from Cloudflare's edge network.
Frequently asked questions
Is the IFSC code API free?
Yes. The Basic plan on RapidAPI is free for 100 requests a month. Paid plans start at $5 a month for 10,000 requests.
How do I validate an IFSC code with the API?
Call GET /ifsc/{IFSC}. A valid, existing code returns 200 with the branch details; a code with the wrong format returns 400, and a well-formed code that is not in the RBI list returns 404.
Does the API return the MICR code?
Yes, the response includes the MICR code when the branch has one, along with the SWIFT code, phone number and the NEFT, RTGS, IMPS and UPI flags.
How often is the IFSC data updated?
The data follows releases of the RBI IFSC list (via the razorpay/ifsc dataset). The response includes meta.data_version so you can see which release you are getting.