/ifsc-api

:bank: Standalone API for IFSC codes

Primary LanguageCSS

API server that serves Razorpay's IFSC API. Current API Root is https://ifsc.razorpay.com/

Routes:

Route Method Response
/:ifsc GET JSON

A sample response is:

{
  "BANK": "KARNATAKA BANK LIMITED",
  "IFSC": "KARB0000001",
  "BRANCH": "RTGS-HO",
  "CONTACT": 2228222,
  "ADDRESS": "REGD. & HEAD OFFICE, P.B.NO.599, MAHAVEER CIRCLE, KANKANADY, MANGALORE - 575002",
  "CITY": "MANGALORE",
  "DISTRICT": "DAKSHINA KANNADA",
  "STATE": "KARNATAKA"
}

URL: https://ifsc.razorpay.com/KARB0000001 You can see a permalink version of the request here

For an invalid IFSC code a 404 is returned.

Running the Docker Image

You can pull the image from razorpay/ifsc:latest

Run it with docker run -d -p 3000:3000 razorpay:ifsc:latest