Blog

How to check a card BIN: a quick guide to BIN lookup

A BIN check tells you the bank, country and type of a card from its first six to eight digits. How to run one safely, and how to read every field in the result.

A BIN check, or BIN lookup, tells you who issued a card from its first few digits. Merchants use it to screen orders, support teams use it to answer "which bank is this card from?", and developers use it to show the right card brand at checkout. Here is how to run one and how to read the answer.

Step 1: take only the first six to eight digits

The BIN (Bank Identification Number, also called IIN) is the start of the card number. Six digits used to be the standard; Visa and Mastercard have since moved to eight-digit BINs, so eight digits give the most precise answer when you have them.

Never type a full card number into a BIN checker, including ours. The BIN is all a lookup needs. Our checker ignores anything after the eighth digit, but it is a good habit everywhere.

Step 2: run the lookup

Paste the digits into the free BIN checker, or call the API if you need it inside your own checkout or back office:

GET https://fraudex.xyz/api/bin?bin=414720
X-API-Key: your_api_key

Step 3: read the result

  • Brand: Visa, Mastercard, American Express, UnionPay and so on.
  • Type: credit, debit or prepaid. Prepaid cards deserve extra care for free trials and high-value orders.
  • Issuer: the bank or company that issued the card. Handy when a customer asks why a payment failed, because that bank is who they should call.
  • Country: where the card was issued. Compare it with the customer's IP country and shipping address.

What a BIN check cannot tell you

It does not tell you whether a card is valid, active, has funds or belongs to the person using it, and it never reveals the cardholder's name. Only an authorisation with the bank answers those questions. A BIN check gives you context, not a verdict.

When a BIN is not found

Very new card ranges, small private-label cards and mistyped digits can come back empty. Check the first six digits again; if it is still missing, the range may simply be too new for public BIN data.

Using BIN checks against fraud

A BIN lookup is most useful next to an IP check: a foreign prepaid card on a VPN is a very different order from a local debit card on a home connection. That combination is what catches card testing and most stolen-card orders. Fraudex gives you both from one key, and the free plan includes 50 BIN lookups a month.