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/370245https://api.freebinchecker.com/bin/46000736434
Bad examples:
https://api.freebinchecker.com/bin/3702https://api.freebinchecker.com/bin/hello
Test it
- https://api.freebinchecker.com/bin/370245
- https://api.freebinchecker.com/bin/46000736434
- https://api.freebinchecker.com/bin/5
The response
Plain JSON format
| Parameter | Type | Value | Description |
|---|---|---|---|
valid | Boolean | true, false | A valid request |
message | String | Additional information of this specific API call | |
| Card Information | |||
card.bin | String | 370245 | The BIN result. In case of duplicate due to long BIN number sent, the most accurate BIN will return and reflect it here |
card.number_length | Integer | 15, 16 | The number length of this card for the requested BIN |
card.luhn | Boolean | true, false | Return the Luhn algorithm of this card for the requested BIN |
card.scheme | String | AMEX, VISA, MASTERCARD | Card issuer company (also called network, brand, scheme) |
card.type | String | CREDIT, DEBIT, CHARGE | Card type classification |
card.category | String | STANDARD, CORPORATE | Card category |
| Information about the issuer | |||
issuer.name | String | AMERICAN EXPRESS | Name of the card issuer |
issuer.url | String | www.americanexpress.com | URL of the card issuer |
issuer.phone | String | 1-800-935-9935 | Telephone of the card issuer |
issuer.city | String | San Francisco | The city where the card issuer located |
| Information about issuer country | |||
country.name | String | UNITED STATES | Name of the card issuer country |
country.alpha_2 | String | US | Alpha 2 code of the card issuer country |
country.numeric | String | 840 | Numeric code of the card issuer country |
country.latitude | Float | 38 | Latitude of the card issuer country |
country.longitude | Float | -97 | Longitude of the card issuer country |
country.currency | String | USD | Currency code of the card issuer country |
country.currency_name | String | United States dollar | Full 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"
}
}