This API provides services to analyze email addresses.
Email Analysis API (1)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.cdq.com/_mock/apis/email-analysis-api/api-v1/
Production
https://api.cdq.com/email-analysis/rest/
Request
The Email Domain Guard consists of multiple checkers and a risk scoring feature. Each of the checkers analyzes a specific aspect of the given email address, the assessment via the checkers is then combined in terms of a multifactor analysis to a risk score. Available checkers:
- Email Component Extractor: Accurately separates an email address into its local part and domain, and then attempt to derive the base domain from it.
- Email Format Checker: Validates the structure and syntax of email addresses to ensure they follow standard conventions.
- Domain Existence Checker: Verifies the existence and accessibility of domain names, ensuring communications are directed to functional domains.
- Disposable Mail Checker: Detects disposable or temporary email addresses, ensuring the quality and authenticity of user-provided email addresses.
- Freemail Checker: Identifies freemail addresses, helping to assess the quality and legitimacy of user-provided email addresses.
- Role Category Checker: Identifies role-based email addresses, enhancing personalization and optimizing resource allocation.
- Whois Checker: Retrieves and analyzes whois information for domains, providing valuable details such as registration date and domain age.
- DNSBL Checker: Checks if email domain IP addresses are listed on DNS-based Blackhole Lists (DNSBLs), identifying potential sources of spam or malicious activity.
- Data Breach Checker: Analyzes email accounts and domains for potential data breaches using the “Have I Been Pwned” API.
- Shared Email Checker: Identifies shared email addresses among community members while ensuring privacy through anonymous data sharing and secure hashing.
- Fraud Case Checker: Identifies email addresses involved in any reported and confirmed fraud cases via CDQ's Fraud Guard.
Security
apiKey
- Mock server
https://developer.cdq.com/_mock/apis/email-analysis-api/api-v1/emails/verify
- Production
https://api.cdq.com/email-analysis/rest/emails/verify
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/email-analysis-api/api-v1/emails/verify \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"email": "developer-portal@cdq.com"
}'
Response
application/json
{ "email": "developer-portal@cdq.com", "summary": { "isBreachedDomain": false, "isBreachedEmail": false, "isDisposable": false, "isBlacklisted": false, "isPublicWhois": true, "isSharedEmail": false, "isValidFormat": true, "isFreemail": false, "isRoleBased": false, "isFraudCaseDetected": false }, "status": { "code": 200, "technicalKey": "OK", "details": [ … ] }, "risk": { "score": 0, "classification": { … } }, "format": { "isValidFormat": true, "parts": { … } }, "domain": { "isValidDomain": true }, "sharing": { "isSharedEmail": false, "subscribers": 0 }, "role": { "isRoleBased": false }, "freemail": { "isFreemail": false }, "disposable": { "isDisposable": false }, "whois": { "isPublicWhois": true, "entry": { … } }, "dnsBlacklist": { "isDnsBlacklisted": false, "dnsBlacklists": [] }, "breaches": { "isBreachedEmail": false, "isBreachedDomain": false }, "fraudCases": { "isFraudCaseDetected": false, "fraudCasesCount": 0 } }