💳 343,063 BIN records🏦 13,269 Issuing banks🌍 199 Countries🧰 24 Free tools

Free BIN Lookup API

A fast REST API that returns card BIN data as JSON. No API key, CORS enabled.

FreeNo API key needed
<5 msServer response time
JSONCORS ✓

BIN lookup

GET https://www.visatk.com/api/v1/bin/{bin}

Pass 6 to 19 digits; the first 8 are matched. Returns found: false with the detected brand when the BIN is unknown.

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'];

Example response

{
  "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"]}

Send up to 1,000 BINs in one request. The response contains a results array in the same order.

IP geolocation

GET https://www.visatk.com/api/ip/{ip}
GET https://www.visatk.com/api/me

Returns country, region, city, coordinates, currency, ASN and organisation for any IPv4 or IPv6 address. /api/me returns the caller IP.

Response fields

FieldTypeMeaning
binstringMatched BIN
foundbooleanWhether the BIN exists in the database
lengthnumberNumber of BIN digits
brandstringCard network
typestringCredit, Debit or Charge card
levelstringProduct level such as Classic or Platinum
prepaidbooleanPrepaid or gift card
commercialbooleanBusiness, corporate or purchasing card
bank.namestringIssuing bank
bank.phonestringIssuer phone number
bank.urlstringIssuer website
country.namestringIssuing country
country.alpha2stringISO 3166-1 alpha-2 code
country.alpha3stringISO 3166-1 alpha-3 code
country.currencystringISO 4217 currency
country.flagstringFlag emoji
country.latitudenumberCountry latitude
country.longitudenumberCountry longitude

Fair use

The API is free for reasonable use. Please cache results on your side and contact us before sending sustained high volumes.

Status codes

200Success (check the found field).
400Fewer than 6 digits supplied.
404Unknown endpoint.