Phone numbers, credit cards, IBANs, VAT numbers, postal codes. One API call, 40+ countries, instant results.
Validate and format phone numbers for 30+ countries. Detect mobile vs landline, toll-free, and premium.
Luhn checksum validation, brand detection (Visa, MC, Amex, Discover, JCB, UnionPay, and more).
ISO 13616 validation with MOD-97 checksum for 45+ countries. Extract bank code and BBAN.
Validate EU VAT numbers, US EINs, UK VAT, Swiss CHE, Indian GSTIN, and more formats.
Format validation for 40+ countries. US ZIP → state lookup, UK postcode → area, CA → province.
Don't know the type? Send any value and we'll detect and validate it automatically.
Validate any data type. Type and country are optional (auto-detected when possible).
curl "https://datacheck.dev/api/validate?input=%2B14155551234&type=phone"
Same validation via POST body.
curl -X POST "https://datacheck.dev/api/validate" \
-H "Content-Type: application/json" \
-d '{"input": "DE89370400440532013000", "type": "iban"}'
{
"input": "+1 (415) 555-1234",
"type": "phone",
"valid": true,
"formatted": "+1 4155551234",
"country": "US",
"details": {
"country_code": "1",
"national_number": "4155551234",
"type": "mobile",
"carrier_prefix": "415"
},
"reason": null,
"meta": {
"duration_ms": 1,
"api_version": "1.0"
}
}
| input | Required. The value to validate. |
| type | Optional. phone, credit_card, iban, vat, postal, auto (default). |
| country | Optional. ISO 3166-1 alpha-2 code. Required for postal codes. |
3,000 free requests per month. No credit card required.