BIN Lookup

Look up card metadata for any Bank Identification Number β€” scheme, card type, issuing bank, country, and more.

Get API Key

Overview

Use Cases

  • Payment form validation and card brand display
  • Fraud detection and risk scoring
  • Checkout UX improvements (show card logo as user types)
  • Geo-filtering based on card issuing country
  • Fintech compliance and card acceptance rules

Features

6-digit and 8-digit BIN support (ISO 7812-1:2017)
500k+ BINs from multiple aggregated sources
Issuing bank name, URL, and phone number
Card scheme, type, level, and prepaid flag
Luhn prefix validation
Confidence score per record

API Endpoints

BIN Lookup

Returns card metadata for the given 6–8 digit BIN prefix.

GET
https://api.requiems.xyz/v1/finance/bin/{bin}

Parameters

Name Type Required Description
bin string Required 6–8 digit Bank Identification Number. Dashes and spaces are stripped automatically.

Try it out

Live Demo
Request

6–8 digit Bank Identification Number. Dashes and spaces are stripped automatically.

Response Fields

Field Type Description
bin string The normalised BIN prefix used for the lookup
scheme string Card network: visa, mastercard, amex, discover, jcb, diners, unionpay, maestro, mir, rupay, private_label
card_type string credit, debit, prepaid, or charge
card_level string classic, gold, platinum, infinite, business, signature, or standard
issuer_name string Name of the card-issuing bank
issuer_url string Bank website URL
issuer_phone string Bank customer service phone number
country_code string ISO 3166-1 alpha-2 country code of the issuing bank (e.g. US, GB, DE)
country_name string Full country name of the issuing bank
prepaid boolean Whether the card is a prepaid card
luhn boolean Whether the BIN prefix passes the Luhn algorithm check
confidence number Data quality score (0.00–1.00). Multi-source confirmed records score higher.

Code Examples

curl https://api.requiems.xyz/v1/finance/bin/424242 \
  -H "requiems-api-key: YOUR_API_KEY"

Error Responses

bad_request

BIN is not 6–8 digits or contains non-digit characters.

not_found

BIN prefix not found in the database.

internal_error

Unexpected server error.

Frequently Asked Questions