Loading...
Integrate our powerful email verification directly into your applications. Generate your API key and start verifying emails programmatically with our RESTful API.
✓ Free API key included
✓ 100 free API calls
✓ RESTful API with JSON responses
Just one more step to integrate reliable email verification: generate your API key, implement our endpoints, and start verifying emails directly in your applications.
Follow these simple steps to integrate our API into your application
Create your account and generate a unique API key from your dashboard. Keep it secure as it provides access to your account.
Add your API key to request headers. Use Bearer token authentication for secure API access.
Send POST requests to our verification endpoint with the email address you want to verify.
Receive detailed verification results in JSON format including validity status and confidence score.
Your API Key
sk_live_4f8b2a1c3d5e6f7g8h9i0j1k2l3m4n5o
Screenshot of our API dashboard showing key generation, usage tracking, and recent activity monitoring.
Get started quickly with these code examples in popular programming languages
const axios = require('axios');
const verifyEmail = async (email) => {
try {
const response = await axios.post(
'https://api.trueemailer.com/v1/verify',
{ email: email },
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
}
);
console.log(response.data);
return response.data;
} catch (error) {
console.error('Error:', error.response.data);
}
};
// Usage
verifyEmail('user@example.com');import requests
import json
def verify_email(email):
url = "https://api.trueemailer.com/v1/verify"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}
data = {
"email": email
}
try:
response = requests.post(url, headers=headers,
data=json.dumps(data))
response.raise_for_status()
return response.json()
except requests.exceptions.RequestException as e:
print(f"Error: {e}")
return None
# Usage
result = verify_email("user@example.com")
print(result)<?php
function verifyEmail($email) {
$url = 'https://api.trueemailer.com/v1/verify';
$headers = [
'Authorization: Bearer YOUR_API_KEY',
'Content-Type: application/json'
];
$data = json_encode(['email' => $email]);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
return json_decode($response, true);
}
// Usage
$result = verifyEmail('user@example.com');
print_r($result);
?>curl -X POST https://api.trueemailer.com/v1/verify \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com"
}'
# Response:
{
"email": "user@example.com",
"status": "valid",
"confidence": 98,
"domain": "example.com",
"disposable": false,
"role_account": false,
"mx_record": true,
"smtp_valid": true
}Get instant email verification results with sub-second response times.
Simple REST API with JSON responses that integrates with any technology stack.
API keys with Bearer token authentication and rate limiting for security.