api-ninjas-com 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.

Operations 2

GET /v1/canadaroutingnumber Get Canadian Bank Branch Information by Routing Number #
GET /v1/canadaroutingnumbersearch Search for Canadian Banks and Routing Numbers #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/api-ninjas-com:api-ninjas-com-canada-routing-number-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

api-ninjas-com-canada-routing-number-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ninjas Canada Routing Number API
  description: 'Combined OpenAPI specification for every API Ninjas endpoint. Requests go to https://api.api-ninjas.com with an `X-Api-Key` header; get a free key at https://api-ninjas.com/register. Human-readable docs: https://api-ninjas.com/api. Index for LLMs: https://api-ninjas.com/llms.txt.'
  version: 1.0.0
  contact:
    name: API Ninjas
    url: https://api-ninjas.com
  license:
    name: Proprietary
servers:
- url: https://api.api-ninjas.com
  description: API Ninjas Production
security:
- ApiKeyAuth: []
tags:
- name: Canada Routing Number
  description: 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.
paths:
  /v1/canadaroutingnumber:
    get:
      summary: Get Canadian Bank Branch Information by Routing Number
      description: Returns the Canadian bank branch for a 9-digit EFT `routing_number`, or for a `transit_number` plus `institution_number`. To search by name or location use /canadaroutingnumbersearch.
      operationId: getCanadaRoutingNumberInfo
      tags:
      - Canada Routing Number
      parameters:
      - name: routing_number
        in: query
        description: The 9-digit Canadian routing number in EFT format (0AAATTTTT). At least one of routing_number, or both transit_number and institution_number together, must be set.
        required: false
        schema:
          type: string
      - name: transit_number
        in: query
        description: The 5-digit branch transit number. Must be used together with institution_number.
        required: false
        schema:
          type: string
      - name: institution_number
        in: query
        description: The 3-digit financial institution number. Must be used together with transit_number.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CanadaRoutingNumberOpenapi_BranchInfo'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '500':
          description: Internal Server Error
      security:
      - ApiKeyAuth: []
  /v1/canadaroutingnumbersearch:
    get:
      summary: Search for Canadian Banks and Routing Numbers
      description: Finds Canadian bank branches and their routing numbers by bank name, city, province or postal code. To decode a known routing number use /canadaroutingnumber. Requires a premium subscription.
      operationId: searchCanadaRoutingNumbers
      tags:
      - Canada Routing Number
      parameters:
      - name: bank_name
        in: query
        description: Bank name to search for. At least one of bank_name, city, province, or postal_code is required. Premium only.
        required: false
        schema:
          type: string
      - name: city
        in: query
        description: City name to search for branches. Premium only.
        required: false
        schema:
          type: string
      - name: province
        in: query
        description: Two-letter province or territory code (e.g. ON, QC, BC). Premium only.
        required: false
        schema:
          type: string
      - name: postal_code
        in: query
        description: Postal code to search for branches. Premium only.
        required: false
        schema:
          type: string
      - name: offset
        in: query
        description: Number of results to offset for pagination. Available for annual subscriptions only.
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CanadaRoutingNumberOpenapi_BranchInfo'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '500':
          description: Internal Server Error
      security:
      - ApiKeyAuth: []
components:
  schemas:
    CanadaRoutingNumberOpenapi_BranchInfo:
      type: object
      properties:
        bank_name:
          type:
          - string
          - 'null'
          description: The name of the bank. Premium only.
        routing_number:
          type: string
          description: The 9-digit Canadian routing number in EFT format.
        transit_number:
          type: string
          description: The 5-digit branch transit number.
        institution_number:
          type: string
          description: The 3-digit financial institution number.
        branch_name:
          type:
          - string
          - 'null'
          description: The name of the branch. Premium only.
        street_address:
          type:
          - string
          - 'null'
          description: The street address of the branch. Premium only.
        city:
          type: string
          description: The city of the branch.
        province:
          type: string
          description: The two-letter province or territory code (e.g. ON, QC, BC).
        postal_code:
          type: string
          description: The postal code of the branch.
        country:
          type: string
          description: Always CA.
        swift_code:
          type:
          - string
          - 'null'
          description: The SWIFT/BIC code of the bank, useful for international wire transfers. Premium only.
        checksum_valid:
          type: boolean
          description: Whether 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).
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
externalDocs:
  description: API Ninjas documentation
  url: https://api-ninjas.com/api