Free BIN API from Frequently Updated Database

Free BIN API from Frequently Updated Database
Free BIN API from Frequently Updated Database

With the public, community-based BIN database that well maintained through thousands of daily BIN corrections from our users, we proudly presents this RESTful API web service to ease out the developmental process for fraud prevention. Through feedbacks of API users, merchants, and developers; the database field arrangement for API as well as its presentation interface layer continue to evolve. Though this public BIN / IIN database is frequently updated, it is not perfect. Please use it with caution.

The request

You can make either HTTP GET or HTTP POST requests to https://api.freebinchecker.com/bin/{bin} to get the result. The returned format is JSON.

Parameter Required Type Value Description
{bin} Yes Integer 370245 The BIN or IIN. From 6 to possible 16 digits of a payment card. In the case of duplicate results, the most accurate one will return
other parameters No - - Under development. Please contact us at dev@freebinchecker.com for ideas and collaborations

Some good examples of the API requests are:

  • https://api.freebinchecker.com/bin/370245
  • https://api.freebinchecker.com/bin/46000736434

Bad examples:

  • https://api.freebinchecker.com/bin/3702
  • https://api.freebinchecker.com/bin/hello

Test it

The response

Plain JSON format

Parameter Type Value Description
validBooleantrue, falseA valid request
messageStringAdditional information of this specific API call
Card Information
card.binString370245The BIN result. In case of duplicate due to long BIN number sent, the most accurate BIN will return and reflect it here
card.number_lengthInteger15, 16The number length of this card for the requested BIN
card.luhnBooleantrue, falseReturn the Luhn algorithm of this card for the requested BIN
card.schemeStringAMEX, VISA, MASTERCARDCard issuer company (also called network, brand, scheme)
card.typeStringCREDIT, DEBIT, CHARGECard type classification
card.categoryStringSTANDARD, CORPORATECard category
Information about the issuer
issuer.nameStringAMERICAN EXPRESSName of the card issuer
issuer.urlStringwww.americanexpress.comURL of the card issuer
issuer.phoneString1-800-935-9935Telephone of the card issuer
issuer.cityStringSan FranciscoThe city where the card issuer located
Information about issuer country
country.nameStringUNITED STATESName of the card issuer country
country.alpha_2StringUSAlpha 2 code of the card issuer country
country.numericString840Numeric code of the card issuer country
country.latitudeFloat38Latitude of the card issuer country
country.longitudeFloat-97Longitude of the card issuer country
country.currencyStringUSDCurrency code of the card issuer country
country.currency_nameStringUnited States dollarFull Currency name of the card issuer country

An Example of a successful BIN API response

{
  "valid": true,
  "message": "",
  "card": {
    "bin": "370245",
    "number_length": 15,
    "luhn": true,
    "scheme": "AMEX",
    "type": "CREDIT",
    "category": "CORPORATE"
  },
  "issuer": {
    "name": "AMERICAN EXPRESS",
    "url": "www.americanexpress.com",
    "phone": "",
    "city": ""
  },
  "country": {
    "name": "UNITED STATES",
    "alpha_2": "US",
    "numeric": "840",
    "latitude": 38,
    "longitude": -97,
    "currency": "USD",
    "currency_name": "United States dollar"
  }
}
{
  "valid": true,
  "message": "",
  "card": {
    "bin": "46000736434",
    "number_length": 16,
    "luhn": true,
    "scheme": "VISA",
    "type": "DEBIT",
    "category": "CLASSIC"
  },
  "issuer": {
    "name": "CHASE BANK USA, N.A.",
    "url": "www.chase.com",
    "phone": "1-800-935-9935",
    "city": ""
  },
  "country": {
    "name": "UNITED STATES",
    "alpha_2": "US",
    "numeric": "840",
    "latitude": 38,
    "longitude": -97,
    "currency": "USD",
    "currency_name": "United States dollar"
  }
}