Disposable Email Checker API
The Disposable Email Checker API allows you to check whether a given email address is from a disposable email provider.
From 4,177 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 314ms | 331ms | 358ms | 753ms | 1154ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/disposableemailchecker GET
https://api.api-ninjas.com/v1/disposableemailchecker
Returns metadata for a given email address, including whether it is from a disposable email provider. We maintain a large database of hundreds of thousands of disposable domains and check against it for every email address.
Parameters
emailrequiredEmail address to check.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON object with the following fields or an error if the request is unsuccessful.
domainstringDomain of the email address.
emailstringEmail address.
is_disposablebooleanWhether the email address is disposable.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/disposableemailchecker?email=asdf@ingitel.comHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/disposableemailchecker?email=test@10minutemail.com" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
Frequently Asked Questions
Can I use the Disposable Email Checker API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Disposable Email Checker API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Disposable Email Checker API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Disposable Email Checker API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.What are some use cases for the Disposable Email Checker API?
It is ideal for blocking throwaway signups during user registration, reducing fraud and spam, and improving deliverability by flagging temporary inboxes before you send. For deeper validation you can pair it with the Validate Email API or check mail server records with the MX Lookup API.What data does the Disposable Email Checker API check against, and how do I query an email?
Send a GET request to the/v1/disposableemailcheckerendpoint with the requiredemailparameter, and the API checks it against a database of hundreds of thousands of known disposable email domains. See the API catalog for related tools.What does the Disposable Email Checker response include?
The response is a JSON object containing theemailyou submitted, itsdomain, and anis_disposableboolean indicating whether the address comes from a disposable provider. If a request is unsuccessful, an error is returned instead (see error codes).