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.
Want to search for routing numbers by name, city, state, or zip code? Use the /v1/routingnumbersearch endpoint instead.
/v1/routingnumber GET
https://api.api-ninjas.com/v1/routingnumber
Returns detailed information about a bank based on its routing number.
Parameters
- routing_numberrequired- The 9-digit routing number of the bank to look up. 
Headers
- X-Api-Keyrequired- API Key associated with your account. 
Response
- bank_namePremium Only- The name of the bank. 
- routing_number- The 9-digit routing number of the bank. 
- street_addressPremium Only- The street address of the bank. 
- city- The city of the bank. 
- state- The state of the bank. 
- zip_code- The ZIP code of the bank. 
- country- The country of the bank. 
- county- The county of the bank. 
- timezone- The timezone of the bank. 
- latitude- The latitude of the bank. 
- longitude- The longitude of the bank. 
- phone_numberPremium Only- The 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"/v1/routingnumbersearch GETPremium Only
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. Each request can only return up to 10 results - use the offset parameter to paginate through results.
Parameters
- bank_nameoptional- Bank name to search for. 
- cityoptional- City name to search for banks. 
- stateoptional- Two-letter state code (e.g. CA, NY). 
- zip_codeoptional- 5-digit ZIP code to search for banks. 
- offsetoptional Annual Subscriptions Only- Number of results to offset for pagination. 
Headers
- X-Api-Keyrequired- API Key associated with your account. 
Response
Same format as the previous response.
Sample Search Request
https://api.api-ninjas.com/v1/routingnumbersearch?bank_name=ChaseSample 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"
  },
  "..."
]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.