You can use the API to verify emails via our site if you are a registered user. It is very simple to use it. Here is an example of the API request:

http://api.verify-email.org/api.php?usr=your_username&pwd=your_password&check=email@tocheck.com

PHP request:

$username	= 'your_username';
$password	= 'your_password';
$email		= 'email to be cheked';
$api_url	= 'http://api.verify-email.org/api.php?';
			
$url		= $api_url . 'usr=' . $username . '&pwd=' . $password . '&check=' . $email;

$object = json_decode(remote_get_contents($url)); // the response is received in JSON format; here we use the function remote_get_contents($url) to detect in witch way to get the remote content
echo 'The email address ' . $email . ' is ' . ($object->verify_status?'GOOD':'BAD or cannot be verified') . ' ';
echo 'authentication_status - ' . $object->authentication_status . ' (your authentication status: 1 - success; 0 - invalid user)';
echo 'limit_status - ' . $object->limit_status . ' (1 - verification is not allowed, see limit_desc; 0 - not limited)';
echo 'limit_desc - ' . $object->limit_desc . ' ';
echo 'verify_status - ' . $object->verify_status . ' (entered email is: 1 - OK; 0 - BAD)';
echo 'verify_status_desc - ' . $object->verify_status_desc . ' ';

the function remote_get_contents($url)

// Get remote file contents, preferring faster cURL if available
function remote_get_contents($url)
{
if (function_exists('curl_get_contents') AND function_exists('curl_init'))
{
return curl_get_contents($url);
}
else
{
// A litte slower, but (usually) gets the job done
return file_get_contents($url);
}
}

function curl_get_contents($url)
{
// Initiate the curl session
$ch = curl_init();

// Set the URL
curl_setopt($ch, CURLOPT_URL, $url);

// Removes the headers from the output
curl_setopt($ch, CURLOPT_HEADER, 0);

// Return the output instead of displaying it directly
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

// Execute the curl session
$output = curl_exec($ch);

// Close the curl session
curl_close($ch);

// Return the output as a variable
return $output;
}

Download an example (api_json.zip)

For easy parsing of JSON string use JSON.NET found here http://json.codeplex.com/ (Newtonsoft.Json.Linq)

Includes:

using System.Net;
using Newtonsoft.Json.Linq;
		

Page Load:

string apiUrl = "http://api.verify-email.org/api.php?";
string apiUsername = "username";
string apiPassword = "password";
string email = "EmailToVerify@domain.com";
		
WebClient webClient = new WebClient();
string result = webClient.DownloadString(string.Format("{0}usr={1}&pwd={2}&check={3}", apiUrl, apiUsername, apiPassword, email));
		
JObject objJSON = default(JObject);
objJSON = JObject.Parse(result);
		
if (objJSON["verify_status"] != null)
	    Response.Write(string.Format("The email address {0} is {1}", email, Convert.ToBoolean(Convert.ToInt32(objJSON["verify_status"].ToString())) ? "GOOD" : "BAD or cannot be verified"));
		
if (objJSON["authentication_status"] != null)
	    Response.Write(string.Format("authentication_status: {0} (your authentication status: 1 = success; 0 = invalid user)", objJSON["authentication_status"].ToString()));
		
if (objJSON["limit_status"] != null)
	    Response.Write(string.Format("limit_status: {0}", objJSON["limit_status"].ToString()));
		
if (objJSON["limit_desc"] != null)
	    Response.Write(string.Format("limit_desc: {0}", objJSON["limit_desc"].ToString()));
		
if (objJSON["verify_status"] != null)
	    Response.Write(string.Format("verify_status: {0} (entered email is: 1 = OK; 0 = BAD)", objJSON["verify_status"].ToString()));
		
if (objJSON["verify_status_desc"] != null)
	    Response.Write(string.Format("verify_status_desc: {0}", objJSON["verify_status_desc"].ToString()));