# Card BIN Lookup

> Card BIN Lookup is a paid API for AI agents from binx402.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Resolves a payment card BIN (first 6-8 digits) to issuer, card scheme, type, country, and other card metadata

## Facts

- Endpoint: GET https://binx402.com/v1/bin
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/card-bin-lookup-91619b0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LMO-xOpmrWAdnEBSoRc0c

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability card-bin-lookup-91619b0d
```

Example prompt: Can you look up the BIN 448590 and tell me what bank issued it, whether it's a credit or debit card, and what country it's from?

## When to prefer this

Choose this endpoint when you need real-time BIN resolution for a single card prefix and want structured data covering issuer, scheme, type, country, and prepaid/commercial flags. Ideal for fraud checks, payment routing, and customer support workflows where per-lookup micropayment billing ($0.01 USDC via x402) is acceptable. Prefer over batch BIN databases when freshness and accuracy matter more than bulk throughput.

## Known failure modes

- Invalid or too-short BIN (fewer than 6 digits) returns validation error
- Unknown or unregistered BIN returns success:false with no card metadata
- Network or upstream provider timeout returns non-200 status
- Payment failure (x402) if USDC balance is insufficient or wallet not configured

## How this service works

Instant card BIN intelligence. Bank, brand, country, type, funding &amp; more via x402.

## Output

A JSON object with a BIN sub-object containing: validity flag, card scheme (e.g. VISA), card type (CREDIT/DEBIT/CHARGE), card level (e.g. PURCHASING), brand, currency, issuer name/phone/website, country name/alpha2/currency, is_prepaid, and is_commercial fields. Also includes a success boolean and upstream status code.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "bin"
     ],
     "properties": {
      "bin": {
       "type": "string",
       "minLength": 6,
       "description": "The first 6 to 8 digits of a payment card, e.g. \"448590\"."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "BIN"
     ],
     "properties": {
      "BIN": {
       "type": "object",
       "required": [
        "valid",
        "scheme"
       ],
       "properties": {
        "type": {
         "type": "string",
         "description": "CREDIT, DEBIT or CHARGE."
        },
        "brand": {
         "type": "string",
         "description": "Card brand."
        },
        "level": {
         "type": "string",
         "description": "Product level, e.g. PURCHASING."
        },
        "valid": {
         "type": "boolean"
        },
        "issuer": {
         "type": "object",
         "properties": {
          "name": {
           "type": "string",
           "description": "Issuing bank."
          },
          "phone": {
           "type": "string"
          },
          "website": {
           "type": "string"
          }
         }
        },
        "length": {
         "type": "integer"
        },
        "number": {
         "type": "integer",
         "description": "The BIN that was looked up."
        },
        "scheme": {
         "type": "string",
         "description": "Card scheme, e.g. VISA."
        },
        "country": {
         "type": "object",
         "properties": {
          "name": {
           "type": "string"
          },
          "alpha2": {
           "type": "string"
          },
          "currency": {
           "type": "string"
          }
         }
        },
        "currency": {
         "type": "string"
        },
        "is_prepaid": {
         "type": "string"
        },
        "is_commercial": {
         "type": "string"
   
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "BIN": {
   "type": "CREDIT",
   "level": "PURCHASING",
   "valid": true,
   "issuer": {
    "name": "JPMORGAN CHASE BANK N.A. - COMMERCIAL"
   },
   "number": 448590,
   "scheme": "VISA",
   "currency": "USD"
  },
  "code": 200,
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/card-bin-lookup-91619b0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from binx402.com](https://www.zero.xyz/host/binx402.com/llms.txt)
