Sunday, March 20, 2022

trying out the free email check api

Mailboxlayer.com offers a free tier for their email verification api, 100 requests free per month - I signed up for free, and could easily use their api - via apilayer.com.

The api (from https://blog.apilayer.com/the-anatomy-of-a-great-email-address-validation-api/) in the format
http://apilayer.net/api/check?access_key=4aMyAccessKey6f8ca4&email=thisIsWhatWe@WantTo.Check&smtp=1&format=1

The smtp_check value (in the returned data) being false would indicate email not existing. This is probably the older version of the mailboxlayer api, since the current api has a syntax like
curl --location --request GET 'https://api.apilayer.com/email_verification/customercare@apilayer.com' \
--header 'apikey: YOUR API KEY HERE'

No comments:

Post a Comment