← Back to Overview

Detect Bulk Bin

Check multiple card BINs in a single request (up to 1000)

POST/api/steer/detect/bulkOptional Auth
publicproductoptional-auth

Example Request

cURL

curl -X POST https://margin.so/api/steer/detect/bulk \
  -H "Content-Type: application/json" \
  -H "X-API-Key: sk_live_your_api_key_here" \
  -d '{}'

JavaScript

const response = await fetch('https://margin.so/api/steer/detect/bulk', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-API-Key': 'sk_live_your_api_key_here'
  },
  body: JSON.stringify({})
});

const data = await response.json();
console.log(data);

Python

import requests

response = requests.post(
    'https://margin.so/api/steer/detect/bulk',
    headers={
        'Content-Type': 'application/json',
        'X-API-Key': 'sk_live_your_api_key_here'
    },
    json={}
)

data = response.json()
print(data)

Example Response

{
  "success": true,
  "data": [
    {
      "bin": "471234",
      "is_commercial": true,
      "category": "CORPORATE",
      "estimated_interchange_bps": 280
    },
    {
      "bin": "543210",
      "is_commercial": false,
      "category": null,
      "estimated_interchange_bps": 120
    }
  ]
}

Request Body

FieldTypeRequiredDescription