Package: quickemailverification
Official Email Validation API library client for PythonQuickEmailVerification provides the quickest way to avoid fake / invalid
emails.Get actual users by scanning email address.Remove invalid, dead and fake emails from your email list.Save time and money by sending mail to actual users.Let’s Get StartedTo begin, signUp atquickemailverification.comand
create a FREE account. After signup logged in, click onAPI
Settingsand then
clickAdd API Key. To use API you need 2 parameters.email - (string) This is a email address you need to verify. It should
be url encoded.apikey - (string) This is the key you generated from
“api settings” page.NOTE: Keep API key with you. You’ll need it to setup the client as explained below.InstallationMake sure you havepipinstalled.$pipinstallquickemailverificationVersionsWorks with [ 2.6 / 2.7 / 3.2 / 3.3 / 3.4 ]Usageimportquickemailverificationclient=quickemailverification.Client('Your_API_Key_Here')quickemailverification=client.quickemailverification()# PRODUCTION MODEresponse=quickemailverification.verify('test@example.com')# SANDBOX MODE# response = quickemailverification.sandbox('valid@example.com')print(response.body)# The response is in the body attributeResponse informationA successful API call responds with the following values:resultstring- The verified results will be:valid,invalid,unknownreasonstring- Reason definitions are as below:invalid_email- Specified email has invalid email address syntaxinvalid_domain- Domain name does not existrejected_email- SMTP server rejected email. Email does not existaccepted_email- SMTP server accepted email addressno_connect- SMTP server connection failuretimeout- Session time out occurred at SMTP serverunavailable_smtp- SMTP server is not available to process
requestunexpected_error- An unexpected error has occurredno_mx_record- Could not get MX records for domaintemporarily_blocked- Email is temporarily greylistedexceeded_storage- SMTP server rejected email. Exceeded storage
allocationdisposabletrue | false-trueif the email address uses adisposabledomainaccept_alltrue | false-trueif the domain appears toaccept allemails delivered to that domainroletrue | false-trueif the email address is aroleaddress (manager@example.com,ceo@example.com, etc)freetrue | false-trueif the email address is from free
email provider like Gmail, Yahoo!, Hotmail etc.emailstring- Returns a normalized version.
(Niki@example.com->niki@example.com)userstring- The local part of an email address.
(niki@example.com->niki)domainstring- The domain of the provided email address.
(niki@example.com->example.com)mx_recordstring- The preferred MX record of email domain. This
field contains empty string when MX record is not available.mx_domainstring- The domain name of the MX host. This field
contains empty string when MX record is not available.safe_to_sendtrue | false-trueif the email address is
safe for deliverabilitydid_you_meanstring- Returns email suggestions if specific
typo errors found in emailsuccesstrue | false-trueif the API request was
successfulmessagestring- Describes API call failure reasonHTTP Response headersTotal remaining credits can be found by http response header. It
contains overall remaining credits, including Persistent & Per day
credits.X-QEV-Remaining-Credits- Your remaining email verification
credits (i.e. Per Day Credits + Persistent Credits).HTTP status codes for QuickEmailVerification API callsQuickEmailVerification API also returns following HTTP status codes to
indicate success or failure of request.200- Request is completed successfully.400- Server can not understand the request sent to it. This is
kind of response can occur if parameters are passed wrongly.401- Server can not verify your authentication to use api.
Please check whether API key is proper or not.402- You are running out of your credit limit.404- Requested API can not be found on server.429- Too many requests. Rate limit exceeded.Sandbox ModeQuickEmailVerification single email verification API sandbox mode helps developers to test their integration against simulated results. Requesting against sandbox endpoint is totally free and no credits will be deducted from actual credit quota.Please refer ourknowledge baseto learn more about sandbox mode.LicenseMITBug ReportsReporthere.Need Help? Feel free to contact ushttps://quickemailverification.com/contact-us