通过公共的,基于社区的BIN数据库,通过我们用户每天数以千计的BIN更正得到很好的维护,我们自豪地推出了这个RESTful API网络服务,以简化欺诈预防的开发过程。 通过API用户,商家和开发人员的反馈; API的数据库字段排列及其表示界面层继续发展。 虽然这个公共BIN / IIN数据库经常更新,但并不完美。 请谨慎使用。
** 尝试 高级BIN检查程序 用于最新的,准确的BIN检查。
您可以 HTTP GET 或HTTP POST请求 https://api.freebinchecker.com/bin/{bin} 以获取结果。返回的格式为JSON。
API请求的一些好例子是:
https://api.freebinchecker.com/bin/371241
https://api.freebinchecker.com/bin/370245
错误示例:
https://api.freebinchecker.com/bin/AMEX
https://api.freebinchecker.com/bin/debit-card
| 参数 | 参数 | 类型 | 值 | 描述 |
|---|---|---|---|---|
| {bin-number} | 是 | string | BIN或IIN(支付卡的最初6位数字) | |
| 其他参数 | 没有 | string | 正在开发中。请联系我们dev@freebinchecker.com的想法和合作 |
纯JSON格式
| 参数 | 类型 | 值 | 描述 |
|---|---|---|---|
| valid | boolean | true 要么 false | 有效请求 |
| message | string | optional | 此特定API调用的其他信息 |
| card | object | bin, length, luhn check, prepaid, commercial, scheme, type, category | 卡信息 |
| card→bin | string | 370245, etc | BIN结果。 如果由于发送了长BIN号码而导致重复,则最准确的BIN将返回并在此处反映出来 |
| card→length | string | 15, 16, etc | 请求BIN的此卡的编号长度 |
| card→luhn | boolean | true 要么 false | 返回此卡的Luhn算法以获取所请求的BIN |
| card→prepaid | boolean | true 要么 false | 预付 ? |
| card→commercial | boolean | true 要么 false | 商业广告 ? |
| card→scheme | string | AMEX, VISA, MATERCARD, etc | 发卡公司(也称网络,品牌,方案) |
| card→type | string | "credit", "debit", "charge", etc | 卡类型分类 |
| card→category | string | "STANDARD", "VIP", etc | 卡类 |
| issuer | object | name, url, tel, city | 有关发行人的信息 |
| issuer→name | string | Bank of America, Chase, Wellsfargo, etc | 发卡机构的名称 |
| issuer→url | string | https://www.freebinchecker.com, etc | 发卡机构的URL |
| issuer→tel | string | +1 408 434 5454, etc | 发卡机构的电话 |
| issuer→city | string | San Francisco, New York, etc | 发卡机构所在的城市 |
| country | object | name, alpha-2-code, numberic code, latitude, longitude | 有关发行人国家的信息 |
| country→name | string | United States, China, France, Japan, etc | 发卡国家的名称 |
| country→alpha-2-code | string | US, CN, FR, JA, etc | 发卡国家的Alpha 2代码 |
| country→numeric-code | string | 840, 841, etc | 发卡国家的数字代码 |
| country→latitude | string | 37.09024, etc | 发卡国家的纬度 |
| country→longitude | string | -95.712891, etc | 发卡国家的经度 |
| country→currency | string | USD, EUR, etc | 发卡国家的货币代码 |
| country→currency name | string | United states dollar, etc | 发卡国家的全货币名称 |
{
"valid": true,
"card": {
"bin": "370245",
"scheme": "AMEX",
"type": "credit",
"category": "STANDARD"
},
"issuer": {
"name": "BANESCO BANCO UNIVERSAL S.A.",
"url": "www.banesco.com",
"tel": "+58 212 501 11 11"
},
"country": {
"name": "United States",
"numeric code": "840",
"alpha 2 code": "US",
"latitude": "37.09024",
"longitude": "-95.712891",
"currency": "USD",
"currency name": "United States dollar"
}
}
{
"valid": true,
"card": {
"bin": "460007",
"scheme": "VISA",
"type": "debit"
},
"issuer": {
"name": "METABANK",
"url": "bankmeta.com",
"tel": "800-554-8969"
},
"country": {
"name": "United States",
"numeric code": "840",
"alpha 2 code": "US",
"latitude": "37.09024",
"longitude": "-95.712891",
"currency": "USD",
"currency name": "United States dollar"
}
}