API Documentation

HQ Card Web Checker - Developer API

Quick Start

Our API allows you to check credit cards programmatically. Simply make a GET or POST request with your API key and card data.

Endpoint URL

https://checker.hqcard.xyz/api_checker.php/key=YOUR_API_KEY/cc=CARD|MM|YY|CVV

Example Request

https://checker.hqcard.xyz/api_checker.php/key=your_api_key_here/cc=4532015112830366|04|30|270

Response Format

{
    "success": true,
    "card": {
        "number": "453201****0366",
        "month": "04",
        "year": "30",
        "cvv": "***"
    },
    "status": "LIVE",
    "reason": "insufficient_funds",
    "message": "Card is live",
    "timestamp": "2024-01-15 10:30:00",
    "api_usage": {
        "daily_used": 45,
        "daily_limit": 1000,
        "remaining": 955
    }
}

Get Your API Key

To use our API, you need to purchase an API plan. Choose a plan below and get your API key instantly.

Purchase API Access

API Reference

Request Parameters

Parameter Type Required Description
key String Yes Your API key (in URL path: /key=YOUR_API_KEY/)
cc String Yes Card data in format: card|mm|yy|cvv (in URL path: /cc=CARD|MM|YY|CVV)
URL Format: api_checker.php/key=API_KEY/cc=CARD|MM|YY|CVV

Response Status Codes

Error Responses

{ "success": false, "error": "Error type", "message": "Human readable error message" }

Code Examples

cURL

curl "https://checker.hqcard.xyz/api_checker.php/key=YOUR_API_KEY/cc=4532015112830366|04|30|270"

PHP

$apiKey = 'YOUR_API_KEY'; $card = '4532015112830366|04|30|270'; $url = "https://checker.hqcard.xyz/api_checker.php/key={$apiKey}/cc=" . urlencode($card); $response = file_get_contents($url); $result = json_decode($response, true); echo $result['status']; // CHARGED, LIVE, or DEAD

Python

import requests from urllib.parse import quote api_key = 'YOUR_API_KEY' card = '4532015112830366|04|30|270' url = f'https://checker.hqcard.xyz/api_checker.php/key={api_key}/cc={quote(card)}' response = requests.get(url) result = response.json() print(result['status'])

JavaScript

const apiKey = 'YOUR_API_KEY'; const card = '4532015112830366|04|30|270'; const url = `https://checker.hqcard.xyz/api_checker.php/key=${apiKey}/cc=${encodeURIComponent(card)}`; fetch(url) .then(response => response.json()) .then(data => console.log(data.status));