Code samples for the major languages | Email Verification API | WhoisXML API

Code samples for the major languages

Javascript Java C# NodeJS Perl PHP PowerShell Python Ruby
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
    var email = "support@whoisxmlapi.com";
    var api_key = "your_api_key";
    $(function () {
       $.ajax({
           url: "https://emailverification.whoisxmlapi.com/api/v3",
           dataType: "json",
           data: {apiKey: api_key, emailAddress: email},
           success: function(data) {
               $("body").append("<pre>"+ JSON.stringify(data,"",2)+"</pre>");
           }
       });
    });
</script>