Quick Start
Get up and running in under a minute. Register for an API key, then start making requests.
Login & Get Your API Key
Sign in via the web interface and generate your API key:
curl -X GET https://www.1tempmail.com/api/v1/key \
-H "Authorization: Bearer YOUR_API_KEY"
Generate a Temp Email
curl -X POST https://www.1tempmail.com/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY"
Authentication
All API requests require a Bearer token in the Authorization header. Register an account and retrieve your API key using the endpoints above.
🔒
Bearer Token Auth
Include your API key in every request:
Authorization: Bearer your_api_key_here
Keep Your API Key Secret
Never expose your API key in client-side code or public repositories. Store it in environment variables or a secrets manager.
The 1TempMail MCP Server exposes three tools that AI assistants can call directly. Connect via the MCP endpoint at https://www.1tempmail.com/mcp.
MCP Integration
Add the 1TempMail MCP Server to your AI tool by adding the configuration below to your settings file.
Add to ~/.claude/settings.json or your project's .claude/settings.json:
{
"mcpServers": {
"1tempmail": {
"command": "npx",
"args": ["-y", "@1tempmail/mcp-server"],
"env": {
"1TEMPMAIL_API_KEY": "your_api_key_here"
}
}
}
}
Add to ~/.cursor/mcp.json or your project's .cursor/mcp.json:
{
"mcpServers": {
"1tempmail": {
"command": "npx",
"args": ["-y", "@1tempmail/mcp-server"],
"env": {
"1TEMPMAIL_API_KEY": "your_api_key_here"
}
}
}
}
For Windsurf, Cline, or any MCP-compatible tool, add the same server config to your tool's MCP settings file:
{
"mcpServers": {
"1tempmail": {
"command": "npx",
"args": ["-y", "@1tempmail/mcp-server"],
"env": {
"1TEMPMAIL_API_KEY": "your_api_key_here"
}
}
}
}
Remote MCP Endpoint
If your tool supports remote MCP servers via SSE, you can also connect directly:
https://www.1tempmail.com/mcp
REST API Reference
Base URL: https://www.1tempmail.com/api/v1
GET
/key
Retrieve your API key information. Requires Bearer auth with your API key.
curl -X GET https://www.1tempmail.com/api/v1/key \
-H "Authorization: Bearer YOUR_API_KEY"
{
"api_key": "tmp_live_k8x...qz2",
"plan": "free",
"created_at": "2026-07-07T10:00:00Z"
}
GET
/usage
Check your current billing period usage and rate limit details.
curl -X GET https://www.1tempmail.com/api/v1/usage \
-H "Authorization: Bearer YOUR_API_KEY"
{
"plan": "free",
"requests_used": 42,
"requests_limit": 100,
"period_end": "2026-08-01T00:00:00Z"
}
GET
/plans
List all available pricing plans with their features and limits.
curl -X GET https://www.1tempmail.com/api/v1/plans
{
"plans": [
{ "id": "free", "name": "Free", "price": 0, "requests_per_month": 100 },
{ "id": "pro", "name": "Pro", "price": 9, "requests_per_month": 10000 },
{ "id": "enterprise", "name": "Enterprise", "price": 49, "requests_per_month": -1 }
]
}
POST
/upgrade
Upgrade your account to a higher plan. Requires the target plan ID in the request body.
curl -X POST https://www.1tempmail.com/api/v1/upgrade \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"plan_id": "pro"}'
{
"plan": "pro",
"requests_limit": 10000,
"effective_at": "2026-07-07T10:00:00Z",
"checkout_url": "https://www.1tempmail.com/checkout/..."
}
Pricing Plans
Start free and scale as you grow. No hidden fees.
Free
$0 /mo
100 requests / month
- Temp email generation
- Inbox checking
- Message reading
- 60-minute email lifetime
- Community support
Sign In
Pro
$9 /mo
10,000 requests / month
- Everything in Free
- Priority email delivery
- Extended email lifetime
- Custom domains
- Email support
Upgrade to Pro
Enterprise
$49 /mo
Unlimited requests
- Everything in Pro
- Unlimited API calls
- Dedicated infrastructure
- SLA guarantee
- Dedicated account manager
Contact Sales