Razorpay IFSC API

Beginner's Pick Finance / No Auth Required Beginner HTTPS
Free to Use
80 A
Measured Score 0 50 100 Speed 20/30 Consistency 17/20 Security 20/20 Browser access 15/15 Transparency 8/15 TESTED 2026-08-10

Overview

Razorpay IFSC API lets you look up Indian bank branch details using an 11-character IFSC code — completely free and without authentication. It is useful for validating bank account information in payment forms or fintech applications. Just pass an IFSC code and receive the bank name, branch, address, and contact details.

Beginner Tip

An IFSC code is always 11 characters: the first 4 letters identify the bank, the 5th is always 0, and the last 6 digits identify the branch. Use the endpoint /v1/ifsc/{code} to validate and look up any Indian bank branch.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://ifsc.razorpay.com/SBIN0005943
Result
HTTP 200 · application/json · 376 bytes · compressed
Response time
158 ms (median of 3) · fastest 148 ms
Transport
TLSv1.3 · TLS_AES_128_GCM_SHA256 · certificate issued by Amazon
Browser CORS
Allowed — Access-Control-Allow-Origin: *
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
MICR string 110002062
BRANCH string KASTURBA GANDHI MARG,NEW DELHI
ADDRESS string 23, HIMALAYA HOUSE KASTURBA GANDHI MARG NEW D…
STATE string DELHI
CONTACT string
UPI boolean true
RTGS boolean true
CITY string NEW DELHI
CENTRE string NEW DELHI
DISTRICT string NEW DELHI
NEFT boolean true
IMPS boolean true
SWIFT null null
ISO3166 string IN-DL

Captured Response

Captured from a real request to https://ifsc.razorpay.com/SBIN0005943 on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "MICR": "110002062",
  "BRANCH": "KASTURBA GANDHI MARG,NEW DELHI",
  "ADDRESS": "23, HIMALAYA HOUSE KASTURBA GANDHI MARG NEW DELHI ,PIN - 110001",
  "STATE": "DELHI",
  "CONTACT": "",
  "UPI": true,
  "RTGS": true,
  "CITY": "NEW DELHI",
  "CENTRE": "NEW DELHI",
  "DISTRICT": "NEW DELHI",
  "NEFT": true,
  "IMPS": true,
  "SWIFT": null,
  "ISO3166": "IN-DL",
  "…": "(3 more fields)"
}

Field Reference

BRANCH Name of the specific bank branch.
ADDRESS Physical address of the branch.
CITY City where the branch is located.
CONTACT Phone number of the branch, or null if not available.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://ifsc.razorpay.com/SBIN0005943";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist text/html

Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

404 Not Found The IFSC code does not exist or is incorrectly formatted.
Double-check that the code is exactly 11 characters. Test with a known code like SBIN0005943.
null response fields Some lesser-known branches may have incomplete data.
Always null-check fields like CONTACT before displaying them in your UI.
CORS error in browser The API may not support all cross-origin browser requests.
Make the request from your backend server rather than directly from client-side JavaScript.

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 20/30
Consistency 17/20
Security 20/20
Browser access 15/15
Transparency 8/15
Endpoint Response Time 158ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Finance
Difficulty Beginner
Endpoint last called: 2026-08-10

Related Tags

Similar APIs

View All →