Free API

Email Validation API

Validate email addresses programmatically with our free REST API. No API key required.

Quick Start

The Email Validation API allows you to validate email addresses programmatically. It checks email format, domain validity, and MX records to determine if an email address is likely deliverable. Completely free — no API key required, no usage limits.


Endpoint

api.php
GET https://softwaresphere.ca/tools/EmailValidationTool/api.php?email={email}

Parameters

email
string Required

The email address to validate (e.g., test@example.com).

Response

The API returns a JSON object with the following fields:

  • valid - Boolean indicating if the email is valid
  • email - The email address that was validated
  • format_valid - Boolean indicating if the format is correct
  • domain - The domain portion of the email
  • mx_found - Boolean indicating if MX records were found
  • mx_records - Array of MX records for the domain
  • reason - Human-readable validation result

Usage Examples

cURL Request
bash
curl "https://softwaresphere.ca/tools/EmailValidationTool/api.php?email=test@gmail.com"
Valid Email Response
json
{
  "valid": true,
  "email": "test@gmail.com",
  "format_valid": true,
  "domain": "gmail.com",
  "mx_found": true,
  "mx_records": ["gmail-smtp-in.l.google.com", ...],
  "reason": "Email appears valid"
}
Invalid Email Response
json
{
  "valid": false,
  "email": "invalid-email",
  "reason": "Invalid email format",
  "format_valid": false,
  "mx_found": false
}