BIN lookup

Standalone BIN lookup service

Request detailed information about payment cards with our standalone BIN api. The response returns meta data such as issuing bank, card country, currency and more to manage Fraud Prevention, Payment Orchestration, Customer segmentation or Surcharging more effectively.

👍

The BIN lookup service can be used independent of other PCI Proxy products

Get started

  1. Login to our dashboard or create a new test account for free
  2. Navigate to the Developers menu and access your credentials
  3. Use your credentials to authenticate your request to our servers
  4. Create the BIN request providing the first 6 or 8 digits of a raw card number or a tokenised card. See the following sample request:

Sample request

Please refer to the API Reference to get a detailed view of all required and optional fields.

curl -L -X POST 'https://api.sandbox.datatrans.com/v1/cards/bin' \
-H 'Authorization: Basic {{basicAuth}}' \ \
-H 'Content-Type: application/json' \
--data-raw '{
    "bin": "42424242"
}'
{
    "brand": "VISA",
    "type": "CREDIT",
    "usage": "CONSUMER",
    "country": "GB",
    "issuer": "STRIPE PAYMENTS UK LIMITED",
    "accountType": "PAN"
}

BIN data

Please refer to the API Reference to get a full view of the available data fields and their values.

FieldDescriptionExample
brandName of the card brandVisa
typeCard typeCredit
usageCard segmentConsumer
countryCountry of issuing bankUS
issuerIssuing bank nameBank of America
coBrandThe name of the co-brand. Only available for Cartes Bancaire and Dankort cards.CBL
accountTypeIndicator if the BIN belongs to a PAN or TOKEN (Network Token, C2P-Token, Device-Token)PAN

Supported card brands

Following card & co-brands are currently supported when active on your MerchantID.

Visa, Mastercard, AMEX, Diners, Discover, Cartes Bancaire, JCB, CUP, Maestro, Dankort

Please contact our team if you are missing a brand or certain BIN data. We are more than happy to look into it and add more information if possible.

📘

We are currently working on adding the binLength to the card meta data.

Testing

To test the BIN lookup service you can use any BIN range of the test cards listed in our test credentials section.

If you wish to add another BIN from a test card, please reach out to our team.