Quick Answer
How do I validate email addresses or check if they exist in Minerva? Use this endpoint to check if email addresses are valid and whether they exist in the Minerva database.Common questions this endpoint answers:
- How do I validate email addresses?
- How do I check if an email exists in the Minerva database?
- How can I verify email validity before enriching?
- How do I see when an email was last seen?
- How can I filter my email list to only Minerva-known contacts?
- How do I check email quality?
What you need: List of email addresses (up to 2000 per request).What you get back: For each email: whether it’s found in Minerva, validation status, and last seen timestamp.Common use cases:
- Pre-validate emails before using resolve/enrich
- Filter email lists to focus on known contacts
- Check data freshness with last seen dates
- Verify email quality and validity
Overview
The Validate Emails endpoint checks if email addresses exist in the Minerva database and provides validation status and last seen date information. This endpoint accepts a simple list of email address strings and returns match status, validation status, and last seen timestamps for each email.
The endpoint automatically handles email normalization and will attempt to match both the original email and any sanitized versions against the Minerva database.
Request
Your API key for authentication
Request Body
An array of email address strings to validate. Maximum 2000 email addresses per request.Each element in the array should be a simple email address string (e.g., “[email protected]”).
Response
Response Structure
Unique identifier for this API request
Array of validation results, one per input email
ISO 8601 timestamp when the request was completed
Result Object
The original email address from the request
Whether this email address (or its sanitized version) was found in the Minerva database
Validation status of the email address. Can be “valid”, “invalid”, “unknown”, or null if no match was found.
ISO 8601 timestamp of when this email was last seen in the Minerva database. Returns null if the email was not found.
{
"api_request_id": "req_email456",
"results": [
{
"email_address": "[email protected]",
"is_match": true,
"email_validation_status": "valid",
"email_last_seen": "2024-01-10T15:30:00.000000"
},
{
"email_address": "[email protected]",
"is_match": true,
"email_validation_status": "valid",
"email_last_seen": "2023-12-15T09:22:00.000000"
},
{
"email_address": "[email protected]",
"is_match": false,
"email_validation_status": null,
"email_last_seen": null
}
],
"request_completed_at": "2024-01-15T10:30:45.123456"
}
Error Responses
Invalid or missing API key
Endpoint only supports v2 API version (attempting to access via /v1 or other version will return this error)
More than 2000 email addresses in request. Error message: “Maximum number of records for /v2/validate_emails endpoint is 2000”
Invalid request structure. Possible error messages:
- “Input data must be a JSON with a ‘records’ key”
- “Input data must contain a ‘records’ key with a list of inputs”
- “Input
records must be a list of email addresses”
Notes
- API Version: This endpoint only supports v2 (
/v2/validate_emails)
- Rate Limits: Maximum 2000 email addresses per request
- Email Normalization: Email addresses are automatically sanitized and normalized. The endpoint will match against both the original email and sanitized versions
- Match Priority: If multiple versions of an email match (original vs. sanitized), the endpoint returns the best match based on most recent
email_last_seen date
- Return Order: Results are returned in the same order as the input array
- Use Case: Use this endpoint to verify email existence in Minerva’s database before using resolve or enrich endpoints
- Database Matching: Emails are matched against the
data_lake.email_validation table using MD5 hashes of lowercase email addresses