Temporary email,
curl-ready.
Embed disposable email, temporary inbox and OTP detection into your apps in a few lines. Clean REST, clean JSON, open CORS, no auth.
Pruébalo directamente desde tu navegador
No need for Postman or a terminal. Pick an endpoint, tweak the params, hit run. The actual API response shows up in real-time.
Click Execute to run the request…
Click Execute to run the request…
Click Execute to run the request…
No params. Returns the list of active email domains.
Click Execute to run the request…
4 endpoints, 0 magia
All endpoints use HTTPS, return UTF-8 JSON, and include X-RateLimit-* headers so you can track your usage.
Copia y pega en tu stack
Complete workflow: create a mailbox → poll for emails → extract the OTP code. In your language of choice.
Gratis hoy, Pro pronto
The free public API covers most personal and testing use cases. For higher volume or commercial use, a Pro plan is coming.
- No API key
- Open CORS
- Automatic OTP detection
- 4 domains available
- Clean UTF-8 JSON
- 150x higher volume
- Email-received webhooks
- Custom domain
- 30-day retention
- Priority support
Lo que los devs construyen con esto
Concrete uses of the mail123 API, from e2e tests to marketing automation. All legitimate, all sign-up free.
Automated e2e tests
Playwright, Cypress, Selenium: generate an address on the fly, fill out the form, read the confirmation mail, extract the link or code. Full cycle in 30 seconds.
Bypass email verification
Sign up on sketchy services, throwaway accounts to try a demo, one-shot access to email-walled content — without polluting your main inbox.
Bots & automation
Scrapers that need to pass an email confirm, n8n/Make/Zapier workflows, Selenium scripts that automate onboarding. The API plugs in with 3 lines.
Dev environments
Stage & preview environments: replace Mailtrap, MailHog or SES with a public API. Devs see real emails without configuring SMTP.
Tutorials & courses
Webhook demos, OAuth exercises, security training: a throwaway public address lets learners test safely without risking their real inbox.
Privacy tools
Browser extensions, password managers, anti-spam tools: integrate alias generation in a single HTTP call.
Códigos HTTP y gestión de errores
All responses include a success: bool field and an optional error: string. HTTP codes follow REST conventions.
| Code | Significado | Action |
|---|---|---|
| 200 | Success | Response includes success: true |
| 400 | Bad Request | Check syntax of the address or parameter |
| 403 | Forbidden | Reserved address (admin, root, postmaster…) |
| 404 | Not Found | Email not found or expired |
| 429 | Too Many Requests | Wait 1 minute, or retry after the reset |
| 500 | Server Error | Server error — retry, otherwise contact support |
Preguntas frecuentes
Answers to the questions developers ask us most.
Is the API really free?
Do I need an API key?
Does the API support CORS?
How long are emails kept?
Does the API detect OTP codes automatically?
Which email domains are available?
mail123.frmail456.frmail789.frmail123.cloudmail1mail.commail123.ptmail123.clickmaildaft.commail123.com.brdaftmail.cloudmailtemp.fr. Live list via GET /api/v1/domains.Does the API support webhooks?
What happens if I hit the rate limit?
What uses are allowed?
Is the service reliable? What uptime?
Construye algo genial
No signup. No credit card. No webhook config. Make your first API call in 10 seconds.