Disposable email API
Check an email address or domain from your own code. One GET request returns JSON that tells you whether to skip it. Free, with no key or account.
- Endpoint
- GET https://skipsend.com/api/v1/check/
- API key
- Not needed
- Limits
- 2,000 requests per IP each month (per /64 for IPv6), and 1 per second. Requests that return an error count too.
- Calls from
- Your server. The API sends no CORS headers, so browser JavaScript on another site can't call it.
- Spec
- /openapi.json (OpenAPI 3.1)
Request
- Required. An email address, or a bare domain such as
example.com.
curl
curl "https://skipsend.com/api/v1/check/[email protected]"
Response
{
"domain": "guerrillamail.com",
"matched_domain": "guerrillamail.com",
"skip": true,
"disposable": true,
"provider": "guerrillamail.com",
"no_mx": false,
"cf_routed": false,
"relay": false
}
- skip
truewhen any ofdisposable,no_mx,cf_routedorrelayis true. This is the one field most forms need.- disposable
- The domain, or the mail server behind it, belongs to a disposable email service.
- no_mx
- The domain has no MX records, doesn't exist, or its DNS servers fail to answer, so it can't receive email.
- cf_routed
- Mail goes through Cloudflare Email Routing, which hides the real inbox. Read this field yourself if you'd rather allow these domains.
- relay
- The address is a forwarding alias from a privacy service such as Sign in with Apple, SimpleLogin, Proton Pass, Firefox Relay or DuckDuckGo, which hides the real inbox. Read this field yourself if you'd rather allow these addresses. If you offer Sign in with Apple, let
privaterelay.appleid.comaddresses through: Apple gives each person only one per app. - provider
- The disposable service's main domain, or
null. - domain
- The domain that was checked, taken from the part after the @.
- matched_
domain - The domain on our list that matched. When you check a subdomain such as
mail.guerrillamail.com, it'sguerrillamail.com. Otherwise it's the same asdomain.
Examples
Python
import requests
resp = requests.get(
"https://skipsend.com/api/v1/check/",
params={"email": email},
timeout=5,
)
if resp.ok and resp.json()["skip"]:
raise ValueError("Please use a permanent email address.")
Node.js
const res = await fetch(
"https://skipsend.com/api/v1/check/?email=" + encodeURIComponent(email)
);
if (res.ok && (await res.json()).skip) {
throw new Error("Please use a permanent email address.");
}
Both examples only reject an address when the API answers skip. An error response, such as a 429 or 503, lets the signup through.
Errors
Errors come back as JSON with an error code and a readable message.
- 400
missing_parameter: theemailparameter is empty or missing.- 400
invalid_email: there's an @, but nothing before or after it.- 400
invalid_domain: the part after the @ isn't a valid domain.- 429
rate_limited: over the limit. Wait the number of seconds in theRetry-Afterheader. Monthly limits reset at 00:00 UTC on the 1st.- 503
lookup_failed: the DNS lookup for the domain got no answer, so there's no verdict. Try again shortly.
{
"error": "invalid_domain",
"message": "Invalid domain format"
}
Try it
Sends a real request to the API from your browser.
Need more than 2,000 requests a month? Write to support[at]skipsend.com.