GET /v1/email-validateValidate email address syntax
Validation Utils lf-validation-utils
Checks whether an email address is written in a valid form and breaks it into its parts. Validates an email address format using RFC-compatible regex. Returns detailed breakdown of local part, domain, and structure.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email to validate |
Response Schema
success (boolean): Operation success
email (string): Original email
valid (boolean): Whether valid
local_part (string): Before @
domain (string): After @
local_length (integer): Local part length
domain_length (integer): Domain length
cURL Example
curl 'https://lf-validation-utils.laminarforge.dev/v1/email-validate?email=user@example.com' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-validation-utils.laminarforge.dev/v1/email-validate'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'email': 'user@example.com'}
response = requests.get(url, headers=headers, params=params)
print(response.json())