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:
1
{
2
"status"
:
200
,
3
"domain"
:
"example.com"
,
4
"mx"
:
false
,
5
"disposable"
:
false
,
6
"did_you_mean"
:
null
7
}
Copied!
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
1
curl
https://api.mailcheck.ai/domain/example.com
Copied!
1
$domain
=
"example.com"
;
2
3
$ch
=
curl_init
();
4
curl_setopt
(
$ch
,
CURLOPT_URL
,
'https://api.mailcheck.ai/domain/'
.
$domain
);
5
curl_setopt
(
$ch
,
CURLOPT_RETURNTRANSFER
,
1
);
6
$response
=
curl_exec
(
$ch
);
7
curl_close
(
$ch
);
8
9
var_dump
(
$response
);
Copied!
1
$domain
=
"example.com"
;
2
3
$client
=
new
GuzzleHttp
\
Client
;
4
5
$guzzle
=
$client
->
get
(
"https://api.mailcheck.ai/domain/"
.
$domain
);
Copied!
1
const
domain
=
'example.com'
;
2
var
xmlHttp
=
new
XMLHttpRequest
();
3
xmlHttp
.
open
(
"GET"
,
"https://api.mailcheck.ai/domain/"
+
domain
,
false
);
4
xmlHttp
.
send
();
5
console
.
log
(
xmlHttp
.
responseText
);
Copied!
Next - Reference
API Reference
Last modified
3mo ago
Copy link
Contents
Make your first request
get
Check a domain