validate email
curl --request POST \
--url https://api.datalayer.so/v1/email/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"max_credits": 1,
"dry_run": true
}
'import requests
url = "https://api.datalayer.so/v1/email/validate"
payload = {
"email": "jsmith@example.com",
"max_credits": 1,
"dry_run": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({email: 'jsmith@example.com', max_credits: 1, dry_run: true})
};
fetch('https://api.datalayer.so/v1/email/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"status": "not_requested",
"email": "jsmith@example.com",
"person_id": "<string>",
"employer_domain": "<string>",
"employer_domain_match": true,
"checked_at": "2023-11-07T05:31:56Z",
"is_catch_all": true,
"verification_status": "not_checked",
"provider_assessment": "valid",
"discovery_assessment": "valid",
"provider_checked_at": "2023-11-07T05:31:56Z",
"evidence": {
"source": "<string>",
"source_url": "<string>",
"source_updated_at": "<string>",
"retrieved_at": "2023-11-07T05:31:56Z",
"coverage_note": "<string>"
},
"note": "<string>",
"email_assessment": "valid",
"assessment_checked_at": "2023-11-07T05:31:56Z"
},
"meta": {
"retrieved_at": "2023-11-07T05:31:56Z",
"billing_status": "credits_settled",
"profiles_used": 0,
"request_id": "<string>",
"contract_version": "2026-10-19",
"credit_version": "datalayer_credits_v1",
"upstream_requests": 4,
"lookup_requests": 4,
"credits_used": 1,
"receipt": {
"version": "datalayer_credits_v1",
"request_id": "<string>",
"reserved": 50,
"settled": 50,
"released": 50,
"items": [
{
"kind": "company",
"reference": "<string>",
"credits": 0,
"repeat": true
}
]
},
"replayed": true
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Business email
Validate an email
Only explicitly requested contact research runs discovery/verification. Check evidence, source dates and email outcomes; unknown source dates stay null. All operations accept dry_run and max_credits.
validate email
curl --request POST \
--url https://api.datalayer.so/v1/email/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"max_credits": 1,
"dry_run": true
}
'import requests
url = "https://api.datalayer.so/v1/email/validate"
payload = {
"email": "jsmith@example.com",
"max_credits": 1,
"dry_run": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({email: 'jsmith@example.com', max_credits: 1, dry_run: true})
};
fetch('https://api.datalayer.so/v1/email/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"status": "not_requested",
"email": "jsmith@example.com",
"person_id": "<string>",
"employer_domain": "<string>",
"employer_domain_match": true,
"checked_at": "2023-11-07T05:31:56Z",
"is_catch_all": true,
"verification_status": "not_checked",
"provider_assessment": "valid",
"discovery_assessment": "valid",
"provider_checked_at": "2023-11-07T05:31:56Z",
"evidence": {
"source": "<string>",
"source_url": "<string>",
"source_updated_at": "<string>",
"retrieved_at": "2023-11-07T05:31:56Z",
"coverage_note": "<string>"
},
"note": "<string>",
"email_assessment": "valid",
"assessment_checked_at": "2023-11-07T05:31:56Z"
},
"meta": {
"retrieved_at": "2023-11-07T05:31:56Z",
"billing_status": "credits_settled",
"profiles_used": 0,
"request_id": "<string>",
"contract_version": "2026-10-19",
"credit_version": "datalayer_credits_v1",
"upstream_requests": 4,
"lookup_requests": 4,
"credits_used": 1,
"receipt": {
"version": "datalayer_credits_v1",
"request_id": "<string>",
"reserved": 50,
"settled": 50,
"released": 50,
"items": [
{
"kind": "company",
"reference": "<string>",
"credits": 0,
"repeat": true
}
]
},
"replayed": true
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}The assistant tool is
validate_email. Provide one explicit email address. Validation does not discover contacts.
Conclusive valid or invalid costs one credit; catch_all, unknown and
unavailable cost zero. Inspect checked_at and is_catch_all. A missing or stale
check is inconclusive, and verification does not guarantee ownership or delivery.
Eligible repeats within 24 hours of the supporting paid check cost zero. A
validation called separately from discovery is its own requested operation;
verification inside discovery never incurs a second charge. dry_run and
max_credits are supported. See usage and retries.Authorizations
Headers
Recommended for every paid operation. Account-scoped and bound to normalized operation/input. Retry exactly the same key after transport loss: a committed credit result is replayed from persisted normalized bytes without a data lookup or another debit. Changed input, key expiry or paid-anchor expiry returns 409. In-flight requests return request_in_progress. Network delivery and D1 commit are not atomic. If omitted a request ID is created.
Required string length:
1 - 128Pattern:
^[A-Za-z0-9_-]{1,128}$Body
application/json