Comment on page
Quick Start
To make your first request, send a Get request to the domain endpoint.
get
https://api.mailcheck.ai
/domain/example.com
Check a domain
A request on the domain endpoint will return the following results:
{
"status": 200,
"domain": "example.com",
"mx": false,
"disposable": false,
"public_domain": false,
"did_you_mean": null
}
Take a look at how you might call our API using different languages:
cURL
PHP (cURL)
PHP (Guzzle)
JavaScript
curl https://api.mailcheck.ai/domain/example.com
$domain = "example.com";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.mailcheck.ai/domain/' . $domain);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
curl_close($ch);
var_dump($response);
$domain = "example.com";
$client = new GuzzleHttp\Client;
$guzzle = $client->get("https://api.mailcheck.ai/domain/" . $domain);
const domain = 'example.com';
var xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", "https://api.mailcheck.ai/domain/" + domain, false );
xmlHttp.send();
console.log(xmlHttp.responseText);
Last modified 1mo ago