REST API Quickstart & Implementation Guide
The DBI Infomatics Free Email Verifier API exposes a high-performance HTTP REST interface that accepts an email address and returns a comprehensive JSON payload containing syntax, MX records, disposable flags, and live SMTP status in under 1,500ms.
Endpoint URL
Implementation Code Snippets
Python (requests)
import requests
def verify_email(email_address):
url = "https://dbi-infomatics.com/email-verifier/api/verify.php"
params = {"email": email_address}
response = requests.get(url, params=params, headers={"Accept": "application/json"})
data = response.json()
if data.get("status") == "success":
res = data.get("result", {})
print(f"Verdict: {res.get('verdict')}")
print(f"SMTP Check: {res.get('smtp_check')}")
print(f"Is Disposable: {res.get('is_disposable')}")
print(f"Mail Exchangers: {res.get('mx_records')}")
return data
# Example
verify_email("bill.gates@microsoft.com")
Node.js (JavaScript / TypeScript)
async function verifyEmail(email) {
const url = `https://dbi-infomatics.com/email-verifier/api/verify.php?email=${encodeURIComponent(email)}`;
const resp = await fetch(url, { headers: { 'Accept': 'application/json' } });
const data = await resp.json();
console.log('Verification Result:', data.result);
return data;
}
verifyEmail('tim.cook@apple.com');
cURL (Terminal / Bash)
curl -X GET "https://dbi-infomatics.com/email-verifier/api/verify.php?email=sundar.pichai@google.com" -H "Accept: application/json"