Gratis BIN-lookup API
Een snelle REST API die kaart-BIN-gegevens als JSON teruggeeft. Geen API-sleutel, CORS ingeschakeld.
GratisGeen API-sleutel nodig
<5 msResponstijd server
JSONCORS ✓
BIN-lookup
GET https://www.visatk.com/api/v1/bin/{bin}Geef 6 tot 19 cijfers door; de eerste 8 worden gematcht. Geeft found: false met het gedetecteerde merk terug als de BIN onbekend is.
cURL
curl https://www.visatk.com/api/v1/bin/457173
JavaScript
const r = await fetch('https://www.visatk.com/api/v1/bin/457173');
const data = await r.json();
console.log(data.brand, data.bank.name, data.country.name);
Python
import requests
d = requests.get('https://www.visatk.com/api/v1/bin/457173').json()
print(d['brand'], d['bank']['name'], d['country']['alpha2'])PHP
$d = json_decode(file_get_contents('https://www.visatk.com/api/v1/bin/457173'), true);
echo $d['brand'];
Voorbeeldrespons
{
"bin": "45717360",
"found": true,
"length": 8,
"brand": "Visa",
"type": "Debit",
"level": "Classic",
"prepaid": false,
"commercial": false,
"bank": {
"name": "Jyske Bank A/S",
"phone": "+4589893300",
"url": "www.jyskebank.dk"
},
"country": {
"name": "Denmark",
"alpha2": "DK",
"alpha3": "DNK",
"currency": "DKK",
"flag": "🇩🇰",
"latitude": 56.26,
"longitude": 9.5018
}
}
Bulk-lookup
POST https://www.visatk.com/api/v1/bulk
Content-Type: application/json
{"bins": ["411111", "542418", "371449"]}Verstuur tot 1.000 BIN's in één verzoek. De respons bevat een results-array in dezelfde volgorde.
IP-geolocatie
GET https://www.visatk.com/api/ip/{ip}
GET https://www.visatk.com/api/meGeeft land, regio, stad, coördinaten, valuta, ASN en organisatie terug voor elk IPv4- of IPv6-adres. /api/me geeft het IP van de aanroeper terug.
Responsvelden
| Field | Type | Betekenis |
|---|---|---|
| bin | string | Gematchte BIN |
| found | boolean | Of de BIN in de database voorkomt |
| length | number | Aantal BIN-cijfers |
| brand | string | Kaartnetwerk |
| type | string | Credit-, debit- of chargekaart |
| level | string | Productniveau zoals Classic of Platinum |
| prepaid | boolean | Prepaid- of cadeaukaart |
| commercial | boolean | Zakelijke, bedrijfs- of inkoopkaart |
| bank.name | string | Uitgevende bank |
| bank.phone | string | Telefoonnummer uitgever |
| bank.url | string | Website uitgever |
| country.name | string | Land van uitgifte |
| country.alpha2 | string | ISO 3166-1 alpha-2-code |
| country.alpha3 | string | ISO 3166-1 alpha-3-code |
| country.currency | string | ISO 4217-valuta |
| country.flag | string | Vlag-emoji |
| country.latitude | number | Breedtegraad van het land |
| country.longitude | number | Lengtegraad van het land |
Fair use
De API is gratis bij redelijk gebruik. Cache resultaten aan uw kant en neem contact met ons op voordat u langdurig hoge volumes verstuurt.
Statuscodes
| 200 | Geslaagd (controleer het veld found). |
| 400 | Minder dan 6 cijfers opgegeven. |
| 404 | Onbekend endpoint. |