Classify an address's domain: disposable, free webmail, or business

Classifies an address as disposable, free_webmail (Gmail, Yahoo, Outlook…) or business_or_other.

Request

GEThttps://disposable-email-detector.p.apihiver.com/v1/classify?email=x%40yahoo.com
*
String. Email address or bare domain.
Language
Client
1curl --request GET \
2  --url 'https://disposable-email-detector.p.apihiver.com/v1/classify?email=x%40yahoo.com' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Classify an address's domain: disposable, free webmail, or business: Disposable Email Detection API reference

Classifies an address as `disposable`, `free_webmail` (Gmail, Yahoo, Outlook…) or `business_or_other`. This endpoint is part of the Disposable Email Detection API: Detect throwaway and temporary email addresses (Mailinator, 10MinuteMail and 8,900+ more domains) at sign-up — single, batch or classify.

Example response (200, application/json)

Success.

1{
2  "type": "free_webmail",
3  "input": "[email protected]",
4  "domain": "yahoo.com",
5  "disposable": false,
6  "free_webmail": true
7}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "email: Field required"
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.