Getting Started

Welcome to the Detemp API. Requests can be made to the domain api.detemp.com. All endpoints are POST requests and return JSON. Use these to validate email addresses, IP addresses, or phone numbers.

Authentication

A valid API key is required in all requests. This passed as a parameter in the JSON, like so:

{
 "key": "(Your key here)"
 ...
}

Checking Your Balance

Each successful request requires that you have a sufficient amount of tokens. To check how many tokens are associated with your key, you can pass the following JSON to the endpoint "/balance"

{
 "key": "(Your key here)"
}

Example response:

{
 "balance": 1000
}

Check Functions

Checking an Email

To check an email, a post request is sent to the endpoint "/check/email", with the email provided in the JSON.

{
 "key": "(Your key here)",
 "email": "[email protected]"
}

Example response:

{
 "email": "[email protected]",
 "isSendable": false,
 "isTemporary": false
}

Checking an IP

To check an IP, a post request is sent to the endpoint "/check/IP", with the IP provided in the JSON.

{
 "key": "(Your key here)",
 "IP": "1.1.1.1"
}

Example Response:

{
 "IP": "1.1.1.1",
 "isMalicious": false
}