BIN Lookup API Documentation

This is the documentation hub for BINLookupAPI. Use one section for the task that you have.

SectionUse it for
APIThe request format, the response fields, and the error codes.
SupportBilling, the dashboard, API keys, the team, and account settings.
GuidesWorking examples in curl, JavaScript, Python, PHP, Java, C#, and Go.

What the API returns

BINLookupAPI returns data for a Bank Identification Number (BIN). A BIN is the first 6 to 11 digits of a payment card number.

You can use a response to:

  • Identify the card network and the issuing bank.
  • Identify the funding type: credit, debit, or prepaid.
  • Read the country that issued the card.

The dataset has 3,289,919 BIN records from 231 countries. Records use 6 to 11 digits. 88.7% of the records are longer than 6 digits. Send 8 or more digits when you can. The result is then the issuer range, not only the parent range.

Data updates

CadenceWhat changes
Each weekSmall updates. These updates add new ranges and correct records.
Every 4 weeksA full refresh. This refresh also removes withdrawn records.

Each refresh is on the changelog. The API always returns the current data. There is no file to download.

Endpoints

Send every API request to https://api.binlookupapi.com. The dashboard host does not accept API requests.

Method and pathUse
POST /v1/binLook up one BIN.
POST /v1/binsLook up 1 to 2,000 BINs in one request.

Example

curl -X POST "https://api.binlookupapi.com/v1/bin" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"number": 42467101}'

A success response has this shape:

{
  "mode": "live",
  "data": {
    "bin": "42467101",
    "scheme": "visa",
    "funding": "debit",
    "brand": "VISA",
    "category": "CLASSIC",
    "country": { "code": "PL", "name": "POLAND" },
    "issuer": { "name": "ING BANK SLASKI SA", "website": null, "phone": null },
    "currency": "PLN",
    "prepaid": false,
    "commercial": false
  }
}

Plans BLAPI-150KPM and BLAPI-500KPM also return a meta object. See the API reference.

Where to go next

  1. Create an account and send the first request.
  2. Read the API reference before you handle errors in code.
  3. Open the guide for your language.
  4. When you need a higher daily limit, open Billing.