Financial · API reference

Banks

Look up a bank

GET/v2/banksbanks.lookup

Finds a bank in the directory by BIC, or by name (best with the country). Trust bank when verified is true; otherwise look at alternatives. Send name or bic; neither answers 400 missing_query.

Price: 0.002 credits per successful call.

Query parameters

namestring

The bank's name, as you have it.

countrystring

ISO 3166-1 alpha-2. Narrows a name search.

bicstring

BIC / SWIFT code, 8 or 11 characters. When given, the name is not needed.

Returns

The lookup ran; bank is absent when nothing matched.

Show the BankLookup fields
objectstringrequired

Always bank_lookup.

queryobjectrequired

The query as received.

Show 3 fields
namestring
countrystring
bicstring
bankobject

A bank from VeriSec's directory of about 75,000 banks.

Show 12 fields
profile_idstringrequired

The bank's directory id.

namestringrequired

The bank's name.

countrystring
country_codestring

ISO 3166-1 alpha-2.

citystring
addressstring
bicstring
routingstring
parentstring
statusstring

Only when the record states it plainly.

activedissolvednull
logo_urlstring

The bank's logo, relative to the API base.

flag_urlstring

The country's flag (SVG), relative to the API base.

name_matchnumber

How surely your name and the bank's name are the same bank, 0 to 1.

verifiedbooleanrequired

True when the match is sure: name match 0.80 or more, or an exact BIC.

alternativesarray of objectsrequired

Other close banks, best first.

Show 12 fields
profile_idstringrequired

The bank's directory id.

namestringrequired

The bank's name.

countrystring
country_codestring

ISO 3166-1 alpha-2.

citystring
addressstring
bicstring
routingstring
parentstring
statusstring

Only when the record states it plainly.

activedissolvednull
logo_urlstring

The bank's logo, relative to the API base.

flag_urlstring

The country's flag (SVG), relative to the API base.

Errors

  • 400A field is missing or not valid.
  • 401No API key, or the key is not valid, expired or revoked.
  • 402Not enough credits for this call (insufficient_credits), or the key reached its spend cap. Nothing was charged.
  • 403The key may not call this API (permission, environment or IP allow-list). Nothing was charged.
  • 404Nothing was found.
  • 429Too many requests for this key: wait Retry-After seconds. Nothing was charged.
  • 5XXThe check could not run. Nothing was charged.
Request
curl "https://verisec.dev/v2/banks?name=Harbor+Point+Bank&country=US" \
  -H "Authorization: Bearer $VERISEC_API_KEY"
Response · 200
{
  "object": "bank_lookup",
  "query": {
    "name": "Harbor Point Bank",
    "country": "US"
  },
  "bank": {
    "profile_id": "bank_404a7c517025f193fa",
    "name": "Harbor Point Bank",
    "country": "United States",
    "country_code": "US",
    "city": "Portland",
    "address": "88 Harbor Point Plaza, Portland, OR 97209",
    "bic": "HPBKUS6P",
    "routing": "123456780",
    "status": "active",
    "logo_url": "/v2/banks/bank_404a7c517025f193fa/logo",
    "flag_url": "/v2/flags/us.svg"
  },
  "name_match": 1,
  "verified": true,
  "alternatives": []
}