osint_credit_card_validator
Validate credit card numbers using Luhn checksum and identify the issuing network from the BIN prefix. Checks brand-specific length and formatting, all processed locally without external lookups.
Instructions
Credit Card Number Validator. Validate a credit-card number with the Luhn checksum and identify its issuing network from the IIN/BIN prefix (Visa, Mastercard, American Express, Discover, JCB, Diners Club, UnionPay), returning brand-specific length checks and a grouped/formatted number. For test and reference data only; it does not verify that a card is real, active, or funded. Use osint_iban_validator for bank account numbers, osint_bic_swift_validator for bank SWIFT codes, or osint_ean_upc_validator for product barcodes. Runs locally on the digits you provide: read-only, non-destructive, contacts no external BIN-lookup service, and is rate-limited (60 requests/minute for anonymous callers). Returns overall validity plus the detected card type, issuer, length, formatted number, and warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_number | Yes | Card number to validate. Spaces, dashes, and other non-digit characters are stripped before checking. Must contain at least one digit; typically 13 to 19 digits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the request was processed (false when the input has no digits). | |
| error | No | Error message when success is false; otherwise absent. | |
| result | No | Validation detail (present when success is true). |