Generator · Canadian data

Canadian bank account

Endpoint GET /v1/ca/bank-account

What it covers

Returns a Canadian account: institution, branch transit, and account number. Canada is **better standardised than the United States** here, which inverts the usual expectation — CPA Standard 006 specifies an account number of 7 or 12 digits, so `accountNumberLength` accepts only those two, where the US endpoint must accept a 4-17 range because no authority defines one at all. What Canada lacks is a checksum: nothing verifies the digits, so a transposition is undetectable and `invalid=true` corrupts structure.

Parameters

ParameterTypeDescription
accountNumberLengthobjectDigits in the account number: 7 or 12, the only lengths CPA Standard 006 permits.
accountType"chequing" | "savings"Force the account type. Omitted draws one at random.
countinteger1–10000Number of records to return, 1–10000. Omitted returns a single record; set it for a batch. Costs 1 token plus a tenth per record.
edgebooleanRestrict output to valid edge cases from the rare corners of the domain.
extremebooleanReturn a correct value wrapped in a hostile encoding (untrimmed whitespace, invisible/zero-width characters, BOM, or bidi/combining marks). Homoglyphs are excluded so the value stays machine-parseable; it still validates after normalisation.
institutionstringPin the bank by name (`The Toronto-Dominion Bank`) or number (`004`).
invalidbooleanReturn a deliberately invalid value that fails validation, for testing rejection paths.
seedintegerInteger seed for reproducible output: the same seed always yields the same record.

Response fields

FieldTypeDescription
accountNumberstringThe account number: 7 or 12 digits, per CPA Standard 006.
transitNumberstringThe five-digit branch transit number.
institutionNumberstringThe three-digit Payments Canada institution number.
institutionNamestringThe institution’s name.
accountNumberLengthintegerDigits in the account number: 7 or 12.
accountType"chequing" | "savings"Chequing or savings account.
electronicFormatstringThe `0YYYXXXXX` routing form.

Other generators for Canada

See all generators for Canada →

The same kind of identifier elsewhere

Try it

Generate a live example below — every response is valid by format and entirely synthetic.