# ApexAPI AI Email Generator

> ApexAPI AI Email Generator is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.152864/call, status unknown (last checked 2026-09-15).

Generates AI-written email content based on a provided query or prompt

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/email/generate
- Price: $0.152864/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-ai-email-generator-d771fc3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ayy4fpjfnBzunyIBh1P0u

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 apexapi-ai-email-generator-d771fc3c -d '<json body>'
```

Example prompt: Draft a professional follow-up email to a client named Sarah thanking her for yesterday's meeting and summarizing the next steps we agreed on — keeping the tone warm but concise.

## When to prefer this

Use this endpoint when an AI agent needs to generate email copy on demand without managing API keys, paying per call in USDC on Base via x402 protocol. Suitable for automating email drafting workflows at scale.

## Known failure modes

- Missing or empty query field returns error
- Vague or ambiguous query may produce generic or low-quality email output
- Payment failure in USDC on Base results in 402 response and no content returned
- Rate limits or server errors may return 500-level responses
- Query too long may be truncated or rejected

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns AI-generated email content — typically including a subject line and full email body — based on the user's query or prompt input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-ai-email-generator-d771fc3c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
