MailCheck.ai
Home
Pricing
Search…
Quick Start
Reference
API Reference
Authentication
Domain endpoint
Email endpoint
Rate limit
Powered By
GitBook
Quick Start
Make your first request
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
,
"did_you_mean"
:
null
}
Explore the
domain endpoint
in details or try our
email endpoint
.
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
);
Next - Reference
API Reference
Last modified
5mo ago
Copy link
Outline
Make your first request
get
Check a domain