MailRefine API Documentation

Frontend Verification (Javascript)

JavaScript Widget

Your MailRefine API Token Is: [YOUR API KEY]

Get your API Link Now.

Note: Form id and Input id cannot be changed.

 
<form id="mailrefine-form">
<input id="mailrefine-email" />

<input type="submit" value="Submit" style="display: block; margin-top: 20px" />
</form>

<script>
var API_TOKEN = '[YOUR API KEY]'
</script>

<script src="https://app.mailrefine.com/js/verification.js"></script>

Backend Verification (PHP)

Php Code for Email Verification

api_token = YOUR_MAILREFINE_TOKEN

Get your API Link Now.

 
<?php

$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://app.mailrefine.com/api/v1/single-email-verify?api_token=YOUR_MAILREFINE_TOKEN&email=YOUR_EMAIL_TO_VERIFY",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => array(
"Accept: application/json",
"Content-Type: application/json"
)
));
$result = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);

$getResponse = json_decode($result);

print_r($getResponse);
Mailrefine discount

Clean Your Email List & Make Email Campaign Secure

Try our email verification tool once. If you are satisfied, use the coupon code (NEWUSER25) and get a 25% discount.