Guerrilla Mail API

Beginner's Pick Email / No Auth Required Beginner HTTPS
Free to Use
76 B
Measured Score 0 50 100 Speed 13/30 Consistency 20/20 Security 20/20 Browser access 15/15 Transparency 8/15 TESTED 2026-08-10

Overview

Guerrilla Mail provides a REST API for creating and reading disposable temporary email addresses, useful for testing email flows without exposing real inboxes. You can fetch a randomly generated address, check for incoming messages, and read message bodies — all without authentication. Addresses are ephemeral and messages are automatically deleted after a short period.

Beginner Tip

Guerrilla Mail requires no API key and no sign-up — just make a GET request and you instantly have a working throwaway inbox. It is perfect for testing registration flows, email confirmations, and any workflow that sends automated emails during development.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://api.guerrillamail.com/ajax.php?f=get_email_address
Result
HTTP 200 · application/json · 149 bytes · compressed
Response time
285 ms (median of 3) · fastest 278 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
Browser CORS
Allowed — Access-Control-Allow-Origin: *
Served by
cloudflare
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
email_addr string [email protected]
email_timestamp integer 1786391440
alias string y7ay9g+8s2dy4j0jj6fg
sid_token string 6k2ebo874g4at995co63ctoou0

Captured Response

Captured from a real request to https://api.guerrillamail.com/ajax.php?f=get_email_address on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "email_addr": "[email protected]",
  "email_timestamp": 1786391440,
  "alias": "y7ay9g+8s2dy4j0jj6fg",
  "sid_token": "6k2ebo874g4at995co63ctoou0"
}

Field Reference

email_addr The generated disposable email address for this session
email_timestamp Unix timestamp when this temporary address was created
sid_token Session token that identifies this inbox — must be passed in all subsequent requests to access messages

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://www.guerrillamail.com/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist text/html

Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

No messages appear even after sending a test email The Guerrilla Mail address is session-based; if you did not preserve the sid_token from the first response, you may be checking a different inbox
Save the sid_token returned by get_email_address and pass it in all subsequent requests to check the same inbox
Messages appear truncated or without full body The email_list endpoint returns summaries; full body requires a separate fetch_email call
Use the fetch_email action with the specific mail_id from the list response to retrieve the complete message content
JSONP callback errors in browser Guerrilla Mail uses a JSONP-style API that requires a callback parameter for browser requests
For server-side code, use the standard JSON endpoint; for browser use, include &callback=myFunction or use a server-side proxy

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 13/30
Consistency 20/20
Security 20/20
Browser access 15/15
Transparency 8/15
Endpoint Response Time 285ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Email
Difficulty Beginner
Endpoint last called: 2026-08-10

Related Tags

Alternatives to Guerrilla Mail

Technical alternatives for different use cases.

Temporary email with GraphQL API

Better For

Modern GraphQL-based temporary email integration

Trade-off

Long-lived temporary addresses

Temporary email with REST API and custom domain support

Better For

Disposable email with API-first design

Trade-off

Email address longevity and reliability

Similar APIs

View All →