API Full Documentation

Premium API Access

Automate your validation and generation process using our API tool. Access to generate dummy credit card numbers with random names, addresses, and CVV to populate your system easily.

Free tier includes 50 API queries per day. You will receive error messages if you exceed your limit. To get more queries, you can upgrade your plan.

Getting Started:

  1. Register for an account at Register Page
  2. Wait for admin approval to receive your API token
  3. Login to your dashboard to view your token
  4. Use the token in all API requests

Available APIs

We provide 4 powerful APIs: Credit Card Generator, Credit Card Validator, BIN Checker, and IBAN Validator.

Authentication

All API requests require authentication via your unique API token. Include it as a query parameter:

token=YOUR_API_TOKEN

Response Formats

All APIs support three output formats: JSON, XML, and CSV

Specify format using the format parameter (default is JSON)


1. Credit Card Generator API

Generate valid test credit card numbers with random details including names, addresses, CVV, and expiry dates.

Endpoint:

https://ccardgenerator.com/api-endpoints/cc-generator.php

Parameters:

ParameterRequiredDescription
tokenYesYour API token
formatNoResponse format: json, xml, csv (default: json)
countNoNumber of cards to generate: 1-10 (default: 1)

Example Request:

https://ccardgenerator.com/api-endpoints/cc-generator.php?token=YOUR_TOKEN&format=json&count=3

Sample JSON Response:

[ { "CreditCard": { "IssuingNetwork": "Visa", "CardNumber": "4124418702547420", "Name": "Chloe Thomas", "Address": "John Street 35", "Country": "Bangladesh", "CVV": "920", "Exp": "03/2023" } }, { "CreditCard": { "IssuingNetwork": "Visa", "CardNumber": "4005109041677010", "Name": "Holly Gonzalez", "Address": "Summit Avenue 26", "Country": "United Kingdom", "CVV": "178", "Exp": "03/2029" } }, { "CreditCard": { "IssuingNetwork": "Visa", "CardNumber": "4400500601952002", "Name": "Andrew Smith", "Address": "Cottage Street 39", "Country": "Mauritius", "CVV": "778", "Exp": "01/2025" } } ]

2. Credit Card Validator API

Validate credit card numbers using the Luhn algorithm, with optional expiry date and CVV validation.

Endpoint:

https://ccardgenerator.com/api-endpoints/cc-validator.php

Parameters:

ParameterRequiredDescription
tokenYesYour API token
card_numberYesCredit card number to validate
expiryNoExpiry date (MM/YY or MM/YYYY format)
cvvNoCVV/CVC code (3 or 4 digits)
formatNoResponse format: json, xml, csv (default: json)

Example Request:

https://ccardgenerator.com/api-endpoints/cc-validator.php?token=YOUR_TOKEN&card_number=4111111111111111&expiry=12/25&cvv=123

Sample JSON Response:

{ "card_number": "4111111111111111", "is_valid": true, "card_type": "Visa", "length": 16, "luhn_check": true, "length_check": true, "expiry_validation": { "valid": true, "message": "Valid", "month": 12, "year": 2025 }, "cvv_validation": { "valid": true, "message": "Valid", "length": 3 }, "overall_valid": true }

3. BIN Checker API

Lookup Bank Identification Number (BIN) information including card brand, issuer, and country. Database contains 90+ real BIN ranges.

Endpoint:

https://ccardgenerator.com/api-endpoints/bin-checker.php

Parameters:

ParameterRequiredDescription
tokenYesYour API token
binYesBIN number (first 6-8 digits of card)
formatNoResponse format: json, xml, csv (default: json)

Example Request:

https://ccardgenerator.com/api-endpoints/bin-checker.php?token=YOUR_TOKEN&bin=411111

Sample JSON Response:

{ "bin": "411111", "length": 6, "card_brand": "Visa", "card_type": "Credit", "card_category": "Classic", "issuer_name": "Chase Bank", "issuer_country": "United States", "issuer_country_code": "US", "valid": true, "database_match": true }

4. IBAN Validator API

Validate International Bank Account Numbers (IBAN) using the mod-97 algorithm. Supports 70+ countries.

Endpoint:

https://ccardgenerator.com/api-endpoints/iban-validator.php

Parameters:

ParameterRequiredDescription
tokenYesYour API token
ibanYesIBAN to validate
formatNoResponse format: json, xml, csv (default: json)

Example Request:

https://ccardgenerator.com/api-endpoints/iban-validator.php?token=YOUR_TOKEN&iban=GB82WEST12345698765432

Sample JSON Response:

{ "iban": "GB82WEST12345698765432", "is_valid": true, "country_code": "GB", "country_name": "United Kingdom", "check_digits": "82", "length": 22, "account_number": "WEST12345698765432" }

Error Handling

All APIs return appropriate HTTP status codes and error messages:

Status CodeDescription
200Success
400Bad Request - Missing or invalid parameters
401Unauthorized - Invalid or missing API token
429Too Many Requests - Daily limit exceeded
500Internal Server Error

Example Error Response:

{ "error": "Daily API query limit reached. Please upgrade your plan or try again tomorrow." }

Rate Limits

Free Tier: 50 queries per day

The limit resets daily at midnight. Contact us for higher limits or enterprise plans.

Support

For questions or support, visit our Contact Page or email support.

Sample XML Response Format (Generator API):

<?xml version="1.0" encoding="utf-8"?><root> <CreditCard> <IssuingNetwork>Visa</IssuingNetwork> <CardNumber>4827834996217480</CardNumber> <Name>Emma Jackson</Name> <Address>Broad Street 22</Address> <Country>Ireland</Country> <CVV>974</CVV> <Exp>05/2027</Exp> </CreditCard> <CreditCard> <IssuingNetwork>Visa</IssuingNetwork> <CardNumber>4698500245175763</CardNumber> <Name>Martin Mitchell</Name> <Address>Woodland Drive 33</Address> <Country>Sierra Leone</Country> <CVV>828</CVV> <Exp>12/2027</Exp> </CreditCard> <CreditCard> <IssuingNetwork>Visa</IssuingNetwork> <CardNumber>4510309610981250</CardNumber> <Name>Finnegan Martin</Name> <Address>Laurel Drive 118</Address> <Country>Congo</Country> <CVV>252</CVV> <Exp>12/2027</Exp> </CreditCard> </root>

Sample CSV Response Format (Generator API):

IssuingNetwork,CardNumber,Name,Address,Country,CVV,Exp Visa,4919973622858629,Avery Carter,Hanover Court 113,Bermuda,871,03/2024 Visa,4745757767248039,Dallas Hall,River Street 82,Algeria,765,06/2024 Visa,4894531086122319,Riley Miller,Crescent Street 88,Sweden,891,08/2025

Additional Resources

Manual Tools

Prefer using a web interface? Try our manual tools:

Pricing

Need more than 50 queries per day? Check our pricing page for upgraded plans.

Dashboard

View your API usage, token, and manage your account at the User Dashboard.