Generate Luhn-valid test credit card numbers programmatically. Drop it into your CI/CD pipeline, QA suite, or payment form testing framework in minutes.
curl -X GET "https://api.creditcardsnumbersgenerator.com/v1/generate" \ -H "Authorization: Bearer YOUR_API_KEY" \ -G \ --data-urlencode "network=visa" \ --data-urlencode "count=5" \ --data-urlencode "include_cvv=true" \ --data-urlencode "include_expiry=true" // Response { "cards": [ { "number": "4539 1488 0343 6467", "expiry": "09/28", "cvv": "427", "network": "visa" }, { "number": "4916 3384 0409 3680", "expiry": "03/27", "cvv": "912", "network": "visa" } ], "count": 5, "usage": { "requests_used": 1, "requests_remaining": 49999 } }
Stack additional data onto every generated card. Mix and match packs to build the exact test payload your application needs. Available on Starter plans and above.
Returns a full billing address — street, city, state, ZIP, and country — matching the card's issuing region. Essential for testing address verification systems (AVS) and billing form validation.
Enriches each card with realistic Bank Identification Number (BIN) metadata — issuing bank name, card category, country of issuance, and card sub-type. Ideal for testing BIN-aware routing logic.
Generates a fictitious cardholder identity to pair with each card — full name, email address, and phone number. Perfect for populating complete checkout form test cases in a single API call.
Returns cards pre-flagged with specific 3D Secure 2.0 test scenarios — frictionless pass, challenge required, and decline. Lets you test your 3DS flow end-to-end without a live gateway sandbox.
Unlocks large single-call batch generation of up to 1,000 cards per request, plus the ability to export results as CSV or JSONL. Ideal for seeding test databases and staging environments at scale.
Adds a full request log dashboard and usage analytics to your API account — per-endpoint breakdowns, hourly request graphs, error rates, and exportable CSV logs. Useful for audit trails in larger teams.
Clean, predictable REST endpoints. All responses return JSON. Authentication via Bearer token in the Authorization header.
Generate one or more Luhn-valid card numbers. Accepts network, count, include_cvv, include_expiry, and formatted query params.
Generate up to 100 cards per call (Starter+) or up to 1,000 cards (Bulk Export Pack). Supports all add-on pack parameters. Returns array of card objects.
Validate any card number against the Luhn algorithm. Returns valid, network, and length. Useful for testing your own validation logic.
List all supported card networks, their BIN prefix ranges, and card length specifications. Useful for building dynamic network selectors in your UI.
Returns your current API key's usage stats — requests used, remaining, rate limit, and billing period reset date. Supports integration into internal dashboards.
Public health check endpoint. Returns API status, latency, and current version. No API key required. Use in uptime monitoring and status pages.
| Feature | Free | Starter | Pro ★ | Business | Enterprise |
|---|---|---|---|---|---|
| Monthly requests | 1,000 | 50,000 | 500,000 | 2,000,000 | Unlimited |
| Rate limit | 10/min | 60/min | 300/min | 1,000/min | Custom |
| Card networks | All 4 | All 4 | All 4 | All 4 | All 4 + Custom |
| CVV & expiry | ✓ | ✓ | ✓ | ✓ | ✓ |
| Bulk endpoint | ✗ | 100/call | 100/call | 100/call | Custom |
| BIN prefix selection | ✗ | ✗ | ✓ | ✓ | ✓ |
| Luhn validate endpoint | ✓ | ✓ | ✓ | ✓ | ✓ |
| Add-on packs eligible | ✗ | ✓ | ✓ | ✓ | All included |
| Priority support | ✗ | ✗ | ✗ | ✓ | Dedicated |
| Uptime SLA | ✗ | ✗ | ✗ | 99.9% | Custom |
| Annual billing discount | N/A | 2 months free | 2 months free | 2 months free | Custom |
| Custom subdomain | ✗ | ✗ | ✗ | ✗ | ✓ |
Yes. All paid plans (Starter, Pro, Business) include a 7-day free trial. No credit card is required to start. If you don't upgrade before the trial ends, your account automatically reverts to the Free tier. You keep your API key and any configuration.
Annual billing charges you for 10 months upfront at the monthly rate — you get 2 months completely free, saving approximately 17%. For example, the Pro plan is normally $29/month ($348/year). On annual billing, you pay $290/year — a saving of $58. You can switch from monthly to annual at any time from your billing dashboard.
Once you hit your monthly limit, the API will return a 429 response with a clear error message indicating your quota has been reached and your reset date. Your service does not continue on overages (no surprise bills). You'll receive an email warning at 80% usage so you can upgrade proactively if needed.
Yes. Add-on packs are independent and fully combinable. For example, on a Pro plan you could add the Address Pack, Identity Pack, and BIN Intelligence Pack simultaneously. Each pack's price is added to your monthly base plan cost. When a response includes multiple packs, the data is returned as nested objects within each card's JSON response.
The numbers are fictitious — they pass Luhn validation but do not correspond to real accounts. Because no real cardholder data is involved at any point, using this API in your test/staging environment does not bring that environment into PCI DSS scope. Always ensure generated numbers are never used in production payment flows.
All requests are authenticated with a Bearer token passed in the Authorization HTTP header. API keys are generated from your account dashboard and can be rotated at any time. Keys are scoped to your plan and carry your rate limit and quota. Enterprise plans support multiple keys with custom scopes.
Yes. Monthly plans can be cancelled or downgraded at any time with no penalty — your access continues until the end of the current billing period. Annual plans can be cancelled with a prorated refund for unused months. Downgrades take effect at the start of your next billing cycle.
Get your free API key in 30 seconds. No credit card required. 1,000 requests/month, forever free.