Sign in START FOR FREE

Catch bad emails before
they get to your list

Sometimes visitors unintentionally submit bad emails while signing up or submitting forms.
With Dropmail API, you can spot those bad emails right at the signup box and prevent
any bad email from getting into your database.

GET STARTED FOR FREE

100 free credits daily

API that makes both
developers and businesses
happy.

Easy to integrate

Integrating Dropmail API to your website, application or any marketing platform is simple. Once added, it ensures that every email that goes into your list is a valid one.

Flexible

Our API offers the flexibility that your developers seek. Python, Ruby, Php. C# --- pick any library of your choice, tweak according to your need and you are all set.

Automated

Once you use our API to your website, it would do its job without any supervision. That means you have one less thing to worry about and more productive time.

Real-time email verification API

Our API allows you to check for invalid emails right at the signup field real-time. It detects invalid emails, wrong syntax , fake registrations and immediately prompts the visitor to fix the typo. Want to collect corporate emails only? You can do that too. Make a small change into the API code and you are good to go.

Bulk email verification API

With Dropmail API , you can upload a file to your website or application and get bulk emails verified on the spot. No matter how big your list is, our bulk email verification API would find out all the hard bounces and clean up your email lists.

Good data means a higher conversion rate

The most comprehensive API for bulk and real-time email verification. Integrate your websites, apps with Powerful, Simple, Fast Email Verification Service.

For OneByOne Verification
$email = "[email protected]";
$key = "PUT YOUR API KEY HERE";
$url = "https://app.dropmail.com/api/verifEmail?secret=".$key."&email=".$email;

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true );
$response = curl_exec($ch);
echo $response;
curl_close($ch);

To Upload a Bulk
$key = "PUT YOUR API KEY HERE";
Upload the file
$settings['file_contents'] ="@/home/Downloads/emails.txt"; //path to your file
$url = 'https://apps.dropmail.com/api/verifApiFile?secret='.$key.'&filename=my_emails.txt';

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $settings);
$file_id = curl_exec($ch);
//you need to save this FILE ID for get file status and download reports in future
curl_close($ch);

download ready file
$key = "PUT YOUR API KEY HERE";
$url = 'https://apps.dropmail.com/api/getApiFileInfo?secret='.$key.'&id=10700';
$string = file_get_contents($url);
list($file_id,$filename,$unique,$lines,$lines_processed,$status,$time
{
"Result":"risky",
"Reason":"email_disabled",
"Role":true,
"Free":true,
"Disposable":false,
"Spamtrap":true,
"Did_you_mean":null,
"User":"email",
"Domain":"gmail.com",
"Email":"[email protected]"
}
Installation

gem 'dropmail' And then execute:
$ bundle Or install it yourself as:
$ gem install dropmail

To use the gem, first include dropmail
require 'dropmail' Then create an instance of the
dropmail with api_key as the parameter
api_key = "" client = dropmail.new(api_key)

Now the API calls can be done via the client
For OneByOne Verification
client.one_by_one("")

To Upload a Bulk File
client.upload_file("","") path/to/file is optional if file_name file is present in same directory
To get the status of the last uploaded file
client.bulk_status

To get the status of any file with file_id
client.bulk_status("")

Create a client
client = dropmail.new("") Verify Single Email
client.one_by_one("[email protected]")
Upload a bulk verify file client.upload_file("emails.txt")

Check the status of last uploaded file
client.bulk_status

Check the status of previously uploaded file
client.bulk_status(1233)
{
"Result":"risky",
"Reason":"email_disabled",
"Role":true,
"Free":true,
"Disposable":false,
"Spamtrap":true,
"Did_you_mean":null,
"User":"email",
"Domain":"gmail.com",
"Email":"[email protected]"
}
For OneByOne Verefication:
from dropmail import DropmailOne
E = dropmailOne('PUT_YOUR_KEY', '[email protected]')

result = E.control() print result // answer is string 'ok' or 'fail'

To Upload a Bulk
from dropmail import dropmailBulk
B = dropmailBulk('PUT_YOUR_KEY', 'path/to/file.csv')
B.upload() //upload file in server and get id_file from server
B.get_info() // here will be answer from server

something like that: 135094|6565_clean.csv|no|7|7|finished|1456415517 or |https://apps.dropmail.com/app/webroot/files/41
{
"Result":"risky",
"Reason":"email_disabled",
"Role":true,
"Free":true,
"Disposable":false,
"Spamtrap":true,
"Did_you_mean":null,
"User":"email",
"Domain":"gmail.com",
"Email":"[email protected]"
}
please visit https://github.com/Xavierluijer/dropmail-CSharp
{
"Result":"risky",
"Reason":"email_disabled",
"Role":true,
"Free":true,
"Disposable":false,
"Spamtrap":true,
"Did_you_mean":null,
"User":"email",
"Domain":"gmail.com",
"Email":"[email protected]"
}

All In One
Marketing Platform

START FOR FREE