forked from binlist/www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.pug
244 lines (171 loc) · 5.7 KB
/
index.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
doctype html
html(lang="en")
head
meta(charset="utf-8")
meta(name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0")
meta(name="apple-mobile-web-app-status-bar-style" content="white")
meta(name="apple-mobile-web-app-capable" content="yes")
title Free BIN/IIN Lookup Web Service - binlist.net
link(rel="shortcut icon" type="image/png" href="./favicon.png")
link(rel="stylesheet" href="./index.css")
link(rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/github.min.css" integrity="sha256-3YM6A3pH4QFCl9WbSU8oXF5N6W/2ylvW0o2g+Z6TmLQ=" crossorigin="anonymous")
script(src="./index.js" defer)
script(src="https://code.jquery.com/jquery-3.3.1.min.js")
body
a(href="https://www.clearhaus.com")
img.ad(src="./clearhaus-top-banner-ad.png")
h1.logo Binlist.net
section.lookup
form
input.iin(type="search" value="4571 7360" autofocus)
p Enter the first digits of a card number (BIN/IIN)
ul.result
li.scheme
h2 Scheme / network
p Visa
li.brand
h2 Brand
p Visa/Dankort
li.number
h2 Card number
ul
li.length
h3 Length
p 16
li.luhn
h3 LUHN
ol
li.yes.selected Yes
li.no No
li.type
h2 Type
ol
li(data-value="debit").selected Debit
li(data-value="credit") Credit
li.prepaid
h2 Prepaid
ol
li.yes Yes
li.no.selected No
li.country
h2 Country
p.name 🇩🇰 Denmark
p.geo (latitude: <span class="latitude">56</span>, longitude: <span class="longitude">10</span>)
li.bank
h2 Bank
p.name Jyske Bank, Hjørring
p.url: a(href="https://jyskebank.dk") www.jyskebank.dk
p.phone +4589893300
h2 API
h3 curl / https
pre
code.hljs
:highlight(lang="bash")
curl -H "Accept-Version: 3" "https://lookup.binlist.net/45717360"
pre
code.hljs.secondary
:highlight(lang="json")
{
"number": {
"length": 16,
"luhn": true
},
"scheme": "visa",
"type": "debit",
"brand": "Visa/Dankort",
"prepaid": false,
"country": {
"numeric": "208",
"alpha2": "DK",
"name": "Denmark",
"emoji": "🇩🇰",
"currency": "DKK",
"latitude": 56,
"longitude": 10
},
"bank": {
"name": "Jyske Bank",
"url": "www.jyskebank.dk",
"phone": "+4589893300",
"city": "Hjørring"
}
}
p
| Fields may contain <code>null</code> values which suggests that
| cards may be one or the other.
p
| If no matching cards are found an HTTP <code>404</code> response
| is returned.
h3 Node.js / npm / browser(ify)
pre
code.hljs
:highlight(lang="bash")
npm install binlookup
pre
code.hljs.secondary
:highlight(lang="javascript")
var lookup = require('binlookup')()
// callback
lookup('45717360', function( err, data ){
if (err)
return console.error(err)
console.log(data)
})
// promise
lookup('45717360').then(console.log, console.error)
ul
li: a(href="https://www.npmjs.com/package/binlookup") npm package
li: a(href="https://github.com/paylike/binlookup") Source code
h3 Usage
h4 Limits
p
| Requests are throttled at 2 per second with a burst allowance of
| 10. If you hit the speed limit the service will return a
| #[a(href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429") 429] http status code.
p
| Need more? Get unlimited access at $ 0.001/request by reaching out to #[a(href="mailto:[email protected]") [email protected]].
h4 Uptime
p
| See our #[a(href="https://status.binlist.net") status page]
| (third party operated) for live uptime stats.
h4 Updates
p
| For important updates on the API please #[a(href="https://eepurl.com/cNddUP") subscribe here].
h3 Related projects and resources
ul
li: a(href="https://github.com/paylike/luhn") LUHN check/calculate
li: a(href="https://github.com/srcagency/iso-3166-1-codes") ISO 3166-1 codes
li: a(href="https://github.com/srcagency/country-currencies") Country currencies
li: a(href="https://github.com/srcagency/country-coords") Country coordinates
li: a(href="https://github.com/srcagency/country-to-emoji-flag") Country emoji flags
h2 About
p
| binlist.net is a public web service for looking up credit and
| debit card meta data.
h3 IIN / BIN
p
| The first 6 or 8 digits of a payment card number (credit cards,
| debit cards, etc.) are known as the
| #[a(href="https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_.28IIN.29") Issuer Identification Numbers (IIN)],
| previously known as Bank Identification Number (BIN).
| These identify the institution that issued the card to the card
| holder.
h3 Data
p
| The data backing this service is not a table of card number
| prefixes. That would be unreliable and provide you with too little
| information. The data is sourced from multiple places, filtered,
| prioritized, and combined to form the data you eventually see.
| Some data is formed based on assumptions we make by looking at
| adjoining cards.
p
| Although this service is very accurate, don't expect it to be
| perfect.
h4 Dataset downloads, caching and scraping
p
| For the reasons above, we do not provide a static database dump; it is either
| terribly imprecise or you would need specialized software to compile the
| results.
h3 Got corrections?
p
| We welcome pull requests on #[a(href="https://github.com/binlist/data") github.com/binlist/data].