Domain Email: Order Download File

Use this API endpoint to pay for and download a file containing all available email addresses for a specific domain. The request is processed asynchronously. You can provide a webhook URL to be notified once the file is ready. Note: the emails in this file are not verified and may require validation before use.

Endpoint

POST
https://api.anymailfinder.com
/v5.1/domain/{domain}/email/order

Pricing

  • 1 credit is charged for every 40 emails.
Emails are not verified for accuracy.
The file provides raw, unverified data, so you may need to validate the emails before use.

Authentication

Include your API key using the Authorization header.
Refer to the Authentication page for setup instructions.

Code example

curl -X POST "https://api.anymailfinder.com/v5.1/domain/{domain}/email/order" \
-H "Authorization: YOUR_API_KEY"

Request parameters

Path parameters

ParameterExample valueDescription
domain
string
"microsoft.com"The domain for which to retrieve the email count and cost.

Headers

ParameterExample valueDescription
x-webhook-url
string - optional
"https://yourdomain.com/webhook"If provided, the result will be POSTed to this URL instead of waiting for the response.

Response

200OK

The file has been successfully ordered and is now being prepared for download.

400Bad Request
401Unauthorized
402Payment Needed

Need Help?

Our team is experienced with APIs and is here to help. Contact us via chat or email at team@anymailfinder.com.