Fetch Bank Details By IFSC

Request Parameters & description

Param

Required

Description

ifsc

yes

IFSC is 11 digit character representation of a bank branch

Response structure & description

Response

Description

BRANCH

Name of the Bank Branch.

CENTRE

Centre in which the branch is situated

DISTRICT

District in which the branch is situated.

STATE

State in which the branch is situated.

ADDRESS

Full address of the branch.

CONTACT

Phone number of the branch

MICR

Returns the 9-digit MICR code.

RTGS

Returns true or false.

CITY

City in which the branch is situated.

NEFT

Returns true or false. To indicate whether the branch has IMPS or not.

IMPS

Returns true or false. To indicate whether the branch has IMPS or not.

BANK

Name of the Bank

BANKCODE

Code the Bank.

IFSC

11 digit code of the branch

get

https://api.sandbox.co.in/bank/:ifsc
The API accepts the IFSC code as a request parameter and returns the details of the branch which uses the particular IFSC code.
Request
Response
Request
Path Parameters
ifsc
required
string
11-digit alpha-numeric code used to identify the bank branches
Headers
x-api-version
optional
string
Response
200: OK
Success
Not found
Success
{
"BRANCH": "PARK STREET",
"CENTRE": "JAIPUR",
"DISTRICT": "JAIPUR",
"STATE": "RAJASTHAN",
"ADDRESS": "3 PARK STREET M I ROAD M I ROAD",
"CONTACT": "9875003333",
"MICR": "302240007",
"RTGS": true,
"CITY": "JAIPUR",
"NEFT": true,
"IMPS": true,
"BANK": "HDFC Bank",
"BANKCODE": "HDFC",
"IFSC": "HDFC0001234"
}
Not found
"Not Found"

Example Request

cURL
Java
Node.js
Python
cURL
curl --location --request GET 'https://api.sandbox.co.in/bank/HDFC0001234' \
--header 'x-api-version: 3.4.0'
Java
Unirest.setTimeouts(0, 0);
HttpResponse<String> response = Unirest.get("https://api.sandbox.co.in/bank/HDFC0001234")
.header("x-api-version", "3.4.0")
.asString();
Node.js
var https = require('follow-redirects').https;
var fs = require('fs');
var options = {
'method': 'GET',
'hostname': 'https://api.sandbox.co.in',
'path': '/bank/HDFC0001234',
'headers': {
'x-api-version': '3.4.0'
},
'maxRedirects': 20
};
var req = https.request(options, function (res) {
var chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function (chunk) {
var body = Buffer.concat(chunks);
console.log(body.toString());
});
res.on("error", function (error) {
console.error(error);
});
});
req.end();
Python
import requests
url = "https://api.sandbox.co.in/bank/HDFC0001234"
payload = {}
headers = {
'x-api-version': '3.4.0'
}
response = requests.request("GET", url, headers=headers, data = payload)
print(response.text.encode('utf8'))