Locanium
Validation · API

Bank / BIN Lookup

Validate a card BIN or bank account and return the issuing bank, scheme, country and card type.

POST /v1/validate/bank
POST /v1/validate/bank
200 OK
{
  "bin": "424242",
  "scheme": "visa",
  "bank": "JPMorgan Chase",
  "type": "credit",
  "country_code": "US"
}
Capabilities

Why teams use it

BIN lookup

Identify the issuing bank from a card BIN.

Bank & scheme

Bank name and Visa/Mastercard/Amex scheme.

Card type

Credit, debit or prepaid classification.

Country & currency

Issuing country and default currency.

Fraud signals

Flag high-risk BINs before checkout.

Real-time

Validate right at the payment form.

Request

Call it in your language

curl -X POST https://api.locanium.com/v1/validate/bank \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"bin":"424242"}'
Response

What you get back

  • binstring
    Card BIN
  • schemestring
    visa / mastercard / amex
  • bankstring
    Issuing bank
  • typestring
    credit / debit / prepaid
  • country_codestring
    Issuing country
  • currencystring
    Default currency
Use cases

What you can build

Validation family

Full parameters, errors and code samples are in the API reference.

Get started

One API for geolocation, currency and identity checks. Book a demo and get a sandbox key the same day.