Canada Routing Number API
The Canada Routing Number API allows you to look up Canadian bank information using a routing number, transit number, or institution number. Our database covers every Canadian bank, credit union, and caisse populaire branch, with up-to-date transit and institution data.
A Canadian routing number is a 9-digit code in the EFT format 0AAATTTTT, where AAA is the 3-digit institution number and TTTTT is the 5-digit transit number. You can look up by the combined routing number or by the transit and institution numbers separately.
Looking up bank codes in other countries? See our Routing Number API (US), Sort Code API (UK), and BSB API (Australia).
Available endpoints:
- /v1/canadaroutingnumber - Get detailed information about a Canadian bank branch by routing, transit, or institution number
- /v1/canadaroutingnumbersearch - Search for Canadian banks and their routing numbers based on location
From 8,777 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 197ms | 232ms | 272ms | 535ms | 864ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/canadaroutingnumber GET
https://api.api-ninjas.com/v1/canadaroutingnumber
Returns detailed information about a Canadian bank branch. Provide either a 9-digit routing number, or a transit number together with an institution number.
Parameters
At least one of routing_number, or both transit_number and institution_number together, must be set.
routing_numberoptionalThe 9-digit Canadian routing number in EFT format (
0AAATTTTT).transit_numberoptionalThe 5-digit branch transit number. Must be used together with
institution_number.institution_numberoptionalThe 3-digit financial institution number. Must be used together with
transit_number.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
bank_namepremium onlyThe name of the bank.
routing_numberThe 9-digit Canadian routing number in EFT format.
transit_numberThe 5-digit branch transit number.
institution_numberThe 3-digit financial institution number.
branch_namepremium onlyThe name of the branch.
street_addresspremium onlyThe street address of the branch.
cityThe city of the branch.
provinceThe two-letter province or territory code (e.g. ON, QC, BC).
postal_codeThe postal code of the branch.
countryAlways
CA.phone_numberpremium onlyThe customer service phone number of the bank.
swift_codepremium onlyThe SWIFT/BIC code of the bank, useful for international wire transfers. May be
nullif the bank does not participate in SWIFT. See our SWIFT Code API for full SWIFT lookups.checksum_validWhether the routing number passes structural validation. Canada does not use a checksum algorithm, so this confirms the format is valid (9 digits, leading zero, recognized institution number).
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/canadaroutingnumber?routing_number=000300010Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/canadaroutingnumber?routing_number=000300010" \
-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/canadaroutingnumbersearch GETPremium Only
https://api.api-ninjas.com/v1/canadaroutingnumbersearch
Search for Canadian banks and their routing numbers based on location. Returns a list of branches 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 branches.
provinceoptionalTwo-letter province or territory code (e.g. ON, QC, BC).
postal_codeoptionalPostal code to search for branches.
offsetoptional annual subscriptions onlyNumber of results to offset for pagination.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the same fields as the previous response , or an error if the request is unsuccessful.
Sample Search Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/canadaroutingnumbersearch?bank_name=Royal+Bank+of+CanadaHeaders
X-Api-KeyLog in or sign up to get your API Key