Domain Intelligence API
Real-time domain risk & deliverability data for KYC, Email Analytics, and Bulk Cleaning.
Overview
Query a continuously refreshed dataset of 280M+ domains with DNS, risk, and deliverability signals. This API is designed for KYC, security operations, and data engineering workflows.
Authentication
All requests require a valid API key passed via the X-API-Key header.
X-API-Key: YOUR_API_KEYEndpoint
Retrieve domain intelligence as JSON.
GET
/domain-intel/{domain}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| domain | string | Yes | Domain to query, e.g. example.com |
| exclude | string | No | Comma-separated fields to exclude |
Example Request
curl -H "X-API-Key: YOUR_API_KEY" https://api.datazag.com/domain-intel/example.comResponses
Successful requests return a 200 OK with a JSON body.
{
"domain": "example.com",
"status": "active",
"risk_score": 20,
"flags": {
"is_phishing": false,
"is_mailable": true,
"is_disposable": false,
"has_dmarc": true,
"has_spf": true
}
}Field Glossary
| Field | Type | Description |
|---|---|---|
| risk_score | int (0–100) | Higher score indicates higher risk. |
| flags.is_phishing | bool | True if the domain is on phishing blacklists. |
| flags.is_disposable | bool | True if domain is a disposable provider. |
| flags.is_mailable | bool | True if domain is suitable for sending/receiving mail. |
Errors
The API uses conventional HTTP status codes to indicate success or failure.
| HTTP Status | Message | Description |
|---|---|---|
| 400 | Bad Request | Malformed domain or parameters |
| 401 | Unauthorized | Invalid or missing API key |
| 404 | Not Found | Domain not found |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Server Error | Unexpected server error |