# Payment Card Network Lookup

> Payment Card Network Lookup is a paid API for AI agents from creditcard.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Identifies the payment card network (e.g. Visa, Mastercard, Amex) from a given card number

## Facts

- Endpoint: POST https://creditcard.openverbs.com/v1/network
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payment-card-network-lookup-05027c9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ds1MGNWGJbFUN_MD3_Ls

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 payment-card-network-lookup-05027c9e -d '<json body>'
```

Example prompt: Can you tell me which payment network the card number 4111 1111 1111 1111 belongs to — like whether it's Visa, Mastercard, Amex, or something else?

## When to prefer this

Use this endpoint when you need a quick, lightweight lookup of the payment network for a card number without running a full validation or charge. Ideal for UI card-logo detection, payment routing decisions, or fraud triage where only the network identity is needed and you want a low-cost, fast call.

## Known failure modes

- Card number too short or too long — rejected with validation error
- Unrecognized card prefix that doesn't match any known network — returns unknown or error
- Malformed input (non-numeric characters beyond allowed spaces/hyphens) — rejected
- Card number passes format check but is not attributable to a major network

## How this service works

Detect the issuing network/brand (Visa, Mastercard, American Express, Discover, Diners Club, JCB, UnionPay, Maestro) from the card's IIN prefix, with the network's valid lengths. Returns `network:null` for an unrecognized prefix.

## Output

Returns the identified payment card network (e.g. Visa, Mastercard, American Express, Discover, UnionPay) associated with the provided card number, based on the card's number prefix and length.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "number"
     ],
     "properties": {
      "number": {
       "type": "string",
       "maxLength": 40,
       "minLength": 1,
       "description": "Card number; spaces and hyphens are allowed."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payment-card-network-lookup-05027c9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creditcard.openverbs.com](https://www.zero.xyz/host/creditcard.openverbs.com/llms.txt)
