Routing Number API
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.
Available endpoints:
- /v1/routingnumber - Get detailed information about a bank based on its routing number
- /v1/routingnumbersearch - Search for banks and their routing numbers based on location
API Status
/v1/routingnumber GET
https://api.api-ninjas.com/v1/routingnumber
Returns detailed information about a bank based on its routing number.
Parameters
routing_numberrequiredThe 9-digit routing number of the bank to look up.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
bank_namePremium OnlyThe name of the bank.
routing_numberThe 9-digit routing number of the bank.
street_addressPremium OnlyThe street address of the bank.
cityThe city of the bank.
stateThe state of the bank.
zip_codeThe ZIP code of the bank.
countryThe country of the bank.
countyThe county of the bank.
timezoneThe timezone of the bank.
latitudeThe latitude of the bank.
longitudeThe longitude of the bank.
phone_numberPremium OnlyThe phone number of the bank.
Sample Request Live Demo!
https://api.api-ninjas.com/v1/routingnumber?routing_number=111000012Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
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"
}
]Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/routingnumber?routing_number=021000021" \
-H "X-Api-Key: YOUR_API_KEY"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.
/v1/routingnumbersearch GETPremium Only
https://api.api-ninjas.com/v1/routingnumbersearch
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. Each request can only return up to 10 results - use the offset parameter to paginate through results.
Parameters
bank_nameoptionalBank name to search for.
cityoptionalCity name to search for banks.
stateoptionalTwo-letter state code (e.g. CA, NY).
zip_codeoptional5-digit ZIP code to search for banks.
offsetoptional Annual Subscriptions OnlyNumber of results to offset for pagination.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
Same format as the previous response.
Sample Search Request Live Demo!
https://api.api-ninjas.com/v1/routingnumbersearch?bank_name=Chase&offset=0Headers
X-Api-KeyLog in or sign up to get your API KeySample Search Response
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"
},
"..."
]