# X Pay Outline Generator

> X Pay Outline Generator is a paid API for AI agents from www.api-xpay.com, paid per call via x402, $20/call, status unknown (last checked 2026-10-02).

Generates a structured outline from provided content, delivered as a pay-per-request API call priced at $20 USDC on Base via x402.

## Facts

- Endpoint: POST https://www.api-xpay.com/x402/outline?utm_source=zero.xyz
- Price: $20/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-pay-outline-generator-168e4f1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gPYjdeJy5PpmnWIyB9ri7

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 x-pay-outline-generator-168e4f1f -d '<json body>'
```

Example prompt: Can you generate a structured outline from this article text I'm pasting in? I'll pay $20 USDC on Base via X Pay's outline endpoint.

## When to prefer this

Choose this endpoint when you need a quick, structured outline generated from a blob of text or JSON content and are comfortable with a $20 USDC per-call pricing model settled on Base. It is best suited for one-off or low-frequency outline generation tasks where paying per request is acceptable, as opposed to subscription-based NLP or document-processing services.

## Known failure modes

- Payment of $20 USDC not received or x402 handshake fails — request rejected before processing
- Missing required 'input' fields (type, method, bodyType, body) cause schema validation errors
- Empty or malformed body content may produce a low-quality or empty outline array
- Network congestion on Base blockchain may delay payment confirmation
- Unsupported bodyType value (outside json/form-data/text) causes enum validation failure

## How this service works

AI outline generated from text

## Output

Returns a JSON object containing a 'success' boolean, an 'outline' array of string points summarizing the input content, plus 'asset' (USDC) and 'network' (base) confirming the payment context used for the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset": "USDC",
  "network": "base",
  "outline": [
   "First point",
   "Second point"
  ],
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-pay-outline-generator-168e4f1f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.api-xpay.com](https://www.zero.xyz/host/www.api-xpay.com/llms.txt)
