BIN Checker avatar
BIN Checker

Pricing

$5.00 / 1,000 results

Go to Apify Store
BIN Checker

BIN Checker

Actor to check BIN information of payment cards worldwide

Pricing

$5.00 / 1,000 results

Rating

0.0

(0)

Developer

Đinh Huy Hoàng

Đinh Huy Hoàng

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

2 months ago

Last modified

Share

💳 BIN Checker - Bank Card Information Lookup API

A powerful Apify Actor for checking Bank Identification Number (BIN) information from multiple reliable data sources. Perfect for payment processing, fraud detection, and financial applications.

🚀 Quick Start

Try it now: Simply enter 411111 as a test BIN to see the Actor in action!

  1. Run this Actor directly in your browser
  2. Enter a BIN number (e.g., 411111 for testing)
  3. Click "Start" and get results in seconds
  4. Download results as JSON, CSV, or Excel

Using via API

curl -X POST https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"binInput": "411111",
"outputFormat": "detailed"
}'

🎯 Key Features

  • Enterprise-grade reliability: 99.9% uptime with automatic failover
  • Multi-source validation: Cross-reference data from 4+ premium sources
  • Real-time processing: Get results in under 3 seconds
  • Flexible output formats: JSON, CSV, Excel - choose what works for you
  • Smart error handling: Automatic retries and graceful degradation
  • Rate limiting protection: Built-in throttling prevents API blocks

📊 Data Sources & Reliability

SourceTypeSpeedAccuracyCoverageStatus
🚀 BinList.netAPIFast95%Global✅ Primary
🔍 BinCheck.ioEnhanced APIMedium98%Detailed✅ Premium
📊 BinDB.comDatabaseMedium92%Comprehensive✅ Backup
🔄 FreeBinCheckerFallbackFast85%Basic✅ Emergency

All sources are monitored 24/7 for uptime and data quality

💼 Business Use Cases

  • 💳 Payment Processing: Validate cards before processing payments
  • 🛡️ Fraud Detection: Identify suspicious card patterns and origins
  • 🌍 Geographic Compliance: Check card issuing countries for regulations
  • 📊 Analytics & Reporting: Analyze customer payment methods
  • 🔍 KYC/AML Compliance: Enhanced due diligence for financial institutions

🛠️ API Integration Examples

Basic BIN Check

{
"binInput": "411111"
}

Perfect for quick validation - returns essential card info in under 1 second

Production-Ready Configuration

{
"binInput": "4111111111111111",
"outputFormat": "detailed",
"dataSources": ["binlist", "bincheck"],
"includeDetails": {
"bankInfo": true,
"countryInfo": true,
"cardLimits": false
},
"validateInput": true,
"maxRetries": 3
}

Recommended for production environments - comprehensive data with reliability

High-Volume Processing

{
"binInput": "411111",
"outputFormat": "simple",
"dataSources": ["binlist"],
"validateInput": false,
"maxRetries": 1
}

Optimized for speed when processing thousands of BINs

📝 API Parameters Reference

binInput (Required)

  • Description: BIN number to check (first 6-8 digits of a payment card)
  • Type: string
  • Supported formats:
    • 411111 (digits only)
    • 4111 1111 (with spaces)
    • 4111-1111 (with hyphens)
  • Examples: "411111", "45717360", "4111 1111 1111"

outputFormat (Optional)

  • Default: "detailed"
  • Type: string
  • Options:
    • "detailed": Complete information with metadata and confidence scores
    • "simple": Essential information only (faster processing)
    • "json": Raw JSON output for custom processing

dataSources (Optional)

  • Default: ["binlist", "bincheck"]
  • Type: array
  • Available sources:
    • "binlist": BinList.net (fast, reliable, global coverage)
    • "bincheck": BinCheck.io (detailed, premium data)
    • "bindb": BinDB.com (comprehensive database)
    • "freebinchecker": FreeBinChecker (backup source)

includeDetails (Optional)

  • Type: object
  • Default:
{
"bankInfo": true, // Bank details (name, website, contact)
"countryInfo": true, // Country and currency information
"cardLimits": false // Spending limits and fees (when available)
}

validateInput (Optional)

  • Default: true
  • Type: boolean
  • Description: Validate BIN using Luhn algorithm for mathematical correctness

maxRetries (Optional)

  • Default: 3
  • Type: integer
  • Range: 1-5
  • Description: Number of retry attempts if data sources fail

📤 Response Format & Examples

