# Credit Card Type Detector

> Credit Card Type Detector is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-03).

Detects and identifies the credit card network/type (Visa, Mastercard, Amex, etc.) from a card number or schema string

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/validation/credit-card-type-detect?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/credit-card-type-detector-e4e39840
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CTOZLSM0aQUeTMqMXiiZG

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 credit-card-type-detector-e4e39840
```

Example prompt: Can you detect what type of credit card '4111111111111111' is — like whether it's Visa, Mastercard, Amex, or something else?

## When to prefer this

Choose this endpoint when you need a lightweight, no-signup, pay-per-call credit card type detection without managing API keys. Ideal for AI agents that need on-demand card classification in automated workflows, especially when operating with crypto micropayments (USDC on Base) via x402. Prefer this over full card validation services when you only need brand/network detection, not full Luhn validation or BIN lookup.

## Known failure modes

- Invalid or unrecognized card number format returns an error or unknown type
- Missing schema input parameter results in a bad request response
- Truncated card number with insufficient digits may not be deterministically classifiable
- Network timeout or Cloudflare Worker cold-start delay

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with ok and paid status fields, and the detected credit card type/network (e.g. Visa, Mastercard, American Express, Discover, JCB, etc.) inferred from the provided card number or schema string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/credit-card-type-detector-e4e39840/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
