Lookup api
Check an email address
Validate an email address and retrieve information about the email provider. Paid
curl -X POST "https://api.ambriel.io/v1/email" \
-H "x-api-key: string" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]"
}'
const body = JSON.stringify({
"email": "[email protected]"
})
fetch("https://api.ambriel.io/v1/email", {
headers: {
"x-api-key": "string"
},
body
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://api.ambriel.io/v1/email"
body := strings.NewReader(`{
"email": "[email protected]"
}`)
req, _ := http.NewRequest("POST", url, body)
req.Header.Add("x-api-key", "string")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.ambriel.io/v1/email"
body = {
"email": "[email protected]"
}
response = requests.request("POST", url, json = body, headers = {
"x-api-key": "string",
"Content-Type": "application/json"
})
print(response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.http.HttpResponse.BodyHandlers;
import java.time.Duration;
import java.net.http.HttpRequest.BodyPublishers;
var body = BodyPublishers.ofString("""{
"email": "[email protected]"
}""");
HttpClient client = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(10))
.build();
HttpRequest.Builder requestBuilder = HttpRequest.newBuilder()
.uri(URI.create("https://api.ambriel.io/v1/email"))
.header("x-api-key", "string")
.header("Content-Type", "application/json")
.POST(body)
.build();
try {
HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString());
System.out.println("Status code: " + response.statusCode());
System.out.println("Response body: " + response.body());
} catch (Exception e) {
e.printStackTrace();
}
using System;
using System.Net.Http;
using System.Text;
var body = new StringContent("""
{
"email": "[email protected]"
}
""", Encoding.UTF8, "application/json");
var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "string");
var response = await client.PostAsync("https://api.ambriel.io/v1/email", body);
var responseBody = await response.Content.ReadAsStringAsync();
{
"breaches": {
"list": [
{
"name": "ReadNovel"
},
{
"name": "Neopets"
},
{
"name": "ShareThis"
},
{
"name": "Imesh"
},
{
"name": "Youku"
},
{
"name": "Adobe"
},
{
"name": "LinkedIn"
},
{
"name": "Twitter-Scraped"
}
],
"numberOfBreaches": 8
},
"domain": {
"created": "1991-05-02T04:00:00Z",
"free": false,
"custom": true,
"forwarding": false,
"disposable": false,
"dmarcEnforced": true,
"domain": "MICROSOFT.COM",
"registered": true,
"updated": "2025-04-01T12:38:29Z",
"expires": "2026-05-03T04:00:00Z",
"registeredTo": "",
"registrarName": "MarkMonitor Inc.",
"spfStrict": true,
"suspiciousTld": false,
"tld": "com",
"validMx": true,
"websiteExists": false,
"isProhibited": true
},
"email": "[email protected]",
"spamCheck": {},
"stringAnalysis": {
"string": "[email protected]",
"countOfAlphanumericCharacters": 15,
"countOfNonAlphanumericCharacters": 2,
"countOfVowels": 5,
"countOfConsonants": 10,
"countOfPlusCharacters": 0,
"countOfDotCharacters": 1,
"countOfNumbers": 0,
"countOfNumbersInARow": 0,
"countOfCapitalLetters": 0,
"length": 17,
"vowelRatio": 0.29,
"consonantRatio": 0.59,
"nonAlphanumericRatio": 0.12
}
}
Empty
Empty
{
"errors": [
{
"message": "The field must be a valid value",
"rule": "ruleName",
"field": "phone"
}
]
}
Empty