Credit Card BIN Lookup API — Identify Card Brand, Issuer, and Type
Look up credit card BIN/IIN numbers to identify the card issuer, brand (Visa, Mastercard, Amex), card type, and country. Check card length and Luhn algorithm validity. Free API.
What is a BIN/IIN Lookup?
The Bank Identification Number (BIN), also known as the Issuer Identification Number (IIN), is the first 6-8 digits of a credit or debit card. The BIN identifies the card issuer, brand (Visa, Mastercard, American Express, Discover), card type (credit, debit, prepaid), card level (classic, gold, platinum, signature), and issuing country.
How to Use It
Call GET /api/v1/credit-card?card=378282246310005. Returns { valid: boolean, brand: string, card_type: string, issuer: string | null, country: string | null, luhn_valid: boolean, length: number, error: string | null }.
Try it live
Test this endpoint in the interactive console
Open Console →
Frequently Asked Questions
What is the Luhn algorithm?
The Luhn algorithm (mod 10 algorithm) is a checksum formula used to validate credit card numbers. It catches accidental typing errors and is used by all major credit card companies.
What card brands are supported?
Visa, Mastercard, American Express, Discover, Diners Club, JCB, UnionPay, Maestro, and RuPay are all supported.