BIN Lookup API

Free JSON API for developers. No authentication required for basic usage.

Advertisement
Ad Space β€” 728Γ—90

Endpoint

GET https://yourdomain.com/api/lookup.php?bin={BIN}

Parameters

ParameterTypeRequiredDescription
binstringYesFirst 6–8 digits of the card number

Example Request

curl "https://yourdomain.com/api/lookup.php?bin=424242"

Example Response

{
  "success": true,
  "bin": "424242",
  "bank": {
    "name": "Chase Bank",
    "website": "https://chase.com",
    "phone": "+1-800-935-9935",
    "city": "New York"
  },
  "country": {
    "name": "United States",
    "code": "US",
    "numeric": "840",
    "currency": "USD",
    "flag": "πŸ‡ΊπŸ‡Έ"
  },
  "card": {
    "scheme": "VISA",
    "type": "Credit",
    "level": "Classic",
    "prepaid": false
  }
}

Error Response

{
  "success": false,
  "error": "BIN not found in our database."
}

Rate Limits

PlanRequests/minCost
Free60Free forever
Pro Soon600Contact us

Code Examples

fetch('https://yourdomain.com/api/lookup.php?bin=424242')
  .then(r => r.json())
  .then(data => {
    if (data.success) {
      console.log(data.bank.name);      // "Chase Bank"
      console.log(data.country.name);   // "United States"
      console.log(data.card.scheme);    // "VISA"
    }
  });
Advertisement
Ad Space β€” 728Γ—90