Card Validator API GET

Card Validator checks whether a card number is valid, identifies the card brand, and flags risk. It runs the Luhn checksum, detects the scheme (Visa, Mastercard, Amex and more), returns the PCI-safe BIN and last 4 digits, flags known processor test cards, and returns a composite risk score.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/cardvalidator
Verification
Format

No key required to try it. Get a key to use it in your app.

200 OK
{
  "status": "ok",
  "error": null,
  "data": {
    // Card Validator response payload
  }
}

About the Card Validator API

Card Validator works by validating the card number against the Luhn algorithm and the brand's prefix and length rules. It identifies the card scheme, extracts the BIN and last four digits, checks the number against a list of known published test cards, and returns a risk score summarizing how safe the number is to trust.

What people use it for

Payment Processing
Use the Card Validator API to validate card numbers for payment processing. Use the data to verify card information and prevent fraudulent transactions
E-commerce Platforms
Validate card numbers by using the Card Validator API for e-commerce platforms. Use the data to ensure secure transactions, protect customer data, and comply with regulations
Financial Services
Secure financial services by using the Card Validator API to validate card numbers. Use the data to verify cardholder information, prevent identity theft, and enhance data security
Fraud Detection
Detect fraud by using the Card Validator API to validate card numbers. Use the data to identify suspicious activities, block fraudulent accounts, and protect against scams

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Card Validator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Card Validator API.

Read the docs
What does the Card Validator API do?
Card Validator checks whether a card number is valid, identifies the card brand, and flags risk. It runs the Luhn checksum, detects the scheme (Visa, Mastercard, Amex and more), returns the PCI-safe BIN and last 4 digits, flags known processor test cards, and returns a composite risk score.
How do I authenticate Card Validator API requests?
Pass your API key in the x-api-key header over HTTPS. One key works across all 300+ APIVerve APIs — there are no per-endpoint credentials.
How much does the Card Validator API cost?
Each call spends 2 credits from your shared pool. The free tier includes 200 credits every month, and paid plans add more headroom.
How fast is the Card Validator API?
Response time depends on the endpoint — the p50 through p99 latency for this API is published on this page. Requests are served over HTTPS through a global edge network.
What response formats does the Card Validator API support?
JSON by default, plus XML and YAML via the format parameter. GraphQL and an MCP interface for AI agents are available across the catalog.
What HTTP method does the Card Validator API use?
GET over HTTPS, following standard REST conventions with a consistent { status, error, data } response envelope.

Ready to build with Card Validator? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs