Sending an API Request

Getting started with your first API request to Email Warrant

We have worked to make the Email Warrant API as simple and straightforward as possible. You could be sending your first API request in a matter of minutes.

Verify a Domain

GET https://api.emailwarrant.com/v1/verify.php?/domain=<domain>&userID=<userID>&apiKey=<apiKey>

Query Parameters

Name
Type
Description

domain

string

The is the domain you want us to verify.

userID

string

This is your unique id and can be found on your account page.

apiKey

string

An API Key is kind of like a password, and so you should keep this private. Your API key can be found on your account page.

// If the domain is verified you will be sent the following back:
{
   "status":"success",
   "result":{
      "domain":"verified",
      "type":"student",
      "usage":{
         "remainingCalls":45,
         "usedCalls":5,
         "totalCalls":50,
         "renewalDate":"May 22 2029"
      }
   }
}

// If the domain is NOT verified you will be sent the following back:
{
   "status":"success",
   "result":{
      "domain":"rejected",
      "type":"unknown",
      "usage":{
         "remainingCalls":45,
         "usedCalls":5,
         "totalCalls":50,
         "renewalDate":"May 22 2029"
      }
   }
}

Don't have an API Key? Get one here.

Last updated

Was this helpful?