BIN Lookup

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

Get API Key

Vue d'ensemble

Cas d'utilisation

  • 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

Fonctionnalités

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

Points de terminaison de l'API

BIN Lookup

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

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

Paramètres

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

Essayez-le

Démo en direct
Requête

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

Champs de réponse

Champ 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_prefix_valid boolean Whether the BIN prefix (not a full card number) passes the Luhn algorithm check
confidence number Data quality score (0.00–1.00). Multi-source confirmed records score higher.
data_freshness string Year and month the underlying BIN data was last refreshed (YYYY-MM), based on the most recent seed run for this record

Exemples de code

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

Réponses d'erreur

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.

Foire aux questions