Introduction
The Email Validation API is a powerful tool that allows you to parse and validate email addresses. Email verification API provides detailed results and validation scores, giving you information about the validity of an email address.
Features
- Detailed Results and Validation Scores: Email verifier API provides comprehensive information about the validation of an email address, allowing you to assess its validity.
- Validate MX and SMTP Records: Email verification API validates the MX (Mail Exchanger) and SMTP (Simple Mail Transfer Protocol) records associated with the email address, helping to verify if the email server is valid and reachable.
- Regex Validation: Valid email API employs regular expression validation to check if the email address matches a valid email pattern.
- Validates Common Typos: Email checker API includes a feature that validates common typos in email addresses, helping to identify potential errors or misspellings.
Getting Started
To access the Email validator API , you need to obtain an API key from AnyAPI.io. The API key is used for authentication and should be included in the request URL as a query parameter.
Let’s Try Sign In.
Email validation endpoint
Send a GET request to the following URL to Email validation
curl --request GET \
--url 'https://anyapi.io/api/v1/email?email=abcd%40gmail.com&apiKey=YOUR_API_KEY'
{
"valid": true,
"email": "[email protected]",
"validators": {
"regex": {
"valid": true
},
"typo": {
"valid": true
},
"disposable": {
"valid": true
},
"mx": {
"valid": true
}
}
}
Request parameters
Use the parameters listed below to customize your request. Mandatory parameters are indicated
Response parameters
The API returns its response in a simple, lightweight JSON format.
Response and error codes
Whenever you make a request that fails for some reason, an error is returned also in the JSON format. The errors include an error code and description, which you can find in detail below.
Status Code | Type | Details |
---|---|---|
200 | OK | The request was successful. |
400 | Bad Request | The request was invalid or cannot be otherwise served. |
401 | Unauthorized | Authentication credentials were missing or incorrect. |
422 | Quota reached | The request cannot be served due to the application's rate limit having been exhausted for the resource. |
404 | Not Found | The requested resource could not be found. |
429 | Too Many Requests | The request cannot be served due to the application's rate limit having been exhausted for the resource. |
500 | Internal Server Error | Something went wrong on the server. |
503 | Service Unavailable | The service is temporarily unavailable. |