Disposable Armor API Documentation

The Disposable Armor API makes it easy to detect disposable/temporary email domains in your applications. This documentation covers everything you need to know to integrate with our API.

Authentication

All requests to the Disposable Armor API require authentication with your API key. You can create and manage multiple API keys from your dashboard after creating an account.

API Key in Header

You can include your API key in the request headers:

Authorization: Bearer YOUR_API_KEY
// OR
X-API-Key: YOUR_API_KEY

Multiple API Keys

You can create multiple API keys for different applications or environments. All keys share the same monthly quota for your account.

PlanMax API Keys
Free1
Basic3
Pro7
Plus10
Growth25
EnterpriseUnlimited

Rate Limits

Our API has two types of rate limits to ensure fair usage and system stability:

1. Monthly Quotas

API quotas are based on your subscription plan and reset on your billing anniversary date each month.

PlanMonthly QuotaPrice
Free100 checksFree
Basic3,000 checks$1.99/month
Pro15,000 checks$4.99/month
Plus30,000 checks$8.99/month
Growth150,000 checks$29.99/month
EnterpriseCustom checksCustom

2. Technical Rate Limit

To protect against abuse, all API keys are limited to 60 requests per minute regardless of your plan.

Note: If you exceed either limit, you'll receive a 429 status code with details about which limit was exceeded.

API Endpoints

Check a Domain or Email

This endpoint checks if a domain or email address is from a disposable/temporary email service.

GET /api/v1/check

Provide domain or email as the query parameter. If email is provided, the server extracts the domain automatically.

# Using a domain
curl -X GET "https://disposablearmor.com/api/v1/check?domain=mailinator.com" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Using an email (server extracts the domain)
curl -X GET "https://disposablearmor.com/api/v1/[email protected]" \
  -H "Authorization: Bearer YOUR_API_KEY"

Query Parameters

ParameterTypeDescription
domainstringA domain to check, e.g. mailinator.com
emailstringAn email address. The server extracts and checks the domain part only.

Response Format

Basic response (all plans):

{
  "domain": "mailinator.com",
  "is_temporary": true,
  "is_allowed": false,
  "checks_remaining": 2950,
  "monthly_limit": 3000,
  "reset_date": "2025-01-31"
}

Enhanced response (paid plans only):

{
  "domain": "mailinator.com",
  "is_temporary": true,
  "is_allowed": false,
  "checks_remaining": 14950,
  "monthly_limit": 15000,
  "reset_date": "2025-01-31",
  "advanced_check": {
    "performed": true,
    "result": true,
    "error": null
  },
  "apple_proxy": {
    "performed": true,
    "is_proxy": false,
    "confidence": 0.95,
    "error": null
  }
}

Response Fields

FieldTypeDescription
domainstringThe domain that was checked
is_temporarybooleanWhether the domain is identified as temporary/disposable
is_allowedbooleanWhether the domain is on the allowlist (overrides temporary status)
checks_remainingnumberNumber of API calls remaining in your current billing period
monthly_limitnumberTotal monthly API call limit for your plan
reset_datestringDate when your monthly quota will reset (YYYY-MM-DD format)
advanced_checkobjectAdvanced ML detection results (paid plans only)
apple_proxyobjectApple proxy detection results (paid plans only)

Error Responses

The API returns appropriate HTTP status codes and error messages:

Status CodeError CodeDescription
400invalid_inputMissing or invalid query parameter
401invalid_api_keyInvalid or missing API key
429monthly_limit_exceededMonthly API quota exceeded
429technical_rate_limit_exceededTechnical rate limit (60/minute) exceeded

⚠️ Important Disclaimer

Accuracy Notice: While our service strives for high accuracy in detecting disposable email addresses, we cannot guarantee 100% accuracy in all cases. Email classification results should be used as guidance rather than absolute truth.

The disposable email landscape is constantly evolving, with new services appearing and existing ones changing their patterns. Our algorithms and database are continuously updated to maintain the highest possible accuracy, but false positives and false negatives may occasionally occur.

We recommend implementing appropriate fallback mechanisms and user verification processes in your applications. Disposable Armor should be used as one component of a comprehensive email validation strategy.

Ready to Get Started?

Sign up for a free account to get your API key and start protecting your service from disposable emails.