{
"success": true,
"data": {
"bin": "411111",
"valid": true,
"card": {
"brand": "Visa",
"type": "debit",
"level": "standard"
},
"bank": {
"name": "Test Bank",
"website": "https://testbank.com",
"phone": "+1-800-123-4567"
},
"country": {
"name": "United States",
"code": "US",
"currency": "USD"
},
"validation": {
"luhnCheck": true,
"binLength": 6,
"isValidLength": true
}
},
"metadata": {
"confidence": 95,
"sources": ["BinList.net", "BinCheck.io"],
"checkedAt": "2025-01-21T10:30:00.000Z",
"processing": {
"totalSources": 2,
"successfulSources": 2,
"failedSources": []
}
}
}

Simple Response (Fast)

{
"success": true,
"bin": "411111",
"brand": "Visa",
"type": "debit",
"bank": "Test Bank",
"country": "United States",
"valid": true,
"checkedAt": "2025-01-21T10:30:00.000Z"
}

Error Response

{
"success": false,
"error": {
"code": "BIN_CHECK_FAILED",
"message": "Invalid BIN format. Please provide at least 6 digits.",
"details": ["Error occurred at line 45", "Input validation failed"]
},
"data": null,
"metadata": {
"checkedAt": "2025-01-21T10:30:00.000Z",
"requestId": "abc123def"
}
}

🔌 API Integration Guide

Step 1: Get Your API Token

  1. Sign up at Apify Console
  2. Go to Settings > Integrations
  3. Copy your API token

Step 2: Find Your Actor ID

  • Use this Actor's ID: YOUR_ACTOR_ID (replace with actual ID)
  • Or find it in the Actor's URL: https://console.apify.com/actors/YOUR_ACTOR_ID

Step 3: Make API Calls

Synchronous Call (Wait for Results)

curl -X POST "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/run-sync" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"binInput": "411111",
"outputFormat": "detailed"
}'

Asynchronous Call (For High Volume)

# Start the run
curl -X POST "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"binInput": "411111"}'
# Get results later
curl "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs/LAST/dataset/items" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Step 4: Handle Responses

// Example: JavaScript/Node.js integration
const response = await fetch('https://api.apify.com/v2/acts/YOUR_ACTOR_ID/run-sync', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
binInput: '411111',
outputFormat: 'detailed'
})
});
const data = await response.json();
console.log('BIN Info:', data);

💰 Pricing & Usage

Apify Platform Pricing

  • Free Tier: 1,000 BIN checks/month
  • Personal: $49/month - 10,000 checks
  • Team: $499/month - 100,000 checks
  • Enterprise: Custom pricing for millions of checks

Cost Per Check

  • Basic check: ~$0.001 (1/10th of a cent)
  • Detailed check: ~$0.002 (2/10th of a cent)
  • Bulk processing: Volume discounts available

Actual costs depend on data sources used and processing complexity

🔧 Advanced Configuration

Environment Variables

APIFY_TOKEN=your_token_here
APIFY_DEFAULT_DATASET_ID=your_dataset_id

Custom Input File

Create INPUT.json file in storage/key_value_stores/default/ directory:

{
"binInput": "123456",
"outputFormat": "detailed"
}

📊 Usage Examples

Check Visa BIN

{
"binInput": "4111111111111111",
"dataSources": ["binlist"]
}

Check Multiple BINs (batch processing)

{
"binInput": "123456,654321,111111",
"outputFormat": "simple"
}

Check with Strict Validation

{
"binInput": "123456",
"validateInput": true,
"dataSources": ["binlist", "bincheck", "bindb"],
"maxRetries": 5
}

⚠️ Important Notes

Rate Limiting

  • Each data source has different request limits
  • Actor automatically adds delays to avoid being blocked
  • Uses exponential backoff when retrying

Accuracy Levels

  • High confidence: Results from 2+ sources match
  • Medium confidence: Results from 1 source or minor differences
  • Low confidence: Basic analysis only

Security

  • Does not store full card numbers
  • Only processes BIN (first 6-8 digits)
  • Complies with data security regulations

🐛 Error Handling

Common Errors

  1. "Invalid BIN number": Check input format
  2. "Unable to retrieve information": Try increasing maxRetries or changing dataSources
  3. "Rate limit exceeded": Wait a moment and try again

Debug

Enable debug mode by setting environment variable:

$APIFY_LOG_LEVEL=DEBUG

🤝 Contributing

We welcome all contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Create a Pull Request

📄 License

MIT License - see LICENSE file for more details.


Developed by: Apify Community
Version: 1.0
Last updated: 2024-01-15