Overview
Routing Number Lookup works by analyzing the routing number provided and looking up the information for USA Banks. It uses various sources to lookup the bank, location, and more based on the routing number and returns the routing number information.
Endpoint
One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.
curl "https://api.apiverve.com/v1/routinglookup?routing=121000358" \
-H "x-api-key: your_api_key_here"const res = await fetch('https://api.apiverve.com/v1/routinglookup?routing=121000358', {
headers: { 'x-api-key': 'your_api_key_here' },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data } = await res.json();
console.log(data);import requests
res = requests.get(
"https://api.apiverve.com/v1/routinglookup?routing=121000358",
headers={"x-api-key": "your_api_key_here"},
timeout=15,
)
res.raise_for_status()
print(res.json()["data"])package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/routinglookup?routing=121000358", nil)
req.Header.Set("x-api-key", "your_api_key_here")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.
Authentication
Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Parameters
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.
| Parameter | Type | Description |
|---|---|---|
routingRequired | string | The routing number to lookup information about length 9–9 |
Response
Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.
{
"status": "ok",
"error": null,
"data": {
"routing_number": "121000358",
"office_code": "O",
"record_type_code": "1",
"new_routing_number": "000000000",
"bank": "BANK OF AMERICA, N.A.",
"address": "8001 VILLA PARK DRIVE",
"city": "HENRICO",
"state": "VA",
"zip": "23228",
"zip_extension": "0000",
"country": "US",
"federal_reserve_district": "San Francisco",
"routing_type": "primary",
"is_valid_checksum": true,
"routing_analysis": {
"is_head_office": true,
"is_branch": false,
"is_federal_reserve_bank": false,
"is_active": true,
"replaced_by": null
}
}
}Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
routing_number | string | "121000358" | The ABA routing number for the bank |
office_codePremium | string | "O" | Office code designating the main office or branch location |
record_type_codePremium | string | "1" | Record type code indicating transaction type classification |
new_routing_numberPremium | string | "000000000" | New routing number if the bank has been updated |
bank | string | "BANK OF AMERICA, N.A." | Name of the financial institution or bank |
addressPremium | string | "8001 VILLA PARK DRIVE" | Street address of the bank's main office location |
cityPremium | string | "HENRICO" | City where the bank is located |
state | string | "VA" | Two-letter state abbreviation of bank location |
zipPremium | string | "23228" | Five-digit postal code of bank location |
zip_extensionPremium | string | "0000" | Four-digit ZIP code extension for more precise location |
country | string | "US" | Country code (ISO 3166-1 alpha-2 format) |
federal_reserve_district | string | "San Francisco" | Federal Reserve district (e.g. San Francisco) derived from the routing number's first two digits; null for government or traveler's-cheque prefixes |
routing_type | string | "primary" | Routing category derived from the routing number prefix: primary, thrift, electronic, government, or travelers_cheque |
is_valid_checksum | boolean | true | Whether the routing number passes the ABA mod-10 checksum |
routing_analysisPremium | object | {...} | Plain-language interpretation of the FRB office and record-type codes: head office vs branch, whether it is a Federal Reserve Bank, active vs superseded, and the replacement routing number if the institution was reassigned |
is_head_officePremium | boolean | true | |
is_branchPremium | boolean | false | |
is_federal_reserve_bankPremium | boolean | false | |
is_activePremium | boolean | true | |
replaced_byPremium | object | null |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted | A key restriction or IP allow-list; see key scoping. |
429 | Rate limited, or out of credits | Read error to tell them apart; see rate limits. |
Other ways to use Routing Number Lookup
Set up Routing Number Lookup on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.
Related
More in Finance: