# CertainData BIN Lookup

> CertainData BIN Lookup is a paid API for AI agents from api.certaindata.ai, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-16).

Returns card scheme, type, brand, issuer bank, country, and payout settings for a given card BIN (first 6-8 digits).

## Facts

- Endpoint: GET https://api.certaindata.ai/ca054d66abad4d6ea80ba43013b61743-cd/bin-lookup/:bin
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/certaindata-bin-lookup-5f2e6f10
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jG7Eef2whJWqehIklP42E

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 certaindata-bin-lookup-5f2e6f10
```

Example prompt: Can you look up the card scheme, type, issuer bank, and country for BIN 424242?

## When to prefer this

Use this endpoint when you need to identify card metadata — scheme, type, brand, issuer, country, and payout settings — from a card BIN prefix. Ideal for payment routing logic, fraud detection enrichment, form auto-fill on checkout, or compliance checks where issuer country matters.

## Known failure modes

- Invalid or malformed BIN returns an error response
- BIN not found in database returns a not-found error
- BINs shorter than 6 digits or longer than 8 digits may be rejected
- Network timeout or service unavailability returns a 5xx error
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Scheme, type, brand, issuer bank and country, and payout settings for a card BIN.

## Output

Returns the card scheme (e.g. Visa, Mastercard), card type (debit/credit/prepaid), brand, issuer bank name, issuer country, and payout settings associated with the provided BIN prefix.

## 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",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "bin"
     ],
     "properties": {
      "bin": {
       "type": "string",
       "description": "The first 6-8 digits of the card number."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/certaindata-bin-lookup-5f2e6f10/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.certaindata.ai](https://www.zero.xyz/host/api.certaindata.ai/llms.txt)
