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_number  required

    The 9-digit routing number of the bank to look up.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

  • bank_name

    The name of the bank.

  • routing_number

    The 9-digit routing number of the bank.

  • street_address

    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_number

    The phone number of the bank.

Sample Request Live Demo!

routing_number
https://api.api-ninjas.com/v1/routingnumber?routing_number=111000012

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
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 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)

/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.

Parameters

  • bank_name  optional

    Bank name to search for.

  • city  optional

    City name to search for banks.

  • state  optional

    Two-letter state code (e.g. CA, NY).

  • zip_code  optional

    5-digit ZIP code to search for banks.

Headers

  • X-Api-Key  required

    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=Chase

Sample Search Response

JSON
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.