Data Validator
The Data Validator API is a high-performance, edge-native microservice built to handle your most critical data validation needs. Powered by Rust and WebAssembly, it provides lightning-fast, stateless checks for common data types without the overhead of heavy backend libraries. Ensure your database only receives clean inputs, stop bad data at the source, and simplify your frontend form logic. ##…
Data Validator endpoints
| Method | Endpoint | Description |
|---|---|---|
| v1 | ||
| POST |
validateEmail /v1/validate/email |
Validate email format and optionally check whether the domain belongs to a disposable email provider (mailinator.com, guerrillamail.com, etc.). `valid` is `false` if the format… |
| POST |
validateCard /v1/validate/card |
Validate a credit card number using the Luhn algorithm and detect the card brand by prefix. Accepts digits with or without spaces. No network calls are made — purely algorithmic. |
| POST |
validateUrl /v1/validate/url |
Validate and parse a URL. Only http and https schemes are accepted — FTP, data URIs, and other schemes return valid false. Returns the extracted scheme, host, and normalized URL. |
| POST |
validateIban /v1/validate/iban |
Validate an International Bank Account Number (IBAN) using the ISO 13616 mod-97 checksum algorithm. Spaces are stripped automatically. Returns the country code and the normalized… |
| POST |
validatePhone /v1/validate/phone |
Parse, validate, and normalize a phone number to E.164 format (e.g. +15551234567). Accepts numbers with spaces, dashes, or parentheses. Pass a country hint (ISO 3166-1 alpha-2)… |
| GET |
health /v1/health |
Returns 200 if the Worker is running. No authentication required. |
Data Validator pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 5 / second |
|
| PRO | $10 / month | 50 / second |
|
| ULTRA | $30 / month | 200 / second |
|
| MEGA | $80 / month | 500 / second |
|