Developer Resources

BIN Checker API Documentation

Integrate our powerful BIN lookup capabilities directly into your applications with our simple and reliable REST API.

Reliable

99.9% uptime with fast response times and global CDN distribution

Comprehensive

Access to our extensive database of BINs from issuers worldwide

Secure

HTTPS encryption and optional API key authentication for all requests

Getting Started
Quick guide to using the BIN Checker API
Base URL: https://binsapi.vercel.app

Authentication

The public API endpoint doesn't require authentication for basic usage. For higher rate limits and additional features, contact us about our premium API plans.

Rate Limits

Public API: 100 requests per hour per IP address
Premium API: Custom limits based on your plan

Response Format

All API responses are returned in JSON format.

API Reference
Detailed documentation for all available endpoints

GET /api/bin

GET

Retrieve information about a single BIN.

Request Parameters

ParameterTypeRequiredDescription
binstringYesThe first 6-8 digits of a card number

Example Request

curl https://binsapi.vercel.app/api/bin?bin=411111

Example Response

{
  "number": "411111",
  "country": "United States",
  "flag": "🇺🇸",
  "vendor": "Visa",
  "type": "Credit",
  "level": "Classic",
  "bank_name": "JPMorgan Chase Bank, N.A."
}

Response Fields

FieldTypeDescription
numberstringThe BIN/IIN number
countrystringThe country where the card was issued
flagstringThe country flag emoji
vendorstringThe card network (Visa, Mastercard, etc.)
typestringThe card type (Credit, Debit, Prepaid)
levelstringThe card level (Classic, Gold, Platinum, etc.)
bank_namestringThe issuing bank or financial institution

Error Responses

Status CodeError MessageDescription
400BIN parameter is requiredThe bin parameter was not provided
404BIN not foundThe requested BIN was not found in the database
429Rate limit exceededYou've exceeded the rate limit for API requests
500Failed to process BIN requestAn internal server error occurred
Code Examples
Implementation examples in various programming languages
// Using fetch API
async function checkBin(bin) {
  try {
    const response = await fetch(`https://binsapi.vercel.app/api/bin?bin=${bin}`);
    
    if (!response.ok) {
      throw new Error(`Error: ${response.status}`);
    }
    
    const data = await response.json();
    console.log(data);
    return data;
  } catch (error) {
    console.error('Failed to check BIN:', error);
  }
}

// Example usage
checkBin('411111');
Need More Power?
Upgrade to our premium API for higher rate limits and additional features

Premium API Features

  • Higher rate limits (up to 10,000 requests per hour)
  • Additional data fields (issuer phone, website, etc.)
  • Dedicated support and SLA guarantees
  • Webhook notifications for database updates