The Routing Number API allows you to look up bank information using routing numbers. Our database contains over 28,000 routing numbers from banks across the United States.
Want to search for routing numbers by name, city, state, or zip code? Use the /v1/routingnumbersearch endpoint instead.
https://api.api-ninjas.com/v1/routingnumber
Returns detailed information about a bank based on its routing number.
routing_number
requiredThe 9-digit routing number of the bank to look up.
X-Api-Key
requiredAPI Key associated with your account.
https://api.api-ninjas.com/v1/routingnumber?routing_number=111000012
Headers
X-Api-Key
Log in or sign up to get your API Key
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[
{
"bank_name": "BANK OF AMERICA, N.A.",
"routing_number": "111000012",
"street_address": "8001 Villa Park Dr",
"city": "Henrico",
"state": "VA",
"zip_code": "23228",
"country": "USA",
"county": "Henrico",
"timezone": "EST",
"latitude": "37.6255",
"longitude": "-77.4923",
"phone_number": "(800) 446-0135"
}
]
1
2
3
4
5
6
7
8
9
10
import requests
routing_number = '111000012'
api_url = 'https://api.api-ninjas.com/v1/routingnumber?routing_number={}'.format(routing_number)
response = requests.get(api_url, headers={'X-Api-Key': 'YOUR_API_KEY'})
if response.status_code == requests.codes.ok:
print(response.text)
else:
print("Error:", response.status_code, response.text)
https://api.api-ninjas.com/v1/routingnumbersearch?bank_name=Chase
Search for banks and their routing numbers based on location. Returns a list of banks matching the search criteria.
At least one of the parameters listed below is required.
bank_name
optionalBank name to search for.
city
optionalCity name to search for banks.
state
optionalTwo-letter state code (e.g. CA, NY).
zip_code
optional5-digit ZIP code to search for banks.
https://api.api-ninjas.com/v1/routingnumbersearch?bank_name=Chase
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[
{
"bank_name": "J.P. MORGAN CHASE BANK, N.A.",
"routing_number": "11701398",
"street_address": "10430 Highland Manor Dr",
"city": "Tampa",
"state": "FL",
"zip_code": "33610",
"country": "USA",
"county": "Hillsborough",
"timezone": "EST",
"latitude": "27.9974",
"longitude": "-82.4001",
"phone_number": "(813) 432-3700"
},
{
"bank_name": "JPMORGAN CHASE BANK",
"routing_number": "21000021",
"street_address": "3RD FLOOR",
"city": "Tampa",
"state": "FL",
"zip_code": "33610",
"country": "USA",
"county": "Hillsborough",
"timezone": "EST",
"latitude": "27.9974",
"longitude": "-82.4001",
"phone_number": "(813) 432-3700"
},
"..."
]
If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.