Generator · US data

US bank account

Endpoint GET /v1/us/bank-account

What it covers

Returns a US routing/account pair. The two halves have very different standing, and this endpoint does not blur it: the **routing number** is a real standard with a real `3-7-1` mod-10 checksum, optionally drawn from a registry of genuine published institutional numbers; the **account number** has no national standard at all — length, checksum and structure are each bank’s own core-system choice, spanning roughly 4–17 digits with nothing to validate against. So the account number is a plausible digit string of a length that institution really issues, and nothing more. Because it has no checksum to break, `invalid=true` corrupts the routing number or the shape instead.

Parameters

ParameterTypeDescription
accountNumberLengthintegerDigits in the account number, 4-17 — the span US institutions actually issue.
accountType"checking" | "savings"Force the account type. Omitted draws one at random.
bankNamestringPin the institution by name, e.g. `Bank of America`. Implies `realBank`.
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.
invalidbooleanReturn a deliberately invalid value that fails validation, for testing rejection paths.
realBankbooleanDraw a real, published routing number and size the account number to that bank.
seedintegerInteger seed for reproducible output: the same seed always yields the same record.

Response fields

FieldTypeDescription
accountNumberstringThe account number. No US standard governs it — no checksum exists.
routingNumberstringThe nine-digit ABA routing number, checksum-valid.
bankName?stringThe institution, when drawn from the real-bank registry.
federalReserveCity?stringThe Federal Reserve district city serving the routing prefix.
accountNumberLengthintegerDigits in the account number — the only "structure" a US account number has.
accountType"checking" | "savings"Chequing or savings account.

Other generators for United States

See all generators for United States →

The same kind of identifier elsewhere

Try it

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