Send an email address to the endpoint, and the API will validate your domain, check the MX records and detect if it is disposable or invalid.
Domain Mail Check - Endpoint Features
| Object | Description |
|---|---|
domain |
[Required] |
{"valid":true,"block":false,"disposable":false,"email_forwarder":false,"domain":"gmail.com","text":"Looks okay","reason":"Whitelisted","risk":8,"mx_host":"gmail-smtp-in.l.google.com","possible_typo":[],"mx_ip":"142.250.27.27","mx_info":"Using MX pointer gmail-smtp-in.l.google.com from DNS with priority: 5","last_changed_at":"2020-04-14T20:33:28+02:00"}
curl --location --request GET 'https://zylalabs.com/api/5270/spam+block+validator+api/6789/domain+mail+check?domain=example.com' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Send an email address to the endpoint, and the API will return detailed information about the validity of the email and the domain.
The Spam Block Validator it is an API that validates emails, verifying domains and detecting if they are temporary or disposable to prevent spam and fake registrations.
It receives an email address as input and provides information about the validity of the domain, MX records, and whether it is disposable or not.
Validation of emails in registration forms to avoid typos and ensure accurate data. Blocking of temporary or disposable emails on platforms that require legitimate emails for subscriptions or accounts. Identification and prevention of spam emails in mass mailing systems or newsletters.
Beside the number of API calls per month allowed, there are no other limitations.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.
The Domain Mail Check endpoint returns data regarding the validity of an email address, including whether the domain is valid, if it’s disposable, and details about the MX records.
Key fields in the response include "valid" (boolean), "block" (boolean), "disposable" (boolean), "domain" (string), "reason" (string), "risk" (integer), and "mx_info" (string), providing insights into the email's validity and associated risks.
The response data is structured in JSON format, with key-value pairs that categorize information about the email's validity, domain status, and MX records, making it easy to parse and utilize programmatically.
The endpoint provides information on domain validity, MX record status, whether the email is disposable, potential typos, and risk assessment, helping users identify problematic email addresses.
The primary parameter accepted is the email address to be validated. Ensure the email is formatted correctly to receive accurate validation results.
Data accuracy is maintained through regular updates and checks against reliable DNS records and domain databases, ensuring that the information about email validity and MX records is current and trustworthy.
Typical use cases include validating user registrations to prevent fake accounts, filtering out disposable emails in subscription services, and enhancing data quality in mass email campaigns.
Users can analyze the "valid" and "block" fields to determine if an email should be accepted or rejected, while the "reason" field provides context for any issues, aiding in user feedback and data correction.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
755ms
Service Level:
100%
Response Time:
1,101ms
Service Level:
100%
Response Time:
661ms
Service Level:
100%
Response Time:
374ms
Service Level:
100%
Response Time:
417ms
Service Level:
100%
Response Time:
699ms
Service Level:
100%
Response Time:
581ms
Service Level:
100%
Response Time:
2,316ms
Service Level:
100%
Response Time:
91ms
Service Level:
100%
Response Time:
764ms
Service Level:
100%
Response Time:
2,373ms
Service Level:
100%
Response Time:
265ms
Service Level:
100%
Response Time:
3,823ms
Service Level:
100%
Response Time:
1,793ms
Service Level:
100%
Response Time:
1,082ms
Service Level:
100%
Response Time:
8,561ms
Service Level:
100%
Response Time:
906ms
Service Level:
100%
Response Time:
28ms
Service Level:
100%
Response Time:
650ms
Service Level:
100%
Response Time:
11,333ms