GET /v1/bin-lookupLook up BIN/IIN information
Validation Utils lf-validation-utils
Looks up which bank issued a payment card, from the first few digits. Look up BIN/IIN information
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bin | string | Yes | First 6-8 digits of a card number |
Response Schema
network (string): Card network (Visa/MasterCard/Amex/...)
type (string): credit, debit, or prepaid
bank (string): Issuing bank
country (string): Issuing country
length_range (array): Valid PAN lengths
cURL Example
curl 'https://lf-validation-utils.laminarforge.dev/v1/bin-lookup?bin=<bin>' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-validation-utils.laminarforge.dev/v1/bin-lookup'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'bin': '<bin>'}
response = requests.get(url, headers=headers, params=params)
print(response.json())