临时邮箱和一次性密码测试 API

API ID 12433

生成临时电子邮件地址以实现无缝在线注册和一次性密码测试

398 ms 平均响应

API 文档

端点

请求
获取所有可用的免费域名以用于市场 API
Endpoint ID: 23570
GET https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23570/get+domains
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"success":true,"data":[{"domain":"ditapi.info","tier":"free","tags":[]},{"domain":"ditcloud.info","tier":"free","tags":[]},{"domain":"ditdrive.info","tier":"free","tags":[]},{"domain":"ditgame.info","tier":"free","tags":[]},{"domain":"ditlearn.info","tier":"free","tags":[]},{"domain":"ditpay.info","tier":"free","tags":[]},{"domain":"ditplay.info","tier":"free","tags":["popular"]},{"domain":"ditube.info","tier":"free","tags":["popular"]},{"domain":"junkstopper.info","tier":"free","tags":[]},{"domain":"areueally.info","tier":"free","tags":[]},{"domain":"addmy.space","tier":"free","tags":["new"]},{"domain":"attachmy.site","tier":"free","tags":["new"]}],"count":12,"note":"Upgrade to Growth plan to access additional pro domains."}
获取域名 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23570/get+domains' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
检索特定用户邮箱中的所有消息
Endpoint ID: 23571
GET https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23571/get+mailbox+messages
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"message":"Mailbox retrieved successfully.","data":[{"id":"F7LpBSaAuG","from":"\"xAI\" <[email protected]>","to":"[email protected]","subject":"S3G-9PC xAI confirmation code","date":"2026-04-27T16:03:32.078Z","hasAttachment":false,"wasAttachmentStripped":false,"otp":"__DETECTED__","verificationLink":null},{"id":"B49mzFMnvx","from":"\"SendTestEmail\" <[email protected]>","to":"[email protected]","subject":"SendTestEmail.com - Testing Email ID: 808e9ed8a9d764cf7e918e536f7a8836","date":"2026-04-27T16:03:11.625Z","hasAttachment":false,"wasAttachmentStripped":false,"otp":null,"verificationLink":null}],"encryptedMailbox":"D-6ffejiz1jxh13cxkur"}
获取邮箱消息 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23571/get+mailbox+messages&email=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
从邮箱名称中获取带有id的消息
Endpoint ID: 23572
GET https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23572/get+full+message
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"message":"Message retrieved successfully.","data":{"id":"TWqYmjH-Ma","from":"\"SendTestEmail\" <[email protected]>","to":"[email protected]","subject":"SendTestEmail.com - Testing Email ID: fbe5dcfe22549d34c858582ea12d7d9b","date":"2026-04-27T06:02:03.785Z","hasAttachment":false,"wasAttachmentStripped":false,"html":"<html>\nCongratulations!<br><br>\nIf you are reading this your email address is working.<br><br>\nThis is not spam or a solicitation. This email was sent to your email address because you, or someone else, requested a test email to be sent to this address. We work hard to ensure a balance between testing, transparency, and privacy. If you did not request this email test, it's likely that someone accidentally mistyped their email address as yours. You can request your email address be blocked here: <a href=\"https://sendtestemail.com/block\">https://sendtestemail.com/block</a><br><br>\nThe IP address of the requester of this test email is: 103.175.29.77\n</html>","text":"If you are reading this your email address is working.\n\n\nThis is not spam or a solicitation. This email was sent to your email address because you, or someone else, requested a test email to be sent to this address. We work hard to ensure a balance between testing, transparency, and privacy. If you did not request this email test, it's likely that someone accidentally mistyped their email address as yours. You can request your email address be blocked here: https://sendtestemail.com/block\n\n\nThe IP address of the requester of this test email is: 103.175.29.77","attachments":[],"otp":null,"otpScore":null,"verificationLink":null}}
获取完整消息 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23572/get+full+message&email=Required&/message/=Required&id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
从邮箱名称中删除具有其ID的消息
Endpoint ID: 23573
DELETE https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23573/delete+a+message
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":false,"message":"Message not found or already deleted."}
删除消息 — 代码片段

curl --location --request DELETE 'https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23573/delete+a+message&email=Required&/message/=Required&id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
获取有关排队和被拒邮件箱数量的详细信息
Endpoint ID: 23574
GET https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23574/get+health+and+stats
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"success":true,"message":"Stats retrieved successfully.","data":{"queued":2997900,"denied":122209}}
获取健康和统计信息 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12433/temp+email+and+otp+testing+api/23574/get+health+and+stats' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 临时邮箱和一次性密码测试 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

🚀 企业版套餐

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

生成临时电子邮件地址以便于在线注册和一次性密码测试

临时邮箱和一次性密码测试 API FAQs

The primary function of the FreeCustom.Email API is to generate temporary email addresses for online registration and OTP testing, allowing users to receive one-time passwords and verification emails securely and anonymously.

Developers can use the FreeCustom.Email API to create disposable email accounts that can receive verification emails during the signup process, enabling them to test the entire flow without using personal email addresses.

The API can extract one-time passwords (OTPs), verification links, and other relevant information from incoming emails in real-time.

Yes, the FreeCustom.Email API is specifically designed to handle OTP-based authentication by allowing users to receive and extract OTPs from emails.

Common use cases include testing signup and login flows, handling OTP-based authentication, verifying password reset emails, and running end-to-end tests using automation tools.

The API supports standard email formats, allowing users to receive and parse emails in plain text or HTML.

The FreeCustom.Email API provides real-time inbox updates, allowing users to receive emails instantly as they arrive.

The benefits include enhanced privacy, reduced spam, simplified testing of email workflows, and the ability to automate email-based processes without using personal email accounts.

Yes, the direct API version supports attachment handling, allowing users to receive emails with attachments.

The core value proposition is to provide a reliable and user-friendly solution for generating temporary email addresses, enhancing privacy, and facilitating seamless testing of email workflows.

The API can be integrated into CI pipelines by automating the creation of temporary email accounts and extracting verification codes during automated tests.

The API returns data fields such as sender, subject, body, timestamp, and any extracted OTPs or links from the email.

Yes, the FreeCustom.Email API is ideal for use with testing frameworks like Playwright or Cypress for running end-to-end tests involving email verification.

The API is designed for developers with a focus on performance, simplicity, and reliable email infrastructure for testing and automation.

The API utilizes stable domains and optimized delivery mechanisms to ensure higher deliverability rates for incoming emails.

The direct API version offers features like automatic OTP extraction, verification link extraction, attachment support, and faster email delivery.

By providing temporary email addresses, the API allows users to bypass spam and protect their personal email addresses from exposure.

Users can create a temporary email address by making a simple API call, which generates a unique inbox for receiving emails.

Yes, the API can be used to receive and verify password reset emails, making it easier to test this functionality.

获取域名接口返回可用于创建临时电子邮件地址的可用免费域名列表 响应包括每个域名的名称 级别和任何相关标签

答案包括字段如“id”“发件人”“收件人”“主题”“日期”“是否有附件”和“otp”这些字段提供了有关每个检索到的电子邮件的基本细节

响应的数据以 JSON 格式构建,包括成功状态、一条消息以及一个包含特定电子邮件详细信息的“data”对象,如发件人、主题和内容

端点"删除消息"需要参数"id"以指定要从收件箱中删除的消息的唯一标识符

此端点提供有关排队和被拒绝邮件数量的统计信息,提供对邮件处理状态和交付潜在问题的洞察

用户可以解析返回的数据以提取相关信息,例如一次性密码或验证链接,从而实现电子邮件工作流程和身份验证过程的自动化测试

典型的用例包括获取特定电子邮件的详细信息以进行调试在测试期间检查电子邮件内容以及提取链接或OTP以用于自动化流程

该API采用机制以确保可靠的电子邮件交付和准确的数据检索,包括监控电子邮件处理和维护稳定的域名以提高交付率

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API