# StableEmail Inbox Purchase

> StableEmail Inbox Purchase is a paid API for AI agents from stableemail.dev, paid per call via x402, $1/call, status unknown (last checked 2026-09-15).

Purchases a new email inbox on stableemail.dev for 30 days, optionally with a forwarding address, for $1 USDC

## Facts

- Endpoint: POST https://stableemail.dev/api/inbox/buy
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stableemail-fba52642
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hiLNwfzRkQD5_2OBORS5U

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stableemail-fba52642 -d '<json body>'
```

Example prompt: Buy me a new StableEmail inbox for 30 days and forward incoming messages to myaccount@gmail.com.

## When to prefer this

Use this endpoint when you need to programmatically provision a new email inbox on stableemail.dev, especially for automated workflows, burner addresses, or receiving emails without an existing address. Prefer this over the Topup endpoint (which renews an existing inbox) or the custom subdomain Buy endpoint (which is for custom domain purchases at $5).

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment not accepted
- Invalid forwarding address: malformed email provided for forwardTo
- Inbox creation conflict: address already taken
- Network timeout: upstream provisioning service unavailable
- Rate limiting: too many inbox purchases in a short window

## How this service works

Buy an inbox ($1, 30 days)

## Output

Returns the newly created inbox address on stableemail.dev, along with its expiry date, status, and any forwarding configuration applied. The inbox is active immediately and valid for 30 days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "username": {
   "type": "string",
   "allOf": [
    {
     "pattern": "^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"
    },
    {
     "pattern": "^(?!.*--)"
    }
   ]
  },
  "forwardTo": {
   "type": "string",
   "format": "email",
   "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableemail-fba52642/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableemail.dev](https://www.zero.xyz/host/stableemail.dev/llms.txt)
