Email Validator
Data Validation Credits / request: 1Validates email syntax and flags known disposable (10-minute) domains. No SMTP.
GET
https://api.apikodu.com/api/v1/emailvalidator
Documentation
Overview
Syntax plus known disposable domains (DB/Redis). No SMTP. Invalid addresses return HTTP 200 with isValid=false.
Authentication
Every request requires the x-api-key header. Credits used and remaining quota are returned in response headers (x-api-credits-used, x-api-remaining-credits, x-rate-limit-*).
Request
GET
https://api.apikodu.com/api/v1/[email protected]
Query string.
Parameters
| Name | Type | Required | Default | Options | Description |
|---|---|---|---|---|---|
email |
string | * Required | — | — | Email address. |
Response
| Name | Type | Description |
|---|---|---|
isValid |
boolean | true when syntax is valid. |
normalized |
string | Lowercased normalized address. |
localPart |
string | Local part before @. |
domain |
string | Punycode domain. |
isDisposable |
boolean | true for a known disposable provider. The list is not exhaustive. |
disposableMatchedDomain |
string | Matched list domain. Null otherwise. |
Errors
| HTTP | code | Description |
|---|---|---|
400 |
-283 |
email is empty. |
401 |
-100 |
x-api-key is missing, empty, malformed, inactive, banned, expired, IP-restricted, or not allowed for this API. |
429 |
-221 |
Per-minute request limit exceeded. Response headers: x-rate-limit-limit, x-rate-limit-remaining, x-rate-limit-reset. |
429 |
— | Package credit quota cannot cover this request. Body may be { error, limit, currentUsage, requestCost } (no code field). |
500 |
-1 |
Unexpected server error. message is a generic error text without technical details. |
Notes
- Success body is { data: { ... } }. Error body is { code, message }. code is an ApiResponseCode enum value (negative integer).
- isDisposable uses eposta_gecici_alan + Redis. New 10-minute domains missing from the list can slip through.
Sample response
{
"data": {
"isValid": true,
"normalized": "[email protected]",
"localPart": "user",
"domain": "example.com",
"isDisposable": false,
"disposableMatchedDomain": null
}
}
Code samples
const response = await fetch('https://api.apikodu.com/api/v1/emailvalidator', {
method: 'GET',
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
import requests
headers = {
'x-api-key': 'YOUR_API_KEY'
}
response = requests.get('https://api.apikodu.com/api/v1/emailvalidator', headers=headers)
print(response.json())
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var response = await client.GetStringAsync("https://api.apikodu.com/api/v1/emailvalidator");
Console.WriteLine(response);
$response = file_get_contents('https://api.apikodu.com/api/v1/emailvalidator', false, stream_context_create([
'http' => [
'header' => "x-api-key: YOUR_API_KEY"
]
]));
print_r(json_decode($response, true));
curl -X GET 'https://api.apikodu.com/api/v1/emailvalidator' \
-H 'x-api-key: YOUR_API_KEY'
Start building in minutes
Create a free account, get your API key and send your first request in minutes.