来自频繁更新的数据库的免费BIN API
通过公共的,基于社区的BIN数据库,通过我们用户每天数以千计的BIN更正得到很好的维护,我们自豪地推出了这个RESTful API网络服务,以简化欺诈预防的开发过程。 通过API用户,商家和开发人员的反馈; API的数据库字段排列及其表示界面层继续发展。 虽然这个公共BIN / IIN数据库经常更新,但并不完美。 请谨慎使用。
请求
您可以 HTTP GET 或HTTP POST请求 https://api.freebinchecker.com/bin/{bin} 以获取结果。返回的格式为JSON。
| 参数 | 参数 | 类型 | 值 | 描述 |
|---|---|---|---|---|
{bin} |
是 | Integer | 370245 | BIN或IIN(支付卡的最初6位数字) |
| 其他参数 | 没有 | - | - | 正在开发中。请联系我们dev@freebinchecker.com的想法和合作 |
API请求的一些好例子是:
https://api.freebinchecker.com/bin/370245https://api.freebinchecker.com/bin/46000736434
错误示例:
https://api.freebinchecker.com/bin/3702https://api.freebinchecker.com/bin/hello
测试它
- https://api.freebinchecker.com/bin/370245
- https://api.freebinchecker.com/bin/46000736434
- https://api.freebinchecker.com/bin/5
响应
纯JSON格式
| 参数 | 类型 | 值 | 描述 |
|---|---|---|---|
valid | Boolean | true, false | 有效请求 |
message | String | 此特定API调用的其他信息 | |
| 卡信息 | |||
card.bin | String | 370245 | BIN结果。 如果由于发送了长BIN号码而导致重复,则最准确的BIN将返回并在此处反映出来 |
card.number_length | Integer | 15, 16 | 请求BIN的此卡的编号长度 |
card.luhn | Boolean | true, false | 返回此卡的Luhn算法以获取所请求的BIN |
card.scheme | String | AMEX, VISA, MASTERCARD | 发卡公司(也称网络,品牌,方案) |
card.type | String | CREDIT, DEBIT, CHARGE | 卡类型分类 |
card.category | String | STANDARD, CORPORATE | 卡类 |
| 有关发行人的信息 | |||
issuer.name | String | AMERICAN EXPRESS | 发卡机构的名称 |
issuer.url | String | www.americanexpress.com | 发卡机构的URL |
issuer.phone | String | 1-800-935-9935 | 发卡机构的电话 |
issuer.city | String | San Francisco | 发卡机构所在的城市 |
| 有关发行人国家的信息 | |||
country.name | String | UNITED STATES | 发卡国家的名称 |
country.alpha_2 | String | US | 发卡国家的Alpha 2代码 |
country.numeric | String | 840 | 发卡国家的数字代码 |
country.latitude | Float | 38 | 发卡国家的纬度 |
country.longitude | Float | -97 | 发卡国家的经度 |
country.currency | String | USD | 发卡国家的货币代码 |
country.currency_name | String | United States dollar | 发卡国家的全货币名称 |
一个成功的BIN API响应的例子
{
"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"
}
}






