# ApexAPI AI Text Expand

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

Expands a short query or prompt into longer, more detailed AI-generated text content

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/expand
- Price: $0.199841/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-ai-text-expand-8d02c407
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8B_d4GnGR1AztKevgR2p1

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-text-expand-8d02c407 -d '<json body>'
```

Example prompt: Can you expand this short note into a full, detailed paragraph: 'renewable energy benefits cities'?

## When to prefer this

Use this endpoint when you need to quickly expand a short text seed, note, or prompt into a longer and more detailed AI-generated passage, without needing a full LLM integration. Especially useful when operating in a pay-per-call model with no API key setup required.

## Known failure modes

- Empty or missing query field returns a 400 or generic error response
- Overly vague query may produce generic or low-quality expanded text
- Payment failure (insufficient USDC) results in 402 Payment Required before content is returned
- Service downtime on Vercel deployment returns 503
- Rate limiting may occur under high load

## How this service works

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

## Output

The agent receives an expanded, elaborated version of the input query or prompt — a longer, more detailed piece of text generated by AI based on the seed 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-text-expand-8d02c407/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)
