TempMail API

Disposable Email At Scale

Create temporary inboxes, receive messages, and extract OTP codes via a clean REST API. Free with your API key. No credits deducted. Commercial use allowed.

Credits Tool Licenses Email Warmup TempMail API Converter API
Instant Inbox
Credits Never Expire
REST API
Private & Secure
Multiple Domains

Everything for Disposable Email

Four clean REST endpoints — create, receive, read, and delete.

Create Inbox

Generate a random or custom disposable email address instantly via API.

Get Messages

Poll the inbox for incoming messages. Returns full metadata list.

Read Message

Read full HTML or plain-text body. Perfect for OTP/verification code extraction.

Delete Inbox

Clean up early. Deletion is free — no credits charged.

24h Lifetime

Inboxes stay alive for 24 hours then auto-expire and self-clean.

Secure Tokens

Each inbox has a private token — only the holder can read its messages.

# 1. Create a disposable inbox
curl -X POST /api/tempmail/accounts \
  -H "X-API-Key: your_key"
# → {"email":"abc123@zphantom.com","token":"tok_xxx"}
# 2. Check for messages
curl /api/tempmail/messages \
  -H "X-API-Key: your_key"
# → {"messages": [{"id":"msg_1","subject":"Your OTP","from":"..."}]}

TempMail API is Free

No credits deducted. No usage limits. Just get an API key from the portal and start calling.

🎉
FREE
/call — forever, no limits
  • Create unlimited inboxes
  • Receive & read messages
  • Extract OTP codes
  • Commercial use allowed
  • Dedicated infrastructure + SLA
Get Free API Key
Sign in to portal → Account → API Keys
vs Competitors
🟢 ZeroPhantomFree
Mailslurp$0.01+/inbox
mail.tmFree (no SLA, no commercial use)

Frequently Asked Questions

Is the API really free?
Yes — completely free. No credits deducted per call. You just need an API key from the portal.
What's the rate limit?
There is a per-key rate limit based on your account plan. Free accounts get generous limits for testing and production use.
Can I use this commercially?
Yes. Commercial use is explicitly allowed — unlike mail.tm which prohibits resale and proxying.
What's the difference vs mail.tm?
mail.tm is a free public service with no SLA and terms that prohibit commercial use. ZeroPhantom is dedicated infrastructure with commercial use allowed, a real support channel, and no shared rate limits.
How do I get my API key?
Sign in at /portal → Account → API Keys → Create New Key. Your key is ready instantly.