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.
{
"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.
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.
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.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Alternatives to Guerrilla Mail
Technical alternatives for different use cases.
Temporary email with GraphQL API
Modern GraphQL-based temporary email integration
Long-lived temporary addresses
Temporary email with REST API and custom domain support
Disposable email with API-first design
Email address longevity and reliability
Similar APIs
View All →Disify
⭐ Beginner's PickDisify is a free, no-auth API that checks whether an email address or domain belongs to a known disposable or temporary email service.
DropMail
⭐ Beginner's PickDropMail provides a GraphQL API for creating and managing temporary email inboxes, letting you generate disposable addresses and receive real emails without registration.
Kickbox
⭐ Beginner's PickKickbox provides a free, no-auth email verification endpoint that checks whether an email address is deliverable by performing syntax validation, domain MX lookup, and disposable address detection.
mail.gw
mail.gw is a REST API for creating and managing temporary 10-minute email addresses with full inbox access, all without authentication for basic use.
Email Validation
Abstract API Email Validation checks whether an email address is deliverable, properly formatted, and not from a disposable or spam-trap domain.