Mastercard BIN Lookup

Look up Bank Identification Numbers for Mastercard cards.

About Mastercard BINs

BIN Prefix Range 51-55, 2221-2720 Card Length 16 digits

Mastercard International is the second-largest payment network globally. Mastercard BINs traditionally start with 51-55, with newer cards using the 2221-2720 range. The network operates in over 210 countries.

Mastercard BIN Lookup via API

Look up any Mastercard BIN using our API:

Terminal
curl -X POST "https://api.binlookupapi.com/v1/bin" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"number": 51}'
Terminal
// JavaScript example
const response = await fetch('https://api.binlookupapi.com/v1/bin', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ number: 51 })
});

const data = await response.json();
// Returns: scheme, funding, brand, category, country, issuer, etc.
Get Free API Key

Other Card Brands