Temp Mail API
收藏RapidAPI2026-03-27 更新2025-12-03 收录
下载链接:
https://rapidapi.com/abhishekgawande1667/api/temp-mail-api9
下载链接
链接失效反馈官方服务:
资源简介:
A fast and reliable temporary email API service that provides disposable email addresses for testing and verification purposes. Built on the edge runtime for optimal performance and includes rate limiting for stability.
创建时间:
2026-03-27
原始信息汇总
Temp Mail API 数据集概述
基本信息
- 数据集名称: Temp Mail API
- 类别: Email
- 提供者: Abhishek
- 订阅者数量: 11
- API版本: v1 (current)
- 服务等级: 100%
- 延迟: 1590ms
- 流行度: 9.2
定价方案
- BASIC: $0.00 / mo
- PRO: $14.00 / mo
- ULTRA: $25.00 / mo
- MEGA: $100.00 / mo
服务概述
一个快速可靠的临时电子邮件API服务,为测试和验证目的提供一次性电子邮件地址。基于边缘运行时构建,以实现最佳性能,并包含速率限制以确保稳定性。
主要特性
- ⚡ 基于边缘运行时以获得最佳性能
- 🔒 安全的认证系统
- 📝 支持自定义用户名
- 📨 实时消息检索
- 🔄 自动生成电子邮件地址
认证
除创建账户外的所有端点都需要一个在账户创建期间获得的Bearer令牌。
Authorization: Bearer <your_token>
端点详情
1. 创建电子邮件账户
-
方法: POST
-
路径:
/account -
请求体 (可选): json { "customName": "string" // 可选自定义用户名(3-32个字符) }
-
成功响应: json { "address": "username@domain.com", "token": "your_authentication_token", "success": true }
-
常见错误代码:
ADDRESS_ALREADY_USED(422)ACCOUNT_CREATION_FAILED(500)RATE_LIMIT_EXCEEDED(429)
2. 获取消息
- 方法: GET
- 路径:
/messages - 请求头:
Authorization: Bearer <your_token> - 成功响应: json [ { "id": "message_id", "from": { "address": "sender@example.com", "name": "Sender Name" }, "subject": "Message Subject", "intro": "Message preview...", "createdAt": "2023-09-07T12:00:00Z" } ]
3. 获取单条消息
- 方法: GET
- 路径:
/messages?id={messageId} - 请求头:
Authorization: Bearer <your_token> - 成功响应: json { "id": "message_id", "from": { "address": "sender@example.com", "name": "Sender Name" }, "subject": "Message Subject", "html": "<html>Message content...</html>", "text": "Plain text message content", "createdAt": "2023-09-07T12:00:00Z" }
错误处理
所有端点返回适当的HTTP状态码:
- 200: 成功
- 400: 错误请求
- 401: 未授权
- 422: 不可处理的实体
- 429: 请求过多(仅适用于账户创建)
- 500: 内部服务器错误
错误响应包含详细信息: json { "error": "Detailed error message", "code": "ERROR_CODE" }